How to get the full path and directory of a Python script itself?

In a Python script, how to get the full path and directory of the Python script itself?

asked Nov 3, 2017 by anonymous

Please log in or register to answer this question.

Copyright © SysTutorials. User contributions licensed under cc-wiki with attribution required.
Hosted on Dreamhost

...