Skip to content

Instantly share code, notes, and snippets.

@csytan
csytan / paths.py
Created August 5, 2015 20:33
Python Module Paths
import os
# Current working directory
print(os.getcwd())
# Module path (relative to cwd)
print(os.path.dirname(__file__))
# Abs path of the current module's directory
@csytan
csytan / keybase.md
Created September 22, 2015 16:46
keybase.md

Keybase proof

I hereby claim:

  • I am csytan on github.
  • I am csytan (https://keybase.io/csytan) on keybase.
  • I have a public key whose fingerprint is 25AC 27CE 8135 97E3 2BA5 AF1C 72AB B26C B7B4 8C6F

To claim this, I am signing this object: