LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 09-11-2003, 04:52 AM   #1
davholla
Member
 
Registered: Jun 2003
Location: London
Distribution: Linux Mint 13 Maya
Posts: 729

Rep: Reputation: 32
Question Python program to critisce SWT automatically


I am learning Python from http://www.honors.montana.edu/~jjc/e...t/node15.html.
Unfortunately I live in a country with a vandalised public transport system and every day I am delayed by this. I would like to know if it is possible with python to create a program that automatically fills in a form on a web page, so that it automatically chooses today's date and then prints comments like 'late again'.
Can anyone give me any pointers on how to do this ??


Then instead of having to fill in the form every day (which I do not have time to do), I could just run the program.
It is partly an exercise in programming and partly to save time, but mostly because SWT = So where is the train ????.

This is the web page, I would like to fill in every day.
http://www.southwesttrains.co.uk/con...cecomments.asp
 
Old 09-11-2003, 07:53 AM   #2
Strike
Member
 
Registered: Jun 2001
Location: Houston, TX, USA
Distribution: Debian
Posts: 569

Rep: Reputation: 31
Eh, this is kind of a spammy thing to be doing, don't you think? If it's late every day, just note that. Or submit it manually every day and write different things so that it's obvious that you aren't submitting it programmatically.

But, at any rate, there's a 3rd party library for HTML forms out there:
http://wwwsearch.sourceforge.net/ClientForm/
 
Old 09-11-2003, 09:12 AM   #3
davholla
Member
 
Registered: Jun 2003
Location: London
Distribution: Linux Mint 13 Maya
Posts: 729

Original Poster
Rep: Reputation: 32
Strike
Thanks for the link.
it is not spam if it is a something that is justified, it is not different than a bank sending letters to people who overdrawn.
I notice that you are from Houston, believe me if you had the transport there that we do here, you would understand why someone feels like that.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Way to automatically restart a program? AlexV Linux - General 1 04-13-2005 05:23 PM
i need to write a program it has to execute automatically ykirankumar Linux - Software 5 08-31-2004 12:34 AM
automatically startup a program after booting? caicai Linux - Software 7 08-12-2004 07:16 AM
Making a Python program gamehack Programming 0 04-11-2004 05:12 AM
Starting program automatically as logging in adcripps Linux - Newbie 9 03-13-2002 12:47 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration