Message 1 of 6
How to pack a python script and execute externally?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
How to pack a python script and execute externally so that the user may not have direct access to the code. I tried
"import folderName" and later "reload(folderName)" the code is executing correctly. but my code creates UI and check the state of some UI elements, and I'm getting errors when using the UI. (cannot find Checkbox,textFields, etc) . the Code is working fine when executed directly from the script editor or shelf.But not when using "reload(folderName)".
Please help.