MCPcopy Create free account
hub / github.com/brain-workshop/brainworkshop / main_is_frozen

Function main_is_frozen

brainworkshop.py:153–154  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

151
152# some functions to assist in path determination
153def main_is_frozen():
154 return hasattr(sys, "frozen") # py2exe
155def get_main_dir():
156 if main_is_frozen():
157 return os.path.dirname(sys.executable)

Callers 1

get_main_dirFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected