サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
買ってよかったもの
www.dalkescientific.com
In this essay I'll describe how to use the concurrent.futures API from Python 3.2. Since I'm still using Python 2.7, I'll use Alex Grönholm's back port instead. PEP 3148 gives the motivation for the new concurrent module: Python currently has powerful primitives to construct multi-threaded and multi-process applications but parallelizing simple operations requires a lot of work i.e. explicitly lau
Combining the cuteness of LOLCODE and the cuddliness of Python I bring you.... LOLPython! Download lolpython.py WHATZ LOLPython? Example code to generate all Fibonacci numbers less than a given value of N. Max value is 100 if N is not given on the command line. Idea derives from original lolcode implementation by Kieran O'Niell. IN MAI datetime GIMME date LIKE DATE SO IM LIKE FIBBING WIT N OK? LOL
Sometimes it's helpful to watch what Python the low-level details of what Python is doing. With an IDE like Wing IDE or Komodo you can step through events in a GUI. But if you're a command-line sort of person like me you can roll your own trace program using the same run-time hooks used by those IDEs The hook is set via the sys.settrace() function. This takes a function which is called during any
In early October 2006 I lectured at the University of Stellenbosch on how to make C and Python work together, various ways to parse files, and more. ctypes, calling C functions and passing a callback; example is based on a numerical integrator C extension, calling C functions through Python's C extension interface. Uses evaluating a point for Mandelbrot set membership as the driving example. SWIG
[Download PyRSS2Gen-1.1.tar.gz] Requires Python 2.3. (Uses the datetime module for timestamps.) Also works under Python 3.x To install: % python setup.py install This uses the standard Python installer. For more details, read the installer guide. (And there's only one file, so you could just copy it wherever you need it.) The documentation was written in 2003 which is why the examples are a bit da
このページを最初にブックマークしてみませんか?
『Welcome to Dalke Scientific Software』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く