Skip to content

Instantly share code, notes, and snippets.

@eumesy
Created May 21, 2019 01:59
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 eumesy/3ed2a5118995a727c0297e63cf2374e3 to your computer and use it in GitHub Desktop.
Save eumesy/3ed2a5118995a727c0297e63cf2374e3 to your computer and use it in GitHub Desktop.
infile_fullpath = os.path.abspath(args.path_infile)
infile_dir = os.path.dirname(infile_fullpath)
infile_filename = os.path.basename(infile_fullpath)
infile_filename_without_extension, infile_filename_extension = os.path.splitext(infile_filename)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment