0.0.76
This commit is contained in:
parent
f361b75ce5
commit
fe66db52b8
@ -1,7 +1,7 @@
|
|||||||
[metadata]
|
[metadata]
|
||||||
# replace with your username:
|
# replace with your username:
|
||||||
name = guan
|
name = guan
|
||||||
version = 0.0.75
|
version = 0.0.76
|
||||||
author = guanjihuan
|
author = guanjihuan
|
||||||
author_email = guanjihuan@163.com
|
author_email = guanjihuan@163.com
|
||||||
description = An open source python package
|
description = An open source python package
|
||||||
|
@ -1621,7 +1621,7 @@ def change_directory_by_replacement(current_key_word='codes', new_key_word='data
|
|||||||
import os
|
import os
|
||||||
code_path = os.getcwd()
|
code_path = os.getcwd()
|
||||||
data_path = code_path.replace('\\', '/')
|
data_path = code_path.replace('\\', '/')
|
||||||
data_path = code_path.replace(current_key_word, new_key_word)
|
data_path = data_path.replace(current_key_word, new_key_word)
|
||||||
if os.path.exists(data_path) == False:
|
if os.path.exists(data_path) == False:
|
||||||
os.makedirs(data_path)
|
os.makedirs(data_path)
|
||||||
os.chdir(data_path)
|
os.chdir(data_path)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user