help with Installer?
lbrannma at cablespeed.com
Sun Feb 23 21:56:24 CET 2003
I'm running Python 2.2.2 under Redhat 8.0.
"Lance" <lbrannma at cablespeed.com> wrote in message
news:v5icpe118sbj14 at corp.supernews.com...
> Hi All,
> I'm using McMillan's Installer (www.mcmillan-inc.net).
> The top of my file imports a few modules (webbrowser, fnmatch, sys, and
> I receive a syntax error on the first line (import webbrowser) when
> python Build.py myfile.spec
> However, line 1 is probably not the problem. I created a simple test file,
> foo.py, with the same import statements and a print 'hello world' as the
> last and only executed line in the file, after the import statements. I
> no problems creating the executable using McMillan's Installer.
> I have only two ideas. First, my program uses command line arguments.
> some dummy arguments need to be supplied when running Makespec.py. Second,
> the file was copied from a DOS machine and has the DOS CR\LF at the ends
> the lines.
> Any help will be greatly appreciated.
More information about the Python-list