Skip to content

Instantly share code, notes, and snippets.

@GitHub30
Last active August 10, 2022 10:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GitHub30/dae1b257c93d8315ea38554c9554a2ad to your computer and use it in GitHub Desktop.
Save GitHub30/dae1b257c93d8315ea38554c9554a2ad to your computer and use it in GitHub Desktop.
import os
import pathlib
import datetime
os.chdir(os.path.dirname(os.path.realpath(__file__)))
pathlib.Path(datetime.datetime.now().strftime("%Y%m%dT%H%M%S")).touch()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment