Code Archive Skip to content Google About Google Privacy Terms
Web/python/whatever developer, political junkie, runner-up "World's Best Dad"; not necessarily in that order. I’ve spent the last day and a half researching, evaluating, and testing different authentication schemes to use in our new API that we’ll be introducing in the coming weeks. I eventually decided to go with 2-legged oauth; it’s not the newest, shiniest toy in the bin, but it seems to be in
This post is primarily intended for App Engine users (and of those, only Python users :-). Over the past months I've been working on a new design for the Python datastore API, under the code name Datastore Plus. The new design is very ambitious, and changes a lot of things: New, cleaner implementations of Key, Model, Property and Query classesHigh-level asynchronous API using Python generators as
注意 この内容はすでに古くなっています。 pipの使い方 (2014/1バージョン) を参照してください。 pipとは、Pythonにおけるパッケージ管理システムです。easy_installというツールもあるのですが、pipはこのeasy_installを置き換えるものとして開発されています。rubyのgem、perlのcpan的な位置づけです。 同じパッケージ管理ツールとしてsetuptools置き換えのdistributeというものもあるのですが、こちらはsetuptools全体を置き換えるものとして開発されており、pipはsetuptoolsの一部であるeasy_installを置き換える形です。 なお、現在のpipのバージョンは0.8.2で、このエントリはこのバージョンを使っています。 なにかおかしい点があれば、ご指摘ください。 > 識者の方々 pipのinstall まずはea
Pillow Python Tutorial Python is an amazing language not just because it is easy to learn but it has lots of libraries and tools that make the job easy and cool. One such tool in python is Pillow. In Python, Pillow is one of the most popular tools to deal with digital images. Of course, we have other tools in python too like OpenCV, Scikit-image, PIL, etc. that do the same thing. Why do we use Pil
If you’re here for the short answer — JSON is 25 times faster in reading (loads) and 15 times faster in writing (dumps). I’ve been thinking about this since I wrote the ObjectProperty and JsonProperty classes for Google App Engine. They’re both easy to use and work as expected. I did have some trouble with ObjectProperty but I figured it out in the end. As my previous posts mention, the ObjectProp
Jinja2へようこそ¶ Jinja2はモダンでデザイナーも扱いやすいPython用テンプレート言語です。 Djangoテンプレートの後発として設計されました。動作が速く、広い用途に対応し、 サンドボックス的なテンプレート実行環境があるので安全です。 <title>{% block title %}{% endblock %}</title> <ul> {% for user in users %} <li><a href="{{ user.url }}">{{ user.username }}</a></li> {% endfor %} </ul> 特徴 サンドボックス的な実行 XSS予防に強力な自動HTMLエスケープシステム テンプレート継承 ジャストインタイムなPythonコードへの補助的なコンパイル 補助的な事前のテンプレートコンパイル デバッグの容易さ。例外の行番号はテンプレート
Description wxGlade is a GUI designer written in Python for the wxPython GUI toolkit, that helps you create wxWidgets/wxPython user interfaces. It can generate Python, C++, Perl, Lisp and XRC (wxWidgets' XML resources) code. It is not a full featured IDE, but simply a "designer": the generated code does nothing apart from displaying the created widgets. Usually, you will use it together with a com
PEP-JP: 257 オリジナルのヘッダ ================== PEP: 257 Title: Docstring Conventions Version: $Revision: 1.1.1.1 $ Last-Modified: $Date: 2003/03/19 01:15:10 $ Author: David Goodger , Guido van Rossum Discussions-To: doc-sig@python.org Status: Active Type: Informational Content-Type: text/x-rst Created: 29-May-2001 Post-History: 13-Jun-2001 概要 ==== この PEP ドキュメントでは,様々な Python ドキュメンテーション文字列 (docstring) につ
Docutils: Documentation Utilities Written in Python, for General- and Special-Purpose Use Docutils is an open-source text processing system for processing plaintext documentation into useful formats, such as HTML, LaTeX, man-pages, OpenDocument, or XML. It includes reStructuredText, the easy to read, easy to use, what-you-see-is-what-you-get plaintext markup language. Overview To get up & running
About This Tutorial This tutorial is for SQLAlchemy version 0.2. You may notice that some sections are marked "New in 0.2". If this is the first time you're reading this tutorial, you can safely skip those sections. On the other hand, if you read the previous version of this tutorial and are now trying to learn SQLAlchemy 0.2, then just search for the text "New in 0.2" and you'll have a lot less r
多くの人々が頻繁にPythonプログラムの実行速度を心配しています。でもPythonを使わないと、堪らないくらいパフォーマンスのロスがありますよね? 中には「なんだ、インタプリタのスクリプト言語か、まるっきり遅いや」なんて結論づける人もいます。その一方で、Pythonを実際に試してみて、十分な実行効率をもっていることに気づいた人もいます。もちろん、時にはとっても遅いプログラムができあがることもあります。 なぜ素のスピードが重要か? あるいは重要でないか?多くの人が必要以上に速度に取りつかれていて、この種の問題ではCが優れた実績を示していることから、(Cが)全ての面で優れた言語であると考えています。他の人々は「開発の速度」がより重要で、Pythonを選ぶのはそのような時に限り、まあそれなりの速度だろうと考えています。そして頻繁に、Pythonのコードが期待以上の速度で動いていることに彼らは驚
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く