Re: Need compile python code

2006-09-25 Thread mistral
Piet van Oostrum писал(а): MonkeeSage [EMAIL PROTECTED] (M) wrote: M mistral wrote: No, something is wrong there. what I need is just compile one python file which will generate html page, with parameters: exec python -O $0 $@ just need simple way do this(script is correct), i

Need compile python code

2006-09-23 Thread mistral
Need compile python code, source is in html and starts with parameters: #!/bin/sh - exec python -O $0 $@ I have installed ActivePython for windows. -- http://mail.python.org/mailman/listinfo/python-list

Re: Need compile python code

2006-09-23 Thread mistral
Bjoern Schliessmann писал(а): mistral wrote: Need compile python code, source is in html and starts with parameters: Excuse me? #!/bin/sh - exec python -O $0 $@ Is the line break intended? I have installed ActivePython for windows. What exactly do you want? Python code

Re: Need compile python code

2006-09-23 Thread mistral
Bjoern Schliessmann писал(а): mistral wrote: Need compile python code, source is in html and starts with parameters: Excuse me? #!/bin/sh - exec python -O $0 $@ Is the line break intended? I have installed ActivePython for windows. What exactly do you want? Python code

Re: Need compile python code

2006-09-23 Thread mistral
MonkeeSage писал(а): mistral wrote: Just to comple python ode - it creates html page, nothing more, nothing else.. Just generate one html page. I *think* this is what you want: python -O -m py_compile file.py python file.pyo See: http://docs.python.org/lib/module-pycompile.html

Re: Need compile python code

2006-09-23 Thread mistral
MonkeeSage wrote: mistral wrote: this not work for me, show compilation error. Is there simple way compile pythone file? its absolutely unclear with command line. Just show me exact command I need run(from python interactive shell?) OK... # cd to where the file.py is $ cd /some/dir

Re: Need compile python code

2006-09-23 Thread mistral
MonkeeSage писал(а): mistral wrote: No, something is wrong there. what I need is just compile one python file which will generate html page, with parameters: exec python -O $0 $@ just need simple way do this(script is correct), i will not set any patches anywhere, can i do

Re: How to run Python file?

2006-09-03 Thread mistral
Steve Holden писал(а): mistral wrote: I have installed ActivePython http://www.activestate.com/Products/ActivePython/ How I can run Python file, test.py? Sheesh, you must have had ten replies and nobody bothered to point you to the frequently-asked questions ... kids today! http

How to run Python file?

2006-09-02 Thread mistral
I have installed ActivePython http://www.activestate.com/Products/ActivePython/ How I can run Python file, test.py? -- http://mail.python.org/mailman/listinfo/python-list

Re: How to run Python file?

2006-09-02 Thread mistral
Rick Zantow писал(а): Ant [EMAIL PROTECTED] wrote in news:1157218244.750434.36220 @h48g2000cwc.googlegroups.com: zefciu wrote: Pontus Ekberg wrote: ... $ python test.py or $ ./test.py (if test.py is executable) Thats if you use un*x. If you word under windows, the first

Re: Python for Windows

2006-08-31 Thread mistral
Larry Bates писал(а): mistral wrote: hg писал(а): Grant Edwards wrote: Will the msi installer modify registry or other system files? Does it possible install Python not touching registry and system files? You can make your own installer to install Python, and make sure

Re: Python for Windows

2006-08-31 Thread mistral
Larry Bates писал(а): mistral wrote: hg писал(а): Grant Edwards wrote: Will the msi installer modify registry or other system files? Does it possible install Python not touching registry and system files? You can make your own installer to install Python, and make sure

Re: Python for Windows

2006-08-30 Thread mistral
installer modifies at least the .py .pyw file association. hg not sure how to make custom installer to install Python on windows. Is there some ready one? If msi installer modify just pair of keys, and not touch system files, then OK. Have it uninstaller also? mistral

Python for Windows

2006-08-29 Thread mistral
I need compile code written in Python. I use Windows 98SE. Should I download Python for Windows installer? http://www.python.org/ftp/python/2.4.3/python-2.4.3.msi Will the msi installer modify registry or other system files? Does it possible install Python not touching registry and system files?