Supervisor: A Process Control System¶ Supervisor is a client/server system that allows its users to monitor and control a number of processes on UNIX-like operating systems. It shares some of the same goals of programs like launchd, daemontools, and runit. Unlike some of these programs, it is not meant to be run as a substitute for init as “process id 1”. Instead it is meant to be used to control
Playdoh¶ Mozilla’s Playdoh is a web application template based on Django. Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design. Playdoh is simply a pre-configured Django project that adds some essential modules and middleware to meet the following goals: Enhance the security of your application and its data Achieve optimal performance in the fac
In this post, we have explained in detail how to deal with XML files in Python. We will also see some of the complex terms of ElementTree module. What are XML files?Extensible Markup Language (XML) is a file format that is used for the serialization of data, that is, storing, transmitting, and reconstructing arbitrary data, in a format that is both human-readable and machine-readable. As a markup
About The cross-platform windowing and multimedia library for Python. pyglet is a powerful yet easy-to-use Python library for developing games and other visually rich applications on Windows, macOS, and Linux. It supports windowing, mouse and keyboard, controllers, joysticks, displaying images and videos, and playing sounds and music. All of this with a friendly Pythonic API that's simple to learn
とは言っても、普通にインストールするだけなので、本来なら書くことがあまりない。 Python 自体、2.5 はデフォで入ってるので、2.6 以上欲しい人向け。 インストーラの挙動が気になったトコでいろいろ書いてみた。 Python インストール(Python 公式) 何のことはなく、Python からインストーラ落として実行するだけ。 気になった点として、デフォルトの python のパスが気になったので、インストール後に、whereis かけてみるとワロタ。 $python --version Python 2.6.2 $whereis python /usr/bin/python $ls -l /usr/bin/python lrwxr-xr-x 1 root wheel 60 4 30 17:08 /usr/bin/python -> /usr/bin/python2.5 「あれ!?
Pychart PyChart is a Python library for creating high quality Encapsulated Postscript, PDF, PNG, or SVG charts. It currently supports line plots, bar plots, range-fill plots, and pie charts. Because it is based on Python, you can make full use of Python's scripting power. See some examples. I've used PyChart to draw some real graphs to publish some real papers (see my SOSP and TOCS papers for exa
Pythonでグラフ描きをする必要があって、PyChartを使おうと思っていたのですが、調べてみるとGnuplot.pyというのがあることを知った。基本的にはGnuplotを直接使うのと変わらないように使えるのですが、Python内の変数をいったんデータファイルとして吐き出したり、データファイル風にとかしなくてもタプルとかリストとかで渡したらそれでプロットしてくれるー。Gnuplotで大したグラフを描いたことはないけど、やっぱちょっとでも慣れてるものの方が使いやすいしなあと。 このグラフを吐くのはこんな感じ。 #!/usr/bin/env python import Gnuplot d = (0.9, 0.342, 0.8551368, 0.470735842486, 0.946745714523, 0.19158941291, 0.58855505713, 0.920200407055,
This webpage is outdated. For up to date information about CoopSim, please go directly to: https://github.com/jecki/PyPlotter/ What is PyPlotter ? PyPlotter is an open source 2D graph plotting package for Python and Jython. It was primarily written for use in the CoopSim package. If you do not rely on Jython support or any other of PyPlotter's special featurs (see key features list below), you wil
In this post, we have explained in detail how to deal with XML files in Python. We will also see some of the complex terms of ElementTree module. What are XML files?Extensible Markup Language (XML) is a file format that is used for the serialization of data, that is, storing, transmitting, and reconstructing arbitrary data, in a format that is both human-readable and machine-readable. As a markup
Mac OS X 10.6 Snow Leopardのeasy_installでPILをビルドするときに気をつけることなど Snow LeopardにPIL(Python Imaging Library)をインストールしようとして見事にハマりましたので、後学のために事の顛末を記しておきます。 ■まず最初に、調べて分かった結論 Snow LeopardでPythonを使うときは、デフォルトで付属しているPython 2.6.1を使用すること。Snow LeopardにはPython 2.5.4も付属しているが、こちらは使用するべきではない。Snow LeopardのPython 2.5.4のdistutilには不具合?があり、UnixCCompilerクラスがC言語のモジュールを64bitでビルドしてくれないため、Snow Leopardでは動作しなくなるしたがって、C言語のモジュールを使用
Getリクエスト >>> import urllib2 >>> r = urllib2.urlopen("http://www.yahoo.co.jp") Postリクエスト >>> import urllib >>> query = {"name":name, "password":password} # 送信するデータ >>> query = urllib.urlencode(query ) # URLエンコード >>> r = urllib2.urlopen("http://www.hatena.ne.jp/login", query) レスポンスオブジェクトのメソッド >>> r = urllib2.urlopen("http://d.hatena.ne.jp/yumimue/edit") >>> r.code, r.msg # レスポンスコードとメッセージ (200, 'OK')
Matplotlib is a python library for making publication quality plots using a syntax familiar to MATLAB users. Matplotlib uses numpy for numerics. Output formats include PDF, Postscript, SVG, and PNG, as well as screen display. As of matplotlib version 1.5, we are no longer making file releases available on SourceForge. Please visit http://matplotlib.org/users/installing.html for help obtaining matp
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く