Ask questions, find answers and collaborate at work with Stack Overflow for Teams. Explore Teams Collectives™ on Stack Overflow Find centralized, trusted content and collaborate around the technologies you use most. Learn more about Collectives
Deze pagina gaat over het gebruik van Supervisor om je Python-applicaties continu draaiende te houden op Linux. In deze gids leggen we stap voor stap uit wat Supervisor is, waarom het zo’n waardevol hulpmiddel is, en hoe je het eenvoudig kunt inzetten in je projecten. Doel #Supervisor is een lichtgewicht process control system dat speciaal is ontworpen voor het betrouwbaar beheren van processen. V
pythonbrewによるフレキシブルなPython環境の構築 Vimの設定とかはあまり関係ないですが最強を詠うために最強のPython環境が必要なので構築します。最強の環境とは インストールされているPythonのバージョンが違うことによって不可解なバグが発生しない インストールされているライブラリのバージョンが違うことに不可(ry インストールされているライブラリ同士が干渉して不可解な(ry だと思っています。これらを解決するために pythonbrew という素晴らしいソフトを利用します。 ただこのソフトはシェルが前提となっているのでWindowsをお使いの方は代わりに virtualenv をインストールして先に進んでください。 Pythonには大きく分けて2.x系と3.x系の大きなバージョンがあり、この二つは相容れないものとなっています。 2.x系はずっと使われてきたもので外部ラ
What Powers Instagram: Hundreds of Instances, Dozens of Technologies One of the questions we always get asked at meet-ups and conversations with other engineers is, “what’s your stack?” We thought it would be fun to give a sense of all the systems that power Instagram, at a high-level; you can look forward to more in-depth descriptions of some of these systems in the future. This is how our system
For full functionality of this site it is necessary to enable JavaScript. Here are the instructions how to enable JavaScript in your web browser.
誰から教えてもらったのか忘れたけど、ファイルの変更を監視して何か処理を行ったりできるwatchdogというPythonモジュールを試してみたら良い感じだった。 http://pypi.python.org/pypi/watchdog インストール PyPIに登録されているのでeasy_installでインストールできる。 > easy_install watchdog watchmedoコマンドの使い方 watchdogをインストールするとwatchmedoというコマンドが使える。 watchmedoコマンドは、ファイルの変更があった際にコマンドを実行したりすることができる。試した環境はWindowsXP。 例えばカレントディレクトリ以下の拡張子がrstのファイルの変更があった場合に、Sphinxのmake htmlを実行するならこんな感じ。 > watchmedo shell-comma
Open Source Developer, Author, Editor. There’s always room for pie. virtualenvwrapper-emacs-desktop Emacs desktop-mode lets you save the state of emacs (open buffers, kill rings, buffer positions, etc.) between sessions. It can also be used as a project file similar to other IDEs. virtualenvwrapper-emacs-desktop adds a trigger to save the current desktop file and load a new one when activating a n
pytest *1 に関連して tox も一緒に覚えておくと良さそうです。 @t2y @methane 少し前からtox + py.test が鉄板な気がしますねえ 2012-02-07 20:50:23 via twicca to @t2y tox については id:Ehren の入門記事が分かりやすいです。 Pythonでのテストツールtox入門 - Keep on moving 複数の Python バージョン毎に virtualenv で仮想環境を作成して、そこに自分のパッケージと必要なライブラリ等をインストールして、それぞれのバージョン毎にテストをまとめて実行してくれます。例えば、Python 2/3 の両対応を考えたときに、自分で環境を切り分ける手間隙を軽減できて、かなり便利です。ここで言う Python 2/3 両対応は 2.6/2.7 と 3.x の対応を指します *2 。
A big focus lately (as far as web technology trends go) is the move to "real-time". "Real-time" is a loaded terms that can mean a lot of things to different people, but what is consistent is people's desire to always have the latest information, without a lot of effort on their part. Because, let's face it, funny cat pictures are srs bizness. Regardless of what data you want to push, the technique
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く