Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > leftover pyc files

Reply
Thread Tools

leftover pyc files

 
 
Andrea Crotti
Guest
Posts: n/a
 
      11-02-2011
In our current setup, the script in charge to run our applications also
scan all the directories and if it finds any "pyc" file without the
corresponding
module, it removes it.

This was done because when you rename something, the old "pyc" remains
there and can cause problems.

Is it the only way possible to scan through and remove all of them or is
there a smarter way?
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: leftover pyc files Andrea Crotti Python 21 11-04-2011 11:15 PM
Leftover thriftiness from you film days? John Navas Digital Photography 69 01-24-2008 02:36 AM
WIn XP leftover fax seems to try dialing out Ike Milligan Computer Support 2 05-13-2004 09:53 PM
popen, popen3, and leftover processes Hal Fulton Ruby 9 04-28-2004 07:51 AM
Location of bytecode files (pyc) Rim Python 8 09-05-2003 09:47 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57