Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 09-29-2007, 02:15 AM   #1
Bob Jones
Registered: Mar 2007
Posts: 32

Rep: Reputation: 15
Running script (probably python)

I am trying to run a script from the python cookbook - it can be found here:

I am running Fedora Core 6; kernel I got a copy of the script and saved it to my computer, but I do not have the directory named in teh file:


Does anyone know how to set up and run the script so the program runs automatically . . . even if I am not at home?

Much appreciated.

Old 09-29-2007, 02:20 AM   #2
Bob Jones
Registered: Mar 2007
Posts: 32

Original Poster
Rep: Reputation: 15
This is the error that I get when I run:

! python filename

[root@localhost checkin]# ! python southwest
Traceback (most recent call last):
File "southwest", line 509, in ?
File "southwest", line 444, in main
departure = getFlightTimes(retrieve_url, confirmation, firstname, lastname)
File "southwest", line 289, in getFlightTimes
to_arrive_time = ts[1]
IndexError: list index out of range
[root@localhost checkin]#

Any suggestions? Is this an error with the code?


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
Running Python Script in UBUNTU Session Manager warnetgm Linux - Newbie 2 12-06-2006 04:08 PM
Python program not running from cron spiri Linux - Software 7 03-09-2006 03:02 AM
python cgi script and premature end of script headers Neruocomp Programming 1 07-28-2005 12:43 PM
Running from Python a browser fiomba Linux - Software 0 11-19-2004 02:24 PM
python script LinuxLala Programming 14 04-07-2004 07:19 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:21 AM.

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