feat(core): 在线版ampy上传文件时首先获取工作路径
This commit is contained in:
6
common/templates/python/cwd.py
Normal file
6
common/templates/python/cwd.py
Normal file
@@ -0,0 +1,6 @@
|
||||
try:
|
||||
import os
|
||||
except ImportError:
|
||||
import uos as os
|
||||
|
||||
print(os.getcwd(), end='')
|
||||
Reference in New Issue
Block a user