开发者

Making a change in a module then reloading it

I am adjusting the wxPython DragImage demo, and I have a main file that i execute which imports the DragImage demo... I want to make changes to the DragImage demo then reload the file, to view the changes. For example, i want to insert someth开发者_如何学Cing in a list on the DragImage, then save the DragImage, then when reloading it on my main file the changes appear... how can that happen please help me my project is due in 8 hrs...


Use the builtin function reload(modulename)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜