MCPcopy Create free account
hub / github.com/geekcomputers/Python / main

Function main

pscheck.py:52–56  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50
51
52def main():
53 if os.name == "posix": # Unix/Linux/MacOS/BSD/etc
54 ps() # Call the function
55 elif os.name in ("nt", "dos", "ce"): # if the OS is windows
56 print("You need to be on Linux or Unix to run this")
57
58
59if __name__ == "__main__":

Callers 1

pscheck.pyFile · 0.70

Calls 1

psFunction · 0.85

Tested by

no test coverage detected