Direct .pyc files to different directories when .py script is run

<>

This question already has an answer here:

Answers


You cannot. .pyc files can only be written to the same location as the source file.

Python 3.2 moved to a __pycache__ subdirectory instead. Neither option is configurable.

At best you can disable bytecode files being written by either removing write access to the directory, setting the -B command line option when you run Python, or setting the PYTHONDONTWRITEBYTECODE environment variable.


Need Your Help

Can i change font on facebook comment box plugin at run time

javascript iphone css facebook uiwebview

> i would like to change the font name and color on facebook comment box plugin at runtime in uiwebview. I have to use javascript ? if yes what kind of script code should i use. Please ...

.Net Opposite of GraphicsPath.Widen()

c# open-source graphicspath

I need the opposite of the GraphicsPath.Widen() method in .Net:

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.