I love this ! <| sep |> Forked lightning has an advantage in that you can play it earlier . <| sep |> I believe you can use this , unless I ' m not understanding the question correctly . import os dirpath os . path . dirnameos . path . realpathfile # folder name of this particular file where this command is executed print os . path . joindirpath , '.', ' path ', ' to ', ' folder ', ' file . py ' dirpath '. pathtofolderfile . py ' OR dirpath '. pathtofolderfile . py ' You can also do thisAlternatively , if you want your current working directory you can do the following . import os cwd os . getcwd <| sep |> We ' re not getting past Cowboys are Back . <| sep |> Honestly , it ' s one of those things where your unease is what causes you to struggle . As you become more confident it gets easier and easier until it ' s not even something your consciously aware of . Like walking .