Contact
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
sagemathinc
GitHub Repository: sagemathinc/cocalc
Path: blob/master/src/dev/laptop/util.py
Views: 286
1
import os, json
2
3
join = os.path.join
4
5
def cmd(s):
6
print(s)
7
if os.system(s):
8
raise RuntimeError
9
10
def chdir():
11
os.chdir(os.path.split(os.path.abspath(__file__))[0])
12
13