Python for Scientists - 0 views
Amazon.com: The Definitive Guide to Django: Web Development Done Right: Adrian Holovaty... - 0 views
-
The Definitive Guide to Django: Web Development Done Right (Paperback)
tinypy :: home - 0 views
-
tinypy is a minimalist implementation of python in 64k of code
trentm.com » projects » cmdln.py - 0 views
Notes on using Vim with Python - 0 views
-
aracter instead of spaces because it makes it easier when pressing BACKSPACE or DELETE, since if the indent is using spaces it will take 4 keystrokes to delete the indent. Using this setting, however, makes VIM see multiple space characters as tabstops, and so does the right thing and will delete four spaces (assuming 4 is your setting).
py vs pyc - 0 views
-
When running "python test.py" the interpreter will first precompile the test.py source file, and then execute it. When running "python test.pyc", the interpreter will go straight to the execution of the script.
SWIG problems with gcc and Cygwin? - 0 views
-
try $ gcc -I/usr/include/python2.4 -L/lib/python2.4/config --shared example.c example_wrap.c -lpython2.4 -o _example.dll
The Queue module - 0 views
SwigWiki: SwigFaqDLLUsingCygwin - 0 views
Python Package Index : Contextual 0.7a1.dev - 0 views
-
Replace globals with context-safe variables and services
PyLinda: PyLinda - Distributed Computing Made Easy - 0 views
-
Linda is an widely studied distributed computing environment, centered around the notion of a tuple space. A tuple space is a bag (also called a multi-set) of tuples. A tuple is an ordered, typed chunk of data. Tuple spaces exist independently of processes in the system, and the data placed into a tuple space also exist independently. See "Generative communication in Linda" (1985) and "Multiple tuple spaces in Linda" both by David Gelernter for more information on Linda.
Global Variables + Threads - 0 views
psychotic - accelerate python code - 0 views
-
sychotic is an innovative optimizing compiler for Python code. It has unique features, the most important of which is that it breaks through the ConstantTimeBarrier. It is very easy to use and has an interface similar to that of the popular Psyco project. Below, you can see a usage example. You can also learn about HowItWorks, the ProjectHistory and KnownIssues. You can also browse the easy-to-understand source especially the alysis.py analyzer module and the dingo.py runtime bootstrap. There is an introductory screencast available (less than 5 minutes long). Usage
spitfire - Google Code - 0 views
amix.dk - Scripting Gmail - 0 views
Re: Python in Excel - 0 views
-
You can use Microsoft Script Control. If you have the win32 extensions of python, you can use python in place of vb in this control -open the VBA script editor - In menus/Tools/References add Microsoft Script Control -Make a new module and declare a new MsScriptControl.ScriptControl Global sc as new MsScriptControl.ScriptControl -Initialize the language attibute with python - Note that you and users of your document must have python and its win32 extensions installed. Activestate python distribustion include it. You can put sc.language="python" in the routine Workbook_Open() Now you can import python modules using ExecuteStatement method of the control in vba and have results from python functions with eval method. One interesting thing is that you can pass an object to the control with AddObject method and have python manipulate it. And so on..
-
Global sc As New MSScriptControl.ScriptControl Public Function os_getcwd() sc.Language = "python" sc.ExecuteStatement ("import os") os_getcwd = sc.Eval("os.getcwd()") End Function With this you can set your Excel formula to =os_getcwd() For me it returns "C:\Documents and Settings\Administrator\My Documents", which I needed to know at the time so I didn't have to screw around with the ever annoying pythonpath. You can put the first two lines of the function in the Workbook_Open hook, but I don't know where that is. I hope to use more Python in Excel soon. Hmm, actually, I suppose you can put those first two lines of the function after the Global declaration as well. I know just about zero VBScript and didn't get a chance to do anything else beyond proof of concept yet. I figured I would write something dynamic which allowed more transparent access to Python, maybe allowing formula like =py("os.getcwd()"), etc.
difference between classmethod and staticmethod in Python2.2 - 0 views
-
Use a staticmethod when you know which class you want to access as you are writing the code.
-
Use a classmethod if you have a class hierarchy and want the method to operate on the actual class used in the call rather than the class where it was defined:
xPyUnit -- python unit testing - 0 views
« First
‹ Previous
101 - 120 of 552
Next ›
Last »
Showing 20▼ items per page