title: How do you refer to the python script that you are programming inside the code without filenames? (read the description)
body: <p>I do not know how else to describe the question in words, so let me show you what I mean.
  I have a file called &quot;pugs.py&quot;. I am making it for other people so they might change the name for it, but I need the file to be able to refer to itself inside of the code. I could make sure it is always name, but I don't want that. So, how would I exactly refer to my &quot;pugs.py&quot; without saying &quot;pugs.py&quot;, but instead something like &quot;os.thisfile&quot;?</p>