There is no such thing as a cgi form or cgi window. Your cgi script runs
when the user requests a Web page, generates a page, and then ends. At that
point, python has stopped running. If your want the client's browser window to
close, that's not a python problem. If you want to invalidate the
Python help.
I use the following code in a cgi file
to give the client a download link to
download a file.
---
print %s % ('a href = Setup.zip Down
Load /a')
A click on Down Load opens a pop up browser
window which allows the user to choose where
to download the Setup.zip file, then
On 08/23/2013 09:13 AM, inq1ltd wrote:
Python help,
I am running iMacros from
linux/firefox and doing most of
what I want.
But, there are times when I want to
do something of the net and then
back to the iMacros script.
Are there any projects out
Python help,
I am running iMacros from linux/firefox
and doing most of what I want.
But, there are times when I want to do
something of the net and then back
to the iMacros script.
Are there any projects out there
that will connect python to imacros,
something on the order of pexpect?
python help;
I am using pexpect to open my program.
Can someone tell me how to get data to appear in
an entry field.
After pexpect opens the my program I have tried to use
send, sendline, and write functions to try to put data into
the program's entry field.
However, the data is going to the
pexpect looks simple to use. Please check this example
http://www.pythonforbeginners.com/systems-programming/how-to-use-the-
pexpect
-module-in-python/
python help;
I am using pexpect to open my program.
Can someone tell me how to get data to appear in
an entry field.
After
On Saturday, August 03, 2013 10:57:32 AM Aseem Bansal wrote:
I was writing a Python script for getting the user stats of a
website(Specifically codereview.stackexchange). I wanted to store the
stats
in a database. I found Python3's sqlite3 library. I found that I needed sql
commands for using
python help,
I can log into a web site with pexpect but
what I want to do is pipe the opening window
to a file.
Logging into the site opens the site window
but I can't get the window to a file.
I can't use screen capture I need to get
pexpect to pipe it to a txt file.
Any help will be
On Tuesday, June 18, 2013 06:49:31 PM Johannes Bauer wrote:
Hi group,
I've tracked down a bug in my application to a rather strange
phaenomenon: os.putenv() doesn't seem to have any effect on my platform
(x86-64 Gentoo Linux, Python 3.2.3):
os.getenv(PATH)
On Sunday, June 16, 2013 12:06:08 PM C. N. Desrosiers wrote:
Hi,
I'm planning to buy a Macbook Air and I want to use it as a sort of alarm.
I'd like to write a program that boots my computer at a specific time,
loads iTunes, and starts playing a podcast. Is this sort of thing possible
in
Your responses helped.
The mailg for linux gave me information I didn't expect.
regards,
jol
On Friday, May 31, 2013 08:55:12 AM Cameron Simpson wrote:
On 30May2013 15:48, inq1ltd inq1...@inqvista.com wrote:
| python help,
Please do not make new discussions by replying to an old
python help,
I've tried this code which I got from:
http://www.tutorialspoint.com/python/python_sending_email.htm
I build this file and run it
---//---
#!/usr/bin/python
import smtplib
sender = inq1...@inqvista.com
receivers = [webmas...@inqvista.com]
message = From: jol
To: webmaster
On Thursday, May 16, 2013 07:17:57 PM Jean-Michel Pichavant wrote:
- Original Message -
I am using python 2.7 to write
the cgi file and my web server is using python 2.5.
The answer lies in your question.
JM
I appreciate the response,
However, My question was wrong.
My web server is using python 2.5.
My cgi file is trying to open a shelve.
I xxx out some of the path below.
I am trying to find out if this
error is caused because I am using python 2.7 to write
the cgi file and my web server is using python 2.5.
I would appreciate a confirmation of this.
On Friday, April 05, 2013 08:10:53 AM Matt wrote:
On Friday, April 5, 2013 10:04:49 AM UTC-4, Matt wrote:
I am using sys to give the effect that I am typing letters slowly.
Basically what I want to have happen is have it show Loading..
with the word loading appearing instantly and then
On Saturday, February 23, 2013 02:50:43 PM Rex Macey wrote:
Here is one general and one specific question about creating GUIs using
tkinter from a newbie. I have created a class in which to hold some data.
I want to create a GUI to get the data from the user and store it in the
object.
On Wednesday, February 13, 2013 11:47:36 AM DaGeek247 wrote:
I am using the windows api feature getasynckeystate() to check the status of
every key pressed; like this;
#always checking
while(True):
#iterate through list of ascii codes
for num in range(0,127):
#if ascii
On Saturday, February 09, 2013 03:27:16 PM Morten Engvoldsen wrote:
Hi Team,
I Have saved my output in .doc file and want to format the output with
*Start the File
Some data here
***End of File*
Can
On Monday, January 14, 2013 11:09:28 PM llanitedave wrote:
I'm trying to get an application working in Python 2.7 and wx.Python which
contains an embedded sqlite3 file. There are a few tables with foreign
keys defined. In looking at the sqlite3 documentation, it says
Assuming the library
On Sunday, December 23, 2012 06:34:41 PM Chris Angelico wrote:
On Sun, Dec 23, 2012 at 6:28 PM, Tim Roberts t...@probo.com wrote:
Duncan Booth duncan.booth@invalid.invalid wrote:
In this year's Christmas Raffle at work I won a 'party-in-a-box'
including USB fairy lights.
They sit boringly
On Thursday, December 20, 2012 03:52:39 PM Johannes Bauer wrote:
Hi group,
I've run into a problem using Python3.2 and sqlite3 db access that I
can't quite wrap my head around. I'm pretty sure there's a bug in my
program, but I can't see where. Help is greatly appreciated. I've
created a
On Thursday, December 06, 2012 03:15:42 PM Terry Reedy
wrote:
On 12/6/2012 1:15 PM, inq1ltd wrote:
On Thursday, December 06, 2012 05:19:38 PM John
Gordon wrote:
In mailman.567.1354808057.29569.python-
l...@python.org inq1ltd
inq1...@inqvista.com writes:
Right now I need some way
On Thursday, December 06, 2012 01:52:15 AM Hans Mulder
wrote:
On 5/12/12 22:44:21, inq1ltd wrote:
I can connect to and download a web page,
html code, and save it to a file. If connected
to the web, I can change the settings on KWrite
to open the file and navigate the page,
(just like
On Thursday, December 06, 2012 05:19:38 PM John Gordon
wrote:
In mailman.567.1354808057.29569.python-l...@python.org
inq1ltd inq1...@inqvista.com writes:
Right now I need some way to display
15 to 20 lines of html in its own window or
as part of my screen.
Could you open a shell window
Python help.
I can connect to and download a web page,
html code, and save it to a file. If connected
to the web, I can use KWrite to open the file
and navigate the page.
I want to view the html file without using a browser
or KWrite as I do now.
In other words I need a mini, simple
On Wednesday, December 05, 2012 03:36:04 PM David
Hutto wrote:
I think this is the snippe that you want:
david@david-desktop:~$ python
Python 2.7.3 (default, Aug 1 2012, 05:16:07)
[GCC 4.6.3] on linux2
Type help, copyright, credits or license for more
information.
import urlliib
On Wednesday, December 05, 2012 10:15:58 PM Hans
Mulder wrote:
On 5/12/12 20:36:04, inq1ltd wrote:
Python help.
?This is not a Python question.
I can connect to and download a web page,
html code, and save it to a file. If connected
to the web, I can use KWrite to open
Python help.
I can connect to and download a web page,
html code, and save it to a file. If connected
to the web, I can change the settings on KWrite
to open the file and navigate the page,
(just like a browser does).
I want to view the html file without using a browser
or KWrite as I do
On Sunday, September 23, 2012 10:44:30 AM giuseppe.amatu...@gmail.com wrote:
Hi
Have two dict() of the same length and i want print them to a common file.
a={1: 1, 2: 2, 3: 3}
b={1: 11, 2: 22, 3: 33}
in order to obtain
1 1 1 11
2 2 2 22
3 3 3 33
I tried
output =
On Tuesday, July 17, 2012 06:55:21 AM Sarbjit singh wrote:
I am having a problem configuring a listbox widget such that the selection
remains highlighted even while it is set (programmatically) to the
DISABLED
state. Below code shows the problem:
from Tkinter import *
master = Tk()
py help,
Can someone let me know where to get
help with inno setup.
I get an error;
Can't find _thinter
Sounds like a path problem.
Everything works until it is packaged with
inno v5.5.
jd
--
http://mail.python.org/mailman/listinfo/python-list
On Thursday, June 21, 2012 04:19:41 PM Rotwang wrote:
Hi all, I'm using Python 2.7.2 on Windows 7 and a module I've written is
acting strangely. I can reproduce the behaviour in question with the
following:
--- begin bugtest.py ---
import threading, Tkinter, os, pickle
try this;
from
On Thursday, June 21, 2012 11:46:30 AM inq1ltd wrote:
On Thursday, June 21, 2012 04:19:41 PM Rotwang wrote:
Hi all, I'm using Python 2.7.2 on Windows 7 and a module I've written is
acting strangely. I can reproduce the behaviour in question with the
following:
--- begin bugtest.py
On Friday, June 22, 2012 08:30:16 AM Chris Angelico wrote:
On Fri, Jun 22, 2012 at 1:34 AM, inq1ltd inq1...@inqvista.com wrote:
Can't find _thinter
Is this supposed to be _tkinter?
Try copying and pasting the entire error message, including traceback.
That often helps. At the moment, I
I don't know the first thing about this math problem however,
if I were to code this I might try ;
except ZeroDivisionError:
assert w = -1
rather than;
except ZeroDivisionError:
assert w == -1
jimonlinux
On Sunday, February 12, 2012 06:41:20 AM Steven D'Aprano
Check your code in that module for open parenthesis something like below..
Most likely your code is looking for the closing parenthesis.
Start at the bottom and move up.
pink = str(self.RecordKey[2] --missing )
jimonlinux
On Fri, 03 Feb 2012 14:14:57 -0600, Andrew Berg wrote:
It's
36 matches
Mail list logo