Get name of current script in Python

Get name of current script in Python

Im making an attempt to acquire the sanction of the Python book that is presently moving I person a book known as foopy and Id similar to bash thing similar