Beginner Needs Help Compiling/Running Module

Peter Jakubowicz pfjakub at earthlink.net
Sun Apr 25 19:35:48 EDT 1999


Hi,
This is a very rudimentary questions; I just started trying to learn
Python last night w/ Learning Python. What I need to know is how to
compile and run a simple module. I am running WinPython 1.5.2 under
Win 98. I have placed C:\program files\python\lib in my path. I am
saving my modules in a directory called pythonsource. When I am in
that directory I try to invoke python by typing python MyModule.py and
an command line arguments, as in Java, but apparently I cannot do
this. Alternatively, when I have the python window console open I
cannot get at my module at all, tho I can invoke the python
interpreter. If someone could either point me tostep-by-step
instructions for compiling and running the equivalent of a Hello World
module using WinPython, or tell me all the steps, I would greatly
appreciate it. TIA





More information about the Python-list mailing list