Re: Configuraion to run pyhton script on ubuntu 12.04

2013-07-29 Thread Jaiky
Problem solved regarding cgi configuration on ubuntu 12.04 lts Concept:-) file used:-) /etc/apache2/httpd.conf /etc/apache2/sites-available/default steps done 1:-) in /etc/apache2/httpd.conf added line

Re: Configuraion to run pyhton script on ubuntu 12.04

2013-07-28 Thread Jaiky
Sir i already tried this "Alias" concept I did the following steps === Step 1: added "ScriptAlias /cgi-bin/ /var/www/cgi-bin/" in /etc/apache2/sites-available/default ==

Re: Configuraion to run pyhton script on ubuntu 12.04

2013-07-28 Thread Pierre Jaury
Jaiky writes: > want to run a python script which contains simple form of html on firefox > browser , but dont know what should be the configuration on ubuntu 12.04 to > run this script i.e cgi configuration > > > > My code is > ubder > in /var/www/cgi-bin/forms__.py > > > > #!/usr/bin/en

Configuraion to run pyhton script on ubuntu 12.04

2013-07-28 Thread Jaiky
want to run a python script which contains simple form of html on firefox browser , but dont know what should be the configuration on ubuntu 12.04 to run this script i.e cgi configuration My code is ubder in /var/www/cgi-bin/forms__.py #!/usr/bin/env python import webapp2 form ="""

Re: Copy & Paste in a Dos box (was: Pyhton script to call another program)

2009-05-06 Thread Dave Angel
Mensanator wrote: On May 6, 3:46 pm, Dave Angel wrote: Mensanator wrote: And when prompted, do "(.) modify shortcut that started this window" After which, you can dispense with the menus (except when pasting), just select the text and hit . To paste into a DOS bo

Re: Copy & Paste in a Dos box (was: Pyhton script to call another program)

2009-05-06 Thread Mensanator
On May 6, 3:46 pm, Dave Angel wrote: > Mensanator wrote: > > > > > And when prompted, do "(.) modify shortcut that started this window" > > > After which, you can dispense with the menus (except when pasting), > > just select the text and hit . > > To paste into a DOS box, once Quick Edit is enab

Re: Copy & Paste in a Dos box (was: Pyhton script to call another program)

2009-05-06 Thread Dave Angel
Mensanator wrote: And when prompted, do "(.) modify shortcut that started this window" After which, you can dispense with the menus (except when pasting), just select the text and hit . To paste into a DOS box, once Quick Edit is enabled, use Right-Click. They keystrokes will be sent t

Re: Copy & Paste in a Dos box (was: Pyhton script to call another program)

2009-05-06 Thread Dave Angel
Tim Chase wrote: > for windows this works: (can't cut and paste from a dos box!###%*&!!!) Depending on how it was spawned, you can either right-click in the window and choose Mark/Paste (when marking, use to terminate the selection; and selections are blockwise rectangular rather than line

Re: Copy & Paste in a Dos box (was: Pyhton script to call another program)

2009-05-06 Thread Mensanator
On May 6, 12:54 pm, Tim Chase wrote: > > for windows this works: > > (can't cut and paste from a dos box!###%*&!!!) > > Depending on how it was spawned, you can either right-click in > the window and choose Mark/Paste (when marking, use to > terminate the selection; and selections are blockwise r

Re: Copy & Paste in a Dos box (was: Pyhton script to call another program)

2009-05-06 Thread Grant Edwards
On 2009-05-06, Shawn Milochik wrote: >>> That way, you can basically use PuTTY to shell into your >>> Windows box. >> >> Better yet, set up sshd in your Cygwin install, and then use >> whatever terminal you normally use on your Linux/MacOS box to >> ssh into the Cygwin box. ??When run that way, w

Re: Copy & Paste in a Dos box (was: Pyhton script to call another program)

2009-05-06 Thread Shawn Milochik
On Wed, May 6, 2009 at 2:39 PM, Grant Edwards wrote: > On 2009-05-06, Shawn Milochik wrote: > >> I know I'm coming to the conversation late, but here's what I do*: >> >> 1. Use Cygwin. (http://www.cygwin.com/) >> 2. Use PuttyCYG (http://code.google.com/p/puttycyg/) >> >> That way, you can basical

Re: Copy & Paste in a Dos box (was: Pyhton script to call another program)

2009-05-06 Thread Grant Edwards
On 2009-05-06, Shawn Milochik wrote: > I know I'm coming to the conversation late, but here's what I do*: > > 1. Use Cygwin. (http://www.cygwin.com/) > 2. Use PuttyCYG (http://code.google.com/p/puttycyg/) > > That way, you can basically use PuTTY to shell into your > Windows box. Better yet, set

Re: Copy & Paste in a Dos box (was: Pyhton script to call another program)

2009-05-06 Thread Shawn Milochik
On Wed, May 6, 2009 at 1:54 PM, Tim Chase wrote: >> for windows this works: >> (can't cut and paste from a dos box!###%*&!!!) > > Depending on how it was spawned, you can either right-click in the window > and choose Mark/Paste (when marking, use to terminate the selection; > and selections are b

Re: Pyhton script to call another program

2009-05-06 Thread David
Il Wed, 06 May 2009 11:31:58 -0400, Ben Keshet ha scritto: > Hi, > > I am trying to write a simple python script to manipulate files and call > other programs. I have a program installed (rocs) which I run using > cygwin on my XP (but is not in python). Can I run the py

Re: Copy & Paste in a Dos box (was: Pyhton script to call another program)

2009-05-06 Thread Tim Chase
for windows this works: (can't cut and paste from a dos box!###%*&!!!) Depending on how it was spawned, you can either right-click in the window and choose Mark/Paste (when marking, use to terminate the selection; and selections are blockwise rectangular rather than linewise or characterwise

Re: Pyhton script to call another program

2009-05-06 Thread norseman
Ben Keshet wrote: Hi, I am trying to write a simple python script to manipulate files and call other programs. I have a program installed (rocs) which I run using cygwin on my XP (but is not in python). Can I run the pyhton script and then call the other program in the same script? For

Re: Pyhton script to call another program

2009-05-06 Thread Diez B. Roggisch
Ben Keshet wrote: > Hi, > > I am trying to write a simple python script to manipulate files and call > other programs. I have a program installed (rocs) which I run using > cygwin on my XP (but is not in python). Can I run the pyhton script and > then call the other program

Pyhton script to call another program

2009-05-06 Thread Ben Keshet
Hi, I am trying to write a simple python script to manipulate files and call other programs. I have a program installed (rocs) which I run using cygwin on my XP (but is not in python). Can I run the pyhton script and then call the other program in the same script? For example: Python Code

Re: Pyhton script

2007-02-11 Thread Jonathan Curran
e on the Linux server, some actions: Copy, gzip, mv etc... > 3- to use a config file for the parameters: server name, login, password... > > Regards; > -- > View this message in context: > http://www.nabble.com/Pyhton-script-tf3209528.html#a8912801 Sent from the > Python - pyth

Re: Pyhton script

2007-02-11 Thread Jonathan Curran
e on the Linux server, some actions: Copy, gzip, mv etc... > 3- to use a config file for the parameters: server name, login, password... > > Regards; > -- > View this message in context: > http://www.nabble.com/Pyhton-script-tf3209528.html#a8912801 Sent from the > Python - python-lis

Pyhton script

2007-02-11 Thread soussou97
for the parameters: server name, login, password... Regards; -- View this message in context: http://www.nabble.com/Pyhton-script-tf3209528.html#a8912801 Sent from the Python - python-list mailing list archive at Nabble.com. -- http://mail.python.org/mailman/listinfo/python-list

Capturing gdb output in pyhton script using gdb -batch -x arguments

2006-03-23 Thread Surendra
Hi Friends, I am in need of gudance for getting ouput from the gdb objfile -batch -x gdb batch_command_file But I am not able to see messages on display. So kindly guide me if u have any experience about it. batch_command_file: list *0x840230fd echo bla bla... -- http://mail.python.org/mai