python
Python 2.x系最後のメジャーバージョンアップとなるPython 2.7リリース - SourceForge.JP Magazine : オープンソースの話題満載Pythonは現在、過去のバージョンとの互換性を保ちつつアップデートが行われているPython 2.x系と、Python 2.x系とは一部機能や仕…
GAEのパフォーマンスに関して要確認。 Web アプリのボトルネックはテンプレートシステムにあり - kwatchの日記 これは Python のプロジェクトだから調査対象には当然 Django が入っている。そして Django のテンプレートエンジンがボトルネックになっている…
使い分けメモ。 SQLObject と SQLAlchemy - 傀儡師の館.Python - 楽天ブログ(Blog)SQLObject いいなと思うのだが、0から作る場合はよいけど、すでにある RDBMS のデータを扱おうとすると困る。SQLOjbect は勝手にテーブルを作ってくれるのはいいのだが、…
挙動メモ。 とりあえず: [Python][お勉強] Python入門(37) - モジュールのリロードリロードと変数、名前空間の関係リロードでは、モジュールの名前空間に変更が加えられる。リロード時に代入が行われると、変数の値は新しいものに置き換えられる。リロードを…
ちょっと行きたかった。 InfoTalk/20090515/Report - 産業技術大学院大学 第6回InfoTalkは秋葉原サテライトキャンパスで開催し,約55名の御参加をいただきました。ありがとうございました。スライド・配布資料 柴田さん資料 20090515shibata.pdf 関さん資料…
.NETのアプリケーション開発におけるIronPythonの基礎概念を紹介されているようです。以下のサイトで紹介されていますが、簡単にまとめておきます。IronPython URLs: A New Book on IronPython: Pro IronPython主なトピック ・ IronPythonコンソールやフォー…
とりあえず著者(@voidspace)にtwitterで聞いてみたら 「python分かるなら買いなさい」って返ってきたwww"Ironpython in Action" ch.2 -Introduction to Python- まとめ - CanI’s DiaryPythonスタンダートライブラリ Cで書かれた標準ライブラリは残念なが…
メモ。 eval の速度比較 - まめめも 関数定義 50000 個を eval する 何もしない関数の定義を 50000 個並べたものをパース・評価するのにかかる時間の比較。 ruby 1.8 (trunk) : 1.05 sec ruby 1.9 (trunk) : 2.81 sec perl 5.10 : 1.93 sec python 3.0rc1 : …
メモ。 『「逆から」1個置きに抽出』というの初めて知った。 回文の判定 - テックノート@ama-ch ・はじPyだとこう書ける(p.96) >>> str = u"スマートなトーマス" >>> str == str[::-1] True こっちの方が簡単で読みやすい! スライスで3つめの値を設定する…
メモ。 こう書く必要があると。(condition and [value_when_true] or [value_when_false])[0]初めてのPythonでよくわからないとこ - テックノート@ama-ch >>> (t and f) or y 99 >>> ((t and [f]) or [y])[0] 0 ?: - Wikipedia, the free encyclopedia The …
FizzBuzz問題 - グニャラくんのグニャグニャPython備忘録 for i in range(1,101):print"FizzBuzz"[i*i%3*4:8--i**4%5]or iこういうことね。 for i in range(1,101): print "FizzBuzz"[(i*i%3)*4:8-((-i**4)%5)]or i 演算子ないよな、とか思っちゃった。
メモ。 PEP8で使えといわれても、、 str.startswith が遅い件 - プログラミング日記 実行するたびに若干値は違うが、傾向的にはこんな感じ。文字列の比較する長さによるのかもしれないが、== を使った方法が断然早い。== が成立するときも早い。但し、バージ…
id:gi-chiさんのエントリを読んで Rubyにはuniqがあるんだと知りました。配列操作の比較表 Ruby, Java5, Python - 制作日誌ギーチ! 自分用にRuby, Java5, Pythonの配列操作比較表を作成しました。 それpy!ということで、これが速いでしょうか。 def uniq(se…
メモ: デフォルト引数にリストを指定した際の挙動に注意 def functionF(argString="abc", argList = []): print argString, argList argString = argString + "xyz" argList.append("F")for i in range(4): functionF() The output of this program is: abc…
Bob Ippolitoさんのトークおもしろそう Keynotes and Invited Talks - PyCon 2009 - Chicago - A Conference for the Python Community Drop ACID and think about data by Bob Ippolito Building large systems on top of a traditional single-master RDBM…
Python2.6でipythonを無理矢理使ってる気がする - a2c.get.diary virtual-python.pyでホームのした(~/local/python)に環境を作る ipythonのソース落してきて、python setup.py installする ~/local/python/bin/ipython.py にファイルをコピーする 起動用にal…
Python 3 primer, Part 2: Advanced topics This article, Part 2, explores some of the more advanced topics, such as abstract base classes (ABCs), metaclasses, function annotations and decorators, integer literal support, the number type hier…
Dive into Python 3 Dive into Python 3 will cover Python 3 and its differences from Python 2. Compared to the original Dive into Python, it will be about 50% revised and 50% new material. I will publish drafts online as I go. The final book…
Python Cheat Sheet - Cheat Sheets - Added Bytes
なんという釣りタイトル。 しかも開口一番に"Zope does not suck"(Zopeは腐ってない) と軌道修正wYouTube - What Zope did wrong (and how it's being fixed) Lennart RegebroZope 2 did many things right, but also many things wrong. Zope 3 fixed the …
良いもの。悪いもの。: SciPyの使い方: 行列演算 PythonのモジュールであるSciPyを使った行列演算を示す。scipy.linalgではBLASやLAPACKを利用しているので、高速な演算が可能になっている。
pyshがよさげですな。 IPython 0.8.2 で一段と便利になってる - 傀儡師の館.Python - 楽天ブログ(Blog) UsingIPipe なんかも、便利。例えばfrom ipipe import *iwalk | ifilter("_.endswith('.pyc')") | idump # あるいはlines = !lslines.grep("\.pyc$") …
Official website of Python(x,y), the free Python/Eclipse distribution for Scientists With Python(x,y), one can do (Figure 1): interactive calculations including for example 2D and 3D plotting or symbolic maths,simple functionnal programmin…
scienceoss.com » IPython Archive for the ‘IPython’ Category
Twitter / Yusuke Yanbe もうPython 2.7の話ですか..流れが早いっていうかまだ2.x系のバージョンアップがあるんだな http://docs.python.org/dev/whatsnew/2.7.html
bitbucket.org An open source book written and edited by Bruce Eckel with contributions and help from the Python community. Published under the Creative Commons Attribution-Share Alike 3.0 license.
これから追いかける。 SimpleDbIntro - boto - Google Code - Introduction to SimpleDB in Boto This page will give you a quick overview of the current boto SimpleDB library. Before reading this it would probably be a good idea to check out the…
以下の数値は初耳。 Python ドキュメント翻訳 C++の*倍 Python Perl 配列へのアクセス 141.08 127.25
これは便利そう。 Pylons 日本語 - PythonWeb virtualenv は Ian Bicking による新しいプロダクトで、 workingenv と virtual Python install の最も良い特徴を組み合わせることを目的としています。 virtualenv によって、外部のプログラムに影響しない独立…
python2.6リリースメモ(挫折) - mopemopeのビビット☆パステル☆レインボー日記 PEP以外の細かいメモ。 schedモジュール scheduleを行うモジュール。 スケジューリングする基準になる時間取得関数などを設定可能。 スケジューリングする際に、時間、優先度、…