[Tutor] Pythonw question...

D-Man dsh8290@rit.edu
Wed, 30 May 2001 10:07:16 -0400


On Wed, May 30, 2001 at 09:16:45AM -0400, Ryan Booz wrote:
| Hey gang...
| 
| I have a PYW program (Tkinter based) that I want to run when students
| log in.  Problem is, they can't even run it normally, so putting it in
| the startup folder won't do any good.  I can log into any computer and
| run it so I know that PythonW is theoretically set up correctly.  But
| when anyone else logs into the same computer, they can't run it.  They
| do have permissions to run it and execute it.  I run a Samba server for
| our Windows machines.  Any thoughts?  When anyone does try to execute
| it, the computer appears to do something (I get an hourglass..) but then
| nothing.  Oh yeah, I'm running 1.52.

It could be that you have different settings in your account than
everyone else (NT/2k, right?).  If Python was installed as a user,
then only that user will get the file associations.  If it is
installed as 'administrator' then I certainly hope (but don't have
enough experience to verify ;-)) that all users will get the new file
associations.  Can you log in as someone else (ie a student) and see
what running a simple "Hello World" python program does?  (ie 'print
"hello World"', no Tkinter yet)  Do the .py and .pyw files have the
proper icon in the students' account?  Check under (in explorer)
Tools->Folder Options, then "File Types" and look for python in the
list.

Where is python installed?  On a local disk or on a samba share?  If
it is on the samba share, do other users have access to it?

HTH,
-D