Execute Python Scripts

2015-10-14 Thread Cai Gengyang
So I am going through this article on Python for newbies ---http://askpython.com/execute-python-scripts/ Managed to create a file with these contents : 1 #!/usr/bin/env python3 2 3 print('hello world') and saved it as hello.py Next step, I wanted to open the 'command line' so I can type

Re: Execute Python Scripts

2015-10-14 Thread paul.hermeneutic
> Where do I find the "command line" ? Welcome to Python. Starting a command shell depends on which operating system you are running. If you are on Microsoft Windows, choose the Start button, then type "cmd" into the edit control, then press Enter. --

Re: Execute Python Scripts

2015-10-14 Thread Cai Gengyang
y, October 15, 2015 at 1:47:50 AM UTC+8, Ian wrote: > On Wed, Oct 14, 2015 at 11:04 AM, Cai Gengyang <gengyang...@gmail.com> wrote: > > So I am going through this article on Python for newbies > > ---http://askpython.com/execute-python-scripts/ > > That looks like

Re: Execute Python Scripts

2015-10-14 Thread Cai Gengyang
On Thursday, October 15, 2015 at 1:18:27 AM UTC+8, paul.her...@gmail.com wrote: > > Where do I find the "command line" ? > > Welcome to Python. > > Starting a command shell depends on which operating system you are running. > > If you are on Microsoft Windows, choose the Start button, then type

Re: Execute Python Scripts

2015-10-14 Thread Ian Kelly
On Wed, Oct 14, 2015 at 11:04 AM, Cai Gengyang <gengyang...@gmail.com> wrote: > So I am going through this article on Python for newbies > ---http://askpython.com/execute-python-scripts/ That looks like a terrible resource. There are plenty of tutorials and books out there that are a

Re: Execute Python Scripts

2015-10-14 Thread Larry Hudson via Python-list
On 10/14/2015 10:04 AM, Cai Gengyang wrote: So I am going through this article on Python for newbies ---http://askpython.com/execute-python-scripts/ Managed to create a file with these contents : 1 #!/usr/bin/env python3 2 3 print('hello world') and saved it as hello.py You did write

Configuring apache to execute python scripts using mod_python handler

2010-02-12 Thread Juan Carlos Rodriguez
I configured apache to execute python scripts using mod_python handler. I followed below mentioned steps to configure apache. 1. In http.conf I added Directory D:/softwares/Apache2.2/htdocs AddHandler mod_python .py PythonHandler mptest PythonDebug On /Directory 2. Then I added

Re: Configuring apache to execute python scripts using mod_python handler

2010-02-12 Thread Kev Dwyer
On Fri, 12 Feb 2010 13:08:59 -0400, Juan Carlos Rodriguez wrote: Hello Juan Carlos, You're better off raising this on the mod_python list, however... Python is looking for a module called mptest, and cannot find it. Have you created the mptest.py module? (It should contain the handler function

Configuring apache to execute python scripts using mod_python handler

2007-08-13 Thread joe jacob
I configured apache to execute python scripts using mod_python handler. I followed below mentioned steps to configure apache. 1. In http.conf I added Directory D:/softwares/Apache2.2/htdocs AddHandler mod_python .py PythonHandler mptest PythonDebug On /Directory 2. Then I added

Re: Configuring apache to execute python scripts using mod_python handler

2007-08-13 Thread [EMAIL PROTECTED]
under a Windows environment. Regards Jeffrey van Aswegen joe jacob wrote: I configured apache to execute python scripts using mod_python handler. I followed below mentioned steps to configure apache. 1. In http.conf I added Directory D:/softwares/Apache2.2/htdocs AddHandler mod_python

Re: Configuring apache to execute python scripts using mod_python handler

2007-08-13 Thread 7stud
On Aug 13, 5:16 am, joe jacob [EMAIL PROTECTED] wrote: I configured apache to execute python scripts using mod_python handler. I followed below mentioned steps to configure apache. 1. In http.conf I added Directory D:/softwares/Apache2.2/htdocs AddHandler mod_python .py PythonHandler

Re: Configuring apache to execute python scripts using mod_python handler

2007-08-13 Thread joe jacob
On Aug 13, 9:44 pm, 7stud [EMAIL PROTECTED] wrote: On Aug 13, 5:16 am, joe jacob [EMAIL PROTECTED] wrote: I configured apache to execute python scripts using mod_python handler. I followed below mentioned steps to configure apache. 1. In http.conf I added Directory D:/softwares