Skip to main content

Home/ Groups/ Python Programming
reckoner reckoner

pydot - Google Code - 0 views

  •  
    most of this seems built into networkx
reckoner reckoner

A python refactoring library and IDE. - 0 views

  • A python refactoring library and IDE. The IDE uses the library for providing features like refactorings and coding assists.
  •  
    A python refactoring library and IDE. The IDE uses the library for providing features like refactorings and coding assists.
reckoner reckoner

WhatsNew083 - IPython - 0 views

  •  
    check integration with Leo and winpdb
reckoner reckoner

Nabble - Python Graph Theory sources - 0 views

  • For drawing you can use pygraphviz (also available at networkx.lanl.gov) or the built-in drawing tools.
reckoner reckoner

g :: Dynamic Function Signatures - 0 views

  •  
    explains *args and **kwargs
reckoner reckoner

PyNGL (pronounced "pingle") is a Python - 0 views

  • PyNGL (pronounced "pingle") is a Python language module used to visualize scientific data, with an emphasis on high quality 2D visualizations. A working knowledge of Python is assumed.
reckoner reckoner

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:
reckoner reckoner

pyeuclid - Google Code - 0 views

  • Vector, matrix and quaternion classes for use with 2D and 3D games and graphics applications. Compatible with Pygame.
reckoner reckoner

Pexpect - Noah.org - 0 views

  • Pexpect does not currently work on the standard Windows Python
reckoner reckoner

stdout in pyscripter - PyScripter | Google Groups - 0 views

  • PyScripter and most Python IDEs redirect sys.stdout.  Also GUI apps like PyScripter have no standard output.  What you need to do is PyObject *f = PySys_GetObject("stdout") and then use PyFile_WriteString for writing to the sys.stdout. This is what Python itself is doing and I think this is the best way
  •  
    PyScripter and most Python IDEs redirect sys.stdout. Also GUI apps like PyScripter have no standard output. What you need to do is PyObject *f = PySys_GetObject("stdout") and then use PyFile_WriteString for writing to the sys.stdout. This is what Python itself is doing and I think this is the best way for printing from C extensions anyway.
reckoner reckoner

pylize: Table of contents - 0 views

  • pylize is a Python script that makes the creation of on-screen presentations a matter of a few minutes. It generates a template master document, which you can edit with your favourite text or HTML editor. The master document is then processed by pylize to generate HTML files for every slide plus a file for the table of contents. You can view the presentation with any CSS-capable webbrowser.
reckoner reckoner

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.
« First ‹ Previous 301 - 320 of 350 Next › Last »
Showing 20 items per page