[Tutor] Newbie!!!!!!
Bob Roher
shiska@swbell.net
Tue, 24 Sep 2002 00:51:05 -0500
This is a multi-part message in MIME format.
--Boundary_(ID_eJl7rdIBJ2Pnpb/Q/UhKpg)
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 7BIT
> Hi there!
> As my heading says, I am new to programming.
>
> Well my question is this: I have started writing some small
> programs in Python, with the help of a few tutorials. Now, in
> order to get them to run I must first save them as .py files??? I
> have been doing this but I don't know how to run the programs to
> see if they are working out or not.
>
> So I have come to a standstill, as there is no point inputting
> programs if I cannot test them.
>
> Can anyone help me?
>
> I would be very appreciative.
>
> Thanks.
Hi Phil. Have you downloaded and installed Python from python.org yet? You'll need the interpreter to run the program. If so, then you can run the program from a command line like such: c:\python22\python program.py I believe you'll need to be in the directory that python is installed in to do that or pointing to that directory. You might also want to check out IDLE, you can open a new window for each program or function you are working on and test them in the Python shell as you write. You should have IDLE installed if you have downloaded Python, it comes with it. (This advice applies to the Windows version, I don't have Linux installed so you'll have to muddle through the instructions if you're using that OS)
--Boundary_(ID_eJl7rdIBJ2Pnpb/Q/UhKpg)
Content-type: text/html; charset=iso-8859-1
Content-transfer-encoding: 7BIT
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>> Hi there!<BR>> As my heading says, I am new to
programming.<BR>> <BR>> Well my question is this: I have started writing
some small<BR>> programs in Python, with the help of a few tutorials.
Now, in<BR>> order to get them to run I must first save them as .py
files??? I<BR>> have been doing this but I don't know how to run the
programs to<BR>> see if they are working out or not.
<BR>> <BR>> So I have come to a standstill, as there is no point
inputting<BR>> programs if I cannot test them. <BR>> <BR>> Can anyone
help me?<BR>> <BR>> I would be very appreciative.<BR>> <BR>>
Thanks.<BR><BR><FONT face=Arial size=2>Hi Phil. Have you downloaded and
installed Python from python.org yet? You'll need the interpreter to run
the program. If so, then you can run the program from a command line like
such: c:\python22\python program.py I believe you'll need to be in
the directory that python is installed in to do that or pointing to that
directory. You might also want to check out IDLE, you can open a new
window for each program or function you are working on and test them in the
Python shell as you write. You should have IDLE installed if you have
downloaded Python, it comes with it. (This advice applies to the Windows
version, I don't have Linux installed so you'll have to muddle through the
instructions if you're using that OS)</FONT></BODY></HTML>
--Boundary_(ID_eJl7rdIBJ2Pnpb/Q/UhKpg)--