Ask Your Question

zionnahi's profile - activity

2022-06-06 00:49:20 +0200 received badge  Famous Question (source)
2020-09-26 09:46:44 +0200 received badge  Popular Question (source)
2020-09-26 09:46:44 +0200 received badge  Notable Question (source)
2016-04-11 13:11:35 +0200 received badge  Student (source)
2016-04-11 13:04:55 +0200 asked a question get path of sage script

Hi, I'm trying to cerate a sage script that will print it's location on the disk. the most of classical python solutions for this problem, like using the inspect module, doesn't work - they return me the location of temporary files (the files inside the directory which returned by the function tmp_dir() ) instead of the directory of the source file.

Thank you!