Skip to content

Instantly share code, notes, and snippets.

@qqpann
Created October 30, 2019 19:30
Show Gist options
  • Save qqpann/322c81097678971c93c0c85af74a3466 to your computer and use it in GitHub Desktop.
Save qqpann/322c81097678971c93c0c85af74a3466 to your computer and use it in GitHub Desktop.

Revisions

  1. qqpann created this gist Oct 30, 2019.
    2 changes: 2 additions & 0 deletions currentfilepath.py
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    import os
    os.path.dirname(os.path.abspath(__file__))