NumTut view of greece

Gary Wessle phddas at yahoo.com
Sun May 7 12:02:21 EDT 2006


Hi

not sure if this would be the right place to ask this question!
using the shell prompt 
:~$ python
Python 2.3.5 (#2, Mar  6 2006, 10:12:24) 
[GCC 4.0.3 20060304 (prerelease) (Debian 4.0.2-10)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import Numeric
>>> from NumTut import *
>>> view(greece)
>>> 
shows a photo of the street in a tk window.

but if I have this file
**************** tut.py ****************
#!/usr/bin/env python
import Numeric
from NumTut import *
view(greece)
print "done"
****************************************************************
and then type
$ ./tut.py
done
$
and not tk view of greece.

thanks



More information about the Python-list mailing list