• Here is how to get file/folder creation time in Python.
creationTime = os.path.getctime(path_to_file_or_folder)
timeConvFromCTime = dt.datetime.strptime(time.ctime(), "%a %b %d %H:%M:%S %Y")

print(creationTime)
print(timeConvFromCTim
  • How can find and erase a part of string. For example "hello_world" and if I want only the "world" part I can just do this in Python.
thisIsString = "hello_world"
thisIsString.replace("hello_", "")
print(thisIsString)