初始化提交
This commit is contained in:
10
common/templates/python/mkfile.py
Normal file
10
common/templates/python/mkfile.py
Normal file
@@ -0,0 +1,10 @@
|
||||
try:
|
||||
import os
|
||||
except ImportError:
|
||||
import uos as os
|
||||
|
||||
try:
|
||||
os.stat('{{&path}}')
|
||||
except OSError:
|
||||
f = open('{{&path}}', 'w')
|
||||
f.close()
|
||||
Reference in New Issue
Block a user