Dec-07-2024, 01:22 AM
Looking through some of the examples at https://github.com/flatplanet/Intro-To-T...ube-Course , tried running one and
As there are a few hundred Python scripts, I don't want to be changing the code. Can Python look for a file based on the PATH variable, or maybe a mount command to point , or some sort of remapping involved ?
C;/ equates to ??
Quote:$ python3 listbox.py
Traceback (most recent call last):
File "/home/***********/Downloads/python/flatplanet/Intro-To-TKinter-Youtube-Course/Intro-To-TKinter-Youtube-Course-master/listbox.py", line 5, in <module>
root.iconbitmap('c:/gui/codemy.ico')
File "/usr/lib/python3.12/tkinter/__init__.py", line 2155, in wm_iconbitmap
return self.tk.call('wm', 'iconbitmap', self._w, bitmap)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
As there are a few hundred Python scripts, I don't want to be changing the code. Can Python look for a file based on the PATH variable, or maybe a mount command to point , or some sort of remapping involved ?
C;/ equates to ??