Menu

#2 Programmers Features

open
nobody
None
5
2003-12-29
2003-12-29
mike foord
No

PaperPad looks very professional.
It could be very useful for people (like myself) looking
for a plugin text editor for their own software.

The following features would help this -

Changing the way the program is 'run' to enable the
class to be imported :

change :
theproggie = TextEditor()

to :
if __name__ == "__main__":
theproggie = TextEditor()

When calling TextEditor() allow the programmer to pass
in as parameters - the current working directory and
some text to edit. Also a widget to pass as a parent
frame for Tkinter (??) so that it can be opened under
the current mainloop

Discussion


Log in to post a comment.

MongoDB Logo MongoDB