I've got a question. How can a program get its own location? For example, I've got a script ("script.py") on a path ("C:\Programs\script.py"). I want a function, which gives me the path. Like the following:
scriptdic() ==> "C:/programs/"
Thanks for coming answers.