Python is easy?

Armin Steinhoff a-steinhoff at
Wed Aug 14 16:27:41 CEST 2002

jdriller at (Jonathan Driller) wrote in message news:<a8cff9fb.0208121848.2b3b6fb2 at>...
> A Python evangelist keeps telling me I need to try Python as it is so
> much quicker and easier to develop in then Java. Bottom line is I
> think the ease of learning is dependent on the quality of your
> teacher/support than wholly on the language.
> I keep getting this error using ActiveStates win2k install 2.2:
> >>>

No ... type in execfile('')


> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
> NameError: name 'test1' is not defined
> I am trying to run which is in
> d:\Python22\Lib\site-packages\jds:
> import urlopen
> page = urlopen('')
> page.readline()
> I figure it is my pythonpath but wrote this path.bat to set it:
> path d:\Python22;%PATH%
> set PYTHONPATH=.;d:\Python22\Lib;d:\Python22\Lib\lib-tk;d:\Python22\Lib\site-packages\jds;d:\Python22\Lib\site-packages
> python
> Can anyone assist here? My evangelist can't figure it out...

More information about the Python-list mailing list