Here's my problem. I wx application that works great until I close it (leaving the idle editing session open) and then restart it. Then parts of the program see variables that should be things like 'wx.panel' as PyDeadObj .... Once I restart the idle session and re-run the program it works fine. I've tried reload(wx), I've tried deleting all wx variables from sys.modules ... Any more ideas?
ihatehippies
11
Junior Poster
Recommended Answers
Jump to PostAre you running this from the Python shell?
Jump to PostHere's my problem. I wx application that works great until I close it (leaving the idle editing session open) and then restart it.
Your real problem is that you're using IDLE.
Your best bet is to switch to a better-featured (not to mention better-designed) IDE and run your scripts …
All 5 Replies
vegaseat
1,735
DaniWeb's Hypocrite
Team Colleague
ihatehippies
11
Junior Poster
jlm699
320
Veteran Poster
vegaseat
1,735
DaniWeb's Hypocrite
Team Colleague
ihatehippies
11
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.