Handy snippets – Python without the .pyc cruft

2 thoughts on “Handy snippets – Python without the .pyc cruft”

    1. This is true – this setting does force Python to recreate the these pyc files each time.

      That said, it’s a pretty fast process, and I haven’t noticed a delay compared with when I did end up littering my projects with them.

      It’s also removed a whole class of bug I’ve encountered before when the pyc files have been left in a project, but the original .py files were deleted. For me, this alone is worth any speed hit the generation may incur.

      Liked by 1 person

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s