News for hackers. Stuff that matters.
Re:Dstat project ended due to RedHat replacing it with its o... by user5994461 on Sunday May 26, 2019 @08:36AM (#20014603)

    os.path.realpath(__file__)
That will give you the absolute path of the current python script, dereferencing any symlink and the .. notation.
Re:Dstat project ended due to RedHat replacing it with its o... by mehrdadn on Sunday May 26, 2019 @08:41AM (#20014617)
It will also be insecure due to a race condition.