Get path to current script in Python
import os os . path . dirname ( os . path . realpath ( __file__ )) Source
Random bits of info that I want to be able to locate in the future. Might be tech related, sports, photography, whatever. The name? Combination of photography and soccer.