Advertisement
lamorfini

Untitled

Jan 26th, 2022
689
251 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     def getscript_path(self):
  2.         """
  3.        Recupera percorso file dalla cartella del file python.
  4.        es:
  5.        self.immagine1 = tk.PhotoImage(file="" + getScriptPath() + "/img/bissio.gif")
  6.        """
  7.         return os.path.dirname(os.path.realpath(sys.argv[0]))
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement