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 PostI noticed before that if you work in the shell with some IDEs, then you seem to retain old variables. Check the global dictionary in the shell. I would say avoid the shell with any programs larger than 2 lines.
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.