Although rather trivial, but every time I am still looking it up:
import os dir = os.path.dirname(os.path.realpath(__file__))
A byte stream of thoughts.
Although rather trivial, but every time I am still looking it up:
import os dir = os.path.dirname(os.path.realpath(__file__))