The following archives are provided as a public service to the community. Opinions archived here do not necessarily represent the opinions of Open for Business or its contributors.
Nathan, Are you editing the file under Windows? I don't remember *exactly* which way it goes, but the line-break character(s) at the end of the first line must be a certain arrangement (i.e., [LF][CR]/[CR][LF]). Whichever way it's supposed to be, it's the opposite in Windows. That's IIRC. -- @ndrew andrew at dothedrew.net http://www.dothedrew.net "No amount of genius can overcome a preoccupation with detail." > -----Original Message----- > From: Christiansource-bounces at ofb.biz > [mailto:Christiansource-bounces at ofb.biz] On Behalf Of N. Thompson > Sent: Tuesday, October 05, 2004 6:57 PM > To: CS-FSLUG > Subject: [CS-FSLUG] Python problem > > I've got the following program I wrote from examples I saw > and it works fine in Windows as well as in Linux if I > specially invoke the interpreter with "python > ./hellowxpython.py" but if I simply try to run > "./hellowxpython.py" I get an error that looks like this: > : No such file or directory > > The first line in my python script is #!/usr/bin/env python > so I don't know why its having this issue. > > A copy of the source code is included, I'm running SUSE Linux > 9.1 Professional and I have python 2.3 along with wxGTK. > > >
| Home |