Python Quick Hacks and Codes

Facebook Twitter
Adjust settings for matplotlib using rc and matplotlibrc « scienceoss.com
I have a working Python 2.6 code using matplotlib, and would like to get a working exe out of it. I am having problems getting this accomplished: Initially I got an error for missing MSCVP90.dll, but I downloaded that and extracted the .dll to the working directory and that error went away. I had some errors regarding a missing tkagg module, but I added that to the exceptions and edited the matplotlibrc file to default to WXAgg instead and that went away. Py2Exe and MatPlotLib: Plot won't Appear Py2Exe and MatPlotLib: Plot won't Appear
How to create Windows executable (.exe) from Python script How to create Windows executable (.exe) from Python script Python is a simple and powerful language for scripting and even application development. Various GUI packages available for Python makes it suitable for developing full fledged applications in python. Ok that is fine, but ever thought of creating an executable file from the python script you wrote? This seems to be a nice idea, there are many reasons why!
Importing Python Modules January 07, 1999 | Updated February 02, 2001 | Fredrik Lundh Introduction The import and from-import statements are a constant cause of serious confusion for newcomers to Python. Importing Python Modules
A function is a block of organized, reusable code that is used to perform a single, related action. Functions provide better modularity for your application and a high degree of code reusing. As you already know, Python gives you many built-in functions like print(), etc. but you can also create your own functions. Python - Functions Python - Functions
numpy

Math with Python

Graphing

Data Munging

Python Tools

Python for Scientific Computing

python