We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 744199e commit 505a7dcCopy full SHA for 505a7dc
garlicsim_wx/garlicsim_wx/widgets/workspace_widgets/shell.py
@@ -36,4 +36,9 @@ def __init__(self, frame):
36
locals=locals_for_shell)
37
WorkspaceWidget.__init__(self, frame)
38
39
+ # Obscure: This causes the `site` module to add `help` and a few others
40
+ # to `__builtin__`. For some reason `site` isn't imported when frozen
41
+ # with py2exe, so here we make sure to import it.
42
+ import site; del site
43
+
44
0 commit comments