Last active
November 26, 2018 12:48
-
-
Save peakBreaker/d8e4bdb2dc39de5c319eb645289d716b to your computer and use it in GitHub Desktop.
Gets the filename, no extention from the script running this code.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Get filename, whcih can be used for script identification | |
filename_no_ext = path.splitext(path.basename(__file__))[0] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment