Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #2549

using python to post data to a form

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <tyler@tysdomain.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.003
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'subject:using': 0.04; 'python?': 0.07; 'python': 0.07; 'be:': 0.09; 'subject:python': 0.15; 'from:addr:tyler': 0.16; 'from:addr:tysdomain.com': 0.16; 'from:name:littlefield, tyler': 0.16; 'hello:': 0.16; 'message- id:@tysdomain.com': 0.16; 'received:69.164': 0.16; 'received:69.164.206': 0.16; 'received:69.164.206.65': 0.16; 'received:tds-solutions.net': 0.16; 'reply-to:addr:tyler': 0.16; 'reply-to:addr:tysdomain.com': 0.16; 'subject:form': 0.16; 'thanks,': 0.17; 'processed': 0.19; 'says': 0.25; 'subject:data': 0.26; 'like.': 0.29; 'subject:post': 0.31; 'to:addr:python-list': 0.32; 'uses': 0.34; 'received:192.168.1': 0.34; 'received:192': 0.34; 'difference': 0.35; 'header:User-Agent:1': 0.35; 'data': 0.37; 'received:192.168': 0.37; 'some': 0.37; 'but': 0.38; 'so,': 0.38; 'to:addr:python.org': 0.39; 'how': 0.39; 'form,': 0.40; 'would': 0.40; 'fed': 0.68; 'reply-to:no real name:2**0': 0.72; 'header:Reply-To:1': 0.72; 'url:php': 0.79
X-Spam-Checker-Version SpamAssassin 3.3.1 (2010-03-16) on wuff
X-Spam-Level
X-Spam-Status No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable version=3.3.1
Date Sun, 03 Apr 2011 23:36:58 -0600
From "Littlefield, Tyler" <tyler@tysdomain.com>
User-Agent Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.15) Gecko/20110303 Lightning/1.0b2 Thunderbird/3.1.9
MIME-Version 1.0
To python-list@python.org
Subject using python to post data to a form
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
Reply-To tyler@tysdomain.com
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.182.1301895797.2990.python-list@python.org> (permalink)
Lines 13
NNTP-Posting-Host 82.94.164.166
X-Trace 1301895797 news.xs4all.nl 81484 [::ffff:82.94.164.166]:48218
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:2549

Show key headers only | View raw


Hello:
I have some data that needs to be fed through a html form to get 
validated and processed and the like. How can I use python to send data 
through that form, given a specific url? the form says it uses post, but 
I"m not really sure what the difference is. would it just be:
http://mysite.com/bla.php?foo=bar&bar=foo?
If so, how do I do that with python?

-- 

Thanks,
Ty

Back to comp.lang.python | Previous | Next | Find similar


Thread

using python to post data to a form "Littlefield, Tyler" <tyler@tysdomain.com> - 2011-04-03 23:36 -0600

csiph-web