Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Change icons of system
#1
so im trying to write a python script that changes the icons of all the files in a spceific folder, how should i go about making this because i dint find any resource regarding this online
Reply
#2
Python can't do anything like this by itself. You'll need a module to call the API for whatever operating system you're using. For instance in Windows 10 you need access to the WinAPI so there are modules like win32api and pywin32 that expose all the classes in WinAPI.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Python icons in Ubuntu KatManDEW 4 73,214 Aug-12-2022, 08:33 AM
Last Post: rob101
  file icons have Firefox icon Ricvourn 4 1,430 Mar-31-2022, 11:40 PM
Last Post: Ricvourn
  Difference between os.system("clear") and os.system("cls") chmsrohit 7 16,608 Jan-11-2021, 06:30 PM
Last Post: ykumar34
  How could i change the python interpreter path of os.system() 12019202386 2 2,550 Sep-02-2020, 06:58 AM
Last Post: DeaD_EyE
Question Difference between Python's os.system and Perl's system command Agile741 13 6,801 Dec-02-2019, 04:41 PM
Last Post: Agile741
  OpenCV - Distinguishing between three icons kainev 2 1,962 Jul-30-2019, 11:57 PM
Last Post: kainev

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020