Python Forum
program wanted: clean up pyc files
Thread Rating:
  • 3 Vote(s) - 2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
program wanted: clean up pyc files
#6
If you use git, a common practice (and the default for python on github) is to have .pyc and the __pycache__ folder in the .gitignore file, so the files are never added to source control. That way when it comes to distribution, those files are never packaged or included for other people. Depending on what you're doing, then, "getting rid" of the files could be as easy as pulling the repo into a new folder.
Reply


Messages In This Thread
program wanted: clean up pyc files - by Skaperen - Jun-13-2017, 06:08 AM
RE: program wanted: clean up pyc files - by wavic - Jun-13-2017, 06:38 AM
RE: program wanted: clean up pyc files - by Larz60+ - Jun-13-2017, 07:31 AM
RE: program wanted: clean up pyc files - by nilamo - Jun-13-2017, 05:10 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  program wanted for Posix Skaperen 4 741 May-18-2024, 06:21 PM
Last Post: Skaperen
  program wanted in python Skaperen 2 2,829 Aug-07-2018, 12:05 AM
Last Post: Skaperen
  program wanted: diff that ignores numbers Skaperen 0 1,995 Jun-16-2018, 02:05 AM
Last Post: Skaperen

Forum Jump:

User Panel Messages

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