New guy help with setup

star.public at star.public at
Fri Jul 13 03:06:14 CEST 2007

On Jul 12, 5:55 pm, meg99 <glen.e.mett... at> wrote:

> got the >>> prompt

Type fun things at the >>> prompt, such as:

>>> print 'Some Obligatroy Greeting Like "Hello World."'


>>> [x*5 for x in [1,2,3,4,5]]


>>> import os
>>> os.listdir('.')
>>> [os.isdir(x) for x in os.listdir('.')]

Also, you should now be able to make .py files in a text editor and
run them by double-clicking them. (Hint: If you're just doing print
statements and such, stick a raw_input() at the end of the file so
that the window stays around when you double-click it ...)

But all in all, the .configrue[1] stuff is only for unix-like systems
and stuff like cygwin, windows dosn't usally need to worry about it.

[1] I saw this typo, then decided to leave it as some kind of scary
obscure bad zork pun thing.


More information about the Python-list mailing list