Newline at EOF Removal

2006-01-08 Thread Alex Nordhus
I am looking for a way to strip the blank line and the empty newline at the end of the text file. I can get the blank lines removed from the file but it always leaves the end line (which is blank) as a newline. My code is here and it works but leaves the newline at the end of the file. How do I

Need a little parse help

2005-05-10 Thread Alex Nordhus
) if len(words) = 2: # print (words[1]) outputfile.write(words[1]) When I use just print it prints out fine. Each on a dffrent line just the way I want it. But writing the file its all on one line. How do I get the data to goto new lines in the new file? Alex Nordhus Copy

F.readline

2005-05-05 Thread Alex Nordhus
Having some trouble with f.readline and python. Specifically looking for the command to tell it to go and read a specific line. Alex Nordhus Keystroke clipboard Copy and Paste ! http://www.pasteaway.com -- http://mail.python.org/mailman/listinfo/python-list

Please Hlp with msg: The C++ part of the StaticText object has been deleted

2005-04-12 Thread Alex Nordhus
Alex Nordhus Simple Solutions Network/Internet Administrator [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

The C++ part of the .. Has been deleted, wsTaskBarIcon

2005-04-12 Thread Alex Nordhus
) app.MainLoop() from wxPython.wx import * import sys import os import wx import tkMessageBox import commands #= class MyDialog(wxDialog): def __init__(self): wxDialog.__init__(self, NULL, -1, Pasteaway v1.0 Alex