This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author bob.ippolito
Recipients
Date 2004-02-26.18:11:57
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=139309

The problem is that it doesn't know that the path TUI is important when 
you give it a mainprogram; mainprogram can be any path.  When it does 
modulefinder on your mainprogram, it sees it as __main__, not as 
TUI.Main, as it should.

If you follow the standard unix way of doing scripts, which is writing a 
script "tui" that imports TUI.Main and calls whatever needs to be called, 
then everything will work just fine.  That's what mainprogram is.
History
Date User Action Args
2008-01-20 09:59:34adminlinkissue900514 messages
2008-01-20 09:59:34admincreate