mirror of
https://github.com/Faraphel/Atlas-Install.git
synced 2025-07-03 03:08:29 +02:00
11 lines
No EOL
360 B
Python
11 lines
No EOL
360 B
Python
get_filename = lambda file: ".".join(file.split(".")[:-1])
|
|
get_nodir = lambda file: file.split("/")[-1].split("\\")[-1]
|
|
get_extension = lambda file: file.split(".")[-1]
|
|
|
|
CREATE_NO_WINDOW = 0x08000000
|
|
VERSION = "0.7"
|
|
|
|
def filecopy(src, dst):
|
|
with open(src, "rb") as f1:
|
|
with open(dst, "wb") as f2:
|
|
f2.write(f1.read()) # could be buffered |