The sys.argv list contains as the first item the name of the file that was ran, e.g. ['main.py'] . This is a simple way, but you have to do ...
確定! 回上一頁