pymel - Google Code - 0 views
-
Python in Maya Done RightPymel makes python scripting with Maya work the way it should. Maya's command module is a direct translation of mel commands into python commands. The result is a very awkward and unpythonic syntax which does not take advantage of python's strengths -- particulary, a flexible, object-oriented design. Pymel builds on the cmds module by organizing many of its commands into a class hierarchy, and by customizing them to operate in a more succinct and intuitive way. Powerful new classes
Most efficient unzip - inverse of zip? - 0 views
-
I'm declaring this one to be the winner! (Not that my opinion counts for anythin, but I'm just impressed: a1, b1 = zip(*ab) (or a1, b1 = apply(zip,ab)?) BTW: this process isn't 100% inverse. It has the side effect of turning lists or strings (non-tuple sequences) into tuples, if they are supplied as the original sequences.
unit step (heaviside) function in sympy? - sympy | Google Groups - 0 views
-
On Mon, May 5, 2008 at 8:22 PM, Reckoner <recko...@gmail.com> wrote: > is there a unit step (heaviside) function in sympy? > I need to work a conditional into a symbolic expression. We have sign which is basically the same thing:
Using lpsolve from Python - 0 views
Allen's Weblog: PyMeta: How and Why - 0 views
-
One of the main difficulties I've had using parser generators has been the difficulty of figuring out why a grammar didn't work. Fixing shift-reduce and reduce-reduce conflicts seemed like voodoo to me, and though I slightly understand better how to fix such things now it's still a different mode of thinking that I don't want to try to get into when I just want to parse something simple. PyMeta uses a variation on the Parsing Expression Grammar (PEG) approach to parsing. The chief consequence of this is there's no possibility of ambiguity in a parse: a successful parse will yield exactly one result, and you can trace the control flow through the grammar to figure out how it got there.
Foreword: Why Paver? - Paver v0.7 documentation - 0 views
-
I didn’t want to make a new build tool. Honestly. The main reason that I created Paver is...
Command line programs are classes, too! - 0 views
-
I hope this article encourages you to think about your command line programs in a different light, and to treat them as first class objects. Using inheritance to share code is so common in other areas of development that it is hardly given a second thought in most cases. As has been shown with the SQLiteAppBase programs, the same technique can be just as powerful when applied to building command line programs, saving development time and testing effort as a result. CommandLineApp has been used as the foundation for dozens of types of programs, and could be just what you need the next time you have to write a new command line program.
python interval Module - 0 views
Manipulate simple polynomials in Python - 0 views
Allen's Weblog: More Than Just Parsers - 0 views
User:Marshall Hampton/Sage - OpenWetWare - 0 views
Metaclass programming in Python - 0 views
-
Metaclass programming in PythonPushing object-oriented programming to the next level
-
New to AOP? You may find this "Introduction to Aspect-Oriented Programming" (PDF) by Ken Wing Kuen Lee of the Hong Kong University of Science and Technology interesting.
Osh 0.9 User's Guide - 0 views
spreadsheet in python: pyspread - 0 views
-
Pyspread is a spreadsheet that accepts a pure python expression in each cell. Requires Python 2.4, Numpy 1.0.4, and wxPython 2.8.7.1.
osh-- Reference Documentation - 0 views
rrdpy - Google Code - 0 views
-
RRDTool is a really good back-end for storing time-series data. If you are developing tools that need a data repository and graphing capabilities, this provides you both. You create an RRD and then you begin inserting data values at regular intervals. You then call the graphing API to have a graph displayed. The neat thing about this data storage is its “round robin” nature. You define various time spans, and the granularity at which you want them stored. A fixed binary file is created, which never grows in size over time. As you insert more data, it is inserted into each span. As results are collected, they are averaged and rolled into successive time spans. It makes a much more efficient system than using your own complex data structures, relational database, or file system storage.
« First
‹ Previous
261 - 280 of 350
Next ›
Last »
Showing 20▼ items per page