About PyODE is a set of open-source Python bindings for The Open Dynamics Engine, an open-source physics engine. PyODE also includes an XODE parser. Like ODE, PyODE may be distributed under the terms of either the GNU Lesser General Public License or a BSD-style license. The Soureforge project page is here. Contents News Download Getting Started API Reference Mailing List News This is the first ve
A couple of you make donations each month (out of about a thousand of you reading the text each week). Tragedy of the commons and all that... but if some more of you would donate a few bucks, that would be great support of the author. In a community spirit (and with permission of my publisher), I am making my book available to the Python community. Minor corrections can be made to later printings,
Does the web look weird? Ugly? Perhaps that's because your browser does not support the CSS standard. I recommend you consider updating it. Without CSS, this and other pages are visible, but nothing like they were meant to be. A very good free browser with support for all standards is Firefox. For information about standards and why they are important, please visit the browser upgrade campaign. St
Camellia暗号Python版 NTTと三菱電機が開発したCamellia暗号がオープンソースになったので、Pythonに移植してみました。 BSD風ライセンス。 APIはほぼオリジナルどおりです。若干、Python風に変更しました。 Pure Pythonの実装と、C版を呼び出す拡張モジュール版とがあります。 Pure Python版は、オリジナルのC版から移植しました(Java版は鍵長が128ビットに固定なんです)。 鍵長は128、192、256ビット。 対象はPython 2.3および2.4です。 オリジナルどおりのAPIなので、単に128ビット(16バイト)ブロックの暗号化復号化ができるだけです。 Pure Python版は遅いです。 ベンチマークやってません。 Python 2.3および2.4対応のため、やむなく長整数の演算を行っています。不効率です。 NTTさん、 逆リンク
IPython provides a rich architecture for interactive computing with: A powerful interactive shell. A kernel for Jupyter. Support for interactive data visualization and use of GUI toolkits. Flexible, embeddable interpreters to load into your own projects. Easy to use, high performance tools for parallel computing. To get started with IPython in the Jupyter Notebook, see our official example collect
Meadow で pycomplete を使うメモ。 Pymacs のインストール http://pymacs.progiciels-bpi.ca/ から Pymacs-0.22.tar.gz をダウンロードしてきてインストールする。 % cd Pymacs-0.22 % python setup.py installpymacs-services を起動するためのバッチファイル pymacs-services.bat を作って、 PATH の通ったところにおいておく。 % type C:\Python24\pymacs-services.bat python C:\Python24\scripts\pymacs-servicespymacs.el は load-path の通ったところにコピーする。 python-mode のインストール http://python-mode.sourc
_ PythonでSICP 何だか気分的に煮詰まってしまったので、 気分転換に SICP の問題でも解いてみる。 C++で解く という強者もいらっしゃるようだが、 私は屁垂れなので、 Python でやってみる。 疲れた時にわざわざ蛇の道を歩むこともなかろう... SICP in other languages にPythonの例もあるみたいだが、 それは見なかったことにする。 Exercise 1.3. 三つ引数を取って、大きい方の二つの数字の自乗の和を求める関数を書け。 これぐらい簡単でないと頭は休まらないよな。 def f(a, b, c): l = [a, b, c] l.remove(min(l)) return sum([x * x for x in l]) 思わずbrute-forceでやってしまったが、 def f(a, b, c): return sum([x * x f
[Python-Dev] [Python-checkins] MSI being downloaded 10x morethan all other files?! Guido van Rossum guido at python.org Tue Dec 12 17:37:50 CET 2006 Previous message: [Python-Dev] [Python-checkins] MSI being downloaded 10x morethan all other files?! Next message: [Python-Dev] [Python-checkins] MSI being downloaded 10x morethan all other files?! Messages sorted by: [ date ] [ thread ] [ subject ] [
swetake さん(http://www.swetake.com/)が既に Perl, PHP, Ruby, Java 用のライブラリをつくってくださっているため、これを移植する。言語的に近そうなので Ruby 版を基にした。ほとんど逐語訳的となった。 http://libpanda.s18.xrea.com/qr/pyqrcode.py swetake さんのライブラリで使われている qrcode_data(qrv*.dat や rsc*.dat などが入ったディレクトリ) が必要になる。http://www.swetake.com/qr/ruby/qr_rb.htmlを参考のこと。また pyqrcode.py の 24 行目でこのディレクトリへのパスを指定しているので適宜変更する。 ( self.path = "./qrcode_data" # <- ここを変える ) つかいかた:
Joel Spolsky: Joel on Software ソフト開発の方法論はいくつも提唱されているが、それが何で大切なのか、実施しないとなぜダメなのかがいまいちわからない。そして何よりつまらない。この本は、先の疑問に答えてくれるし、読んでいて面白い。いまだに根性論を唱えているBossにぜひとも読んでいただきたい本だ。 (★★★★★) PaulGraham/川合史郎: ハッカーと画家 プログラマの考えや行動は一般の人から見ると、奇妙で理解しがたく映るらしい。彼らはなぜそう考えそう動くのか、なぜ「常識で動く」ことをしないのか。 プログラマも、そうでない方も一度は読んでほしい。 (★★★★★) Tom DeMarco: Slack ゆとりの法則 ゆとりをなく ( 過度に最適化 ) してしまえば、組織は環境適応能力をなくしてしまい、長期的に見ると衰退する。それだけじゃなく、ゆとりをなくしてし
Google Mondrian: web-based code review and storage さて、パイソンはパイソンでもこっちはプログラミング言語のほうで、Python の作者 Guido van Rossum が Google にいることは知られているが、彼の Google での仕事の成果が講演で明かされた模様。 それは Mondrian という Perforce と BigTable の上に Python によるフロンドエンドのついたウェブベースのコードレビューシステムである。 正直 Perforce も BigTable も知らんのでワタシにはあまりイメージが湧かない。詳しい話は件のエントリを参照してほしいが、既に Google 社内で使われているみたい。 でもさ、Mondrian って名前は Ruby の IDE でも既に使われてるね(笑)
Blog Search when-present<#else>when-missing. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: ${entry.path} [in template "__entry.ftlh" at line 3, column 25] - Reached through: #include "__entry.ftlh" [in template "entry.ftlh" at
I am an "old" computer engineer & programmer, not old enough to have a punch card story but old enough to - have owned a Zx-81 - programmed in Motorola 6809 assembler - remember when 64K was lots of RAM - fixed a hard disk by replacing the platter As part of my research of the current state of WSGI for my paper for OSDC2005 I revisited PythonPaste. Ian has added lots more functionality since I las
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く