195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
|
else:
print("# Error: file not found.")
def createFolder (sp):
"make a folder if it doesn’t exist; don’t change anything if it exists"
if not os.path.exists(sp):
os.mkdir(sp)
class Dictionnaire:
def __init__ (self, version, name):
# Dictionary
self.sName = name
self.lEntry = []
|
|
|
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
|
else:
print("# Error: file not found.")
def createFolder (sp):
"make a folder if it doesn’t exist; don’t change anything if it exists"
if not os.path.exists(sp):
os.makedirs(sp, exist_ok=True)
class Dictionnaire:
def __init__ (self, version, name):
# Dictionary
self.sName = name
self.lEntry = []
|