Skip to main content

Home/ Python Programming/ Group items matching "of" in title, tags, annotations or url

Group items matching
in title, tags, annotations or url

Sort By: Relevance | Date Filter: All | Bookmarks | Topics Simple Middle
reckoner reckoner

PyGUI - 0 views

  • This is a project to develop a cross-platform pythonic GUI API.  The goals of this project are:
reckoner reckoner

[IPython-user] ipython1 and farm tasking - 0 views

  • [IPython-user] ipython1 and farm tasking Brian Granger ellisonbg.net@gmail.... Wed Feb 27 16:29:03 CST 2008 Previous message: [IPython-user] ipython1 and farm tasking Next message: [IPython-user] yet another leopard/readline question Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] Alex, First, I would suggest updating your ipython1 install from our svn repository. We are about to push out a major new version and the documentation is _much_ better. Also, there are many new features that will hopefully help you. Here is a simple example (using the latest svn of ipython1): In [1]: from ipython1.kernel import client In [2]: mec = client.MultiEngineClient(('127.0.0.1',10105)) In [3]: tc = client.TaskClient(('127.0.0.1',10113)) In [4]: def fold_package(x): ...: return 2.0*x ...: In [5]: mec.push_function(dict(fold_package=fold_package)) Out[5]: [None, None, None, None] In [6]: tasks = [client.Task("y=fold_package(x)",push={'x':x},pull=('y',)) for x in range(128)] In [7]: task_ids = [tc.run(t) for t in tasks] In [8]: tc.barrier(task_ids) In [9]: task_results = [tc.get_task_result(tid) for tid in task_ids] In [10]: results = [tr.ns.y for tr in task_results] In [11]: print results [0.0, 2.0, 4.0, 6.0, 8.0, 10.0, 12.0, 14.0, 16.0, 18.0, 20.0, 22.0, 24.0, 26.0, 28.0, 30.0, 32.0, 34.0, 36.0, 38.0, 40.0, 42.0, 44.0, 46.0, 48.0, 50.0, 52.0, 54.0, 56.0, 58.0, 60.0, 62.0, 64.0, 66.0, 68.0, 70.0, 72.0, 74.0, 76.0, 78.0, 80.0, 82.0, 84.0, 86.0, 88.0, 90.0, 92.0, 94.0, 96.0, 98.0, 100.0, 102.0, 104.0, 106.0, 108.0, 110.0, 112.0, 114.0, 116.0, 118.0, 120.0, 122.0, 124.0, 126.0, 128.0, 130.0, 132.0, 134.0, 136.0, 138.0, 140.0, 142.0, 144.0, 146.0, 148.0, 150.0, 152.0, 154.0, 156.0, 158.0, 160.0, 162.0, 164.0, 166.0, 168.0, 170.0, 172.0, 174.0, 176.0, 178.0, 180.0, 182.0, 184.0, 186.0, 188.0, 190.0, 192.0, 194.0, 196.0, 198.0, 200.0, 202.0, 204.0, 206.0, 208.0, 210.0, 212.0, 214.0, 216.0, 218.0, 220.0, 222.0, 224.0, 226.0, 228.0, 230.0, 232.0, 234.0, 236.0, 238.0, 240.0, 242.0, 244.0, 246.0, 248.0, 250.0, 252.0, 254.0] Or if you don't need load balancing: # This sends the fold_package function for you! results = mec.map(fold_package, range(128)) Let us know if you run into other problems. Cheers, Brian
reckoner reckoner

Preexisting code indentation - Vim Tips Wiki - a Wikia wiki - 0 views

  • lternative: if your file has indent 4 and you want an indent of 3 and gg=G is not working as expected, try :set inde=indent(v:lnum)/4*3 then go ahead with the well known gg=G use tabs or spaces, doesn't matter
reckoner reckoner

Testoob - Python Testing Out Of The Box - About - 0 views

  • Testoob is an advanced unit testing framework for Python. It integrates effortlessly with existing PyUnit (module ‘unittest’) test suites.
reckoner reckoner

Louie - 0 views

  • Louie provides Python programmers with a straightforward way to dispatch signals between objects in a wide variety of contexts. It is based on PyDispatcher, which in turn was based on a highly-rated recipe in the Python Cookbook. Louie is licensed under The BSD License.
reckoner reckoner

[Tutor] is "fold" same as "reduce"? - 0 views

  • ### def reverse(l): return reduce(lambda x, y: [y] + x, [[]] + l) ###
  •  
    interesting use of redue

reckoner reckoner

A Little Head Trauma...: Dynamic Functions - 0 views

  •  
    good discussion of *arguments in dynamic functions
reckoner reckoner

pyWinAuto - 0 views

  • pywinauto is a set of python modules to automate the Microsoft Windows GUI. At it's simplest it allows you to send mouse and keyboard actions to windows dialogs and controls.
reckoner reckoner

python message broker - 0 views

  • Welcome to the PyPubSub / PMS project, an implementation of a pure python networked publish subscribe mechanism. Central is a message broker which dispatches messages between applications.
reckoner reckoner

vimpdb - Google Code - 0 views

  • Tired of debugging Python using print statements? Don't like the cumbersome PDB (Python debugger) console? Prefer using Vim for coding your Python programs? VimPdb is the solution - allows debugging Python in an IDE-fashion, right within the Vim editor.
reckoner reckoner

ulipad - Google Code - 0 views

  • UliPad uses Mixin and Plugin technique as its architecture. Most of its classes can be extended via mixin and plugin components, and finally become an integrity class when creating the instance. So UliPad is very dynamic. You can write the new features in new files, and hardly need to modify the existing code. And if you want to extend the existing classes, you could write mixins and plugins, and this will be bound to the target class that I call "Slot Class". This technique will make the changes centralized and easily managed.
reckoner reckoner

The 'IPython' Interactive Shell - Part 1 tutorial video - A Demonstration of the 'IPython' Interactive Shell - Learn: IPython, Python, programming_tools - 0 views

  •  
    part 3 is interacting with history
reckoner reckoner

ShowMeDo - 0 views

  •  
    This series aims to get you up and running with Python on Windows XP. Here I have distilled for you the knowledge that I wanted when I first started with Python. During 1.5 hours of video I'll get you up and running with the right Python distribution, cod
reckoner reckoner

6.5.1 Itertool functions - 0 views

  • 6.5.1 Itertool functions The following module functions all construct and return iterators. Some provide streams of infinite length, so they should only be accessed by functions or loops that truncate the stream.
  •  
    good examples
reckoner reckoner

Python Introduction to Python PyGTK/Glade and Matplotlib Tutorial - 0 views

  •  
    In this tutorial we will create a little application written in PyGTK and we will use Glade to create the graphical use interface (GUI). Another feature of this tutorial is that we will create a bar chart with Matplotlib. Eventually it should look like so
reckoner reckoner

Human-Readable Encryption Keys - 0 views

  • in PyCrypto: >>> key = os.urandom(16) # Generate 16 random bytes (128 bits) >>> bin_to_hex(key) # Show the key in hex (32 characters) '61aa60e43a5e7fdb4b86a4897b52a0dc' >>> y = RFC1751.key_to_english(key) >>> y # Show the pass phrase version of the key 'BUSY BARN RUB DOLE TAUT TOOK ALTO PRY KIT WALL MUG CURT' >>> # The transformation is always reversible >>> bin_to_hex(RFC1751.english_to_key(y)) '61aa60e43a5e7fdb4b86a4897b52a0dc'
  • Human-Readable Encryption Keys
reckoner reckoner

Python keyword arguments [python] [parameters] [kwargs] [arguments] - 0 views

  • This is something I always forget how to do, and it's kind of hard to Google or search the Python docs because you can't search for **.The point is, when using **kwargs, you have to use the ** prefix not only in the function definition, but also in the call, prefixed to the variable you want to use as a keyword dictionary.
  •  
    want to pass keyword dictionary as keyword arguments
pagetribe .

Index of /Individu/pointal/python/pqrc/versions - 0 views

  • PQRC-2.4-A4-latest.pdf 30-Apr-2007 14:02 599K
    • pagetribe .
       
      Python 2.4 Quick Reference Card
  •  
    Python 2.4 Quick Reference Card
« First ‹ Previous 141 - 160 of 189 Next › Last »
Showing 20 items per page