sys.path[0] #源文件父路径
sys.argv[0] #源文件路径
os.getcwd() #获取当前工作目录路径
shutil.copytree(from_dir, to_dir) #拷贝目录,to_dir的路径必须不存在,此处的处理方式是如果这个路径文件已存在,删除后新建
-
Notifications
You must be signed in to change notification settings - Fork 0
gaojihao/Template-based-code-generation
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Auto generation code based code template use python
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published