iOS用のアプリは通常、開発アカウントを取得し、Macを使って開発します。 開発アカウントを取得するほどではないが、iOSデバイス上で何かやりたい処理がある、という人はいるでしょう。 あるいは、プログラム好きな人なら率先してiOSデバイス上でプログラミングをしたいと思うのではないでしょうか。 そうしたニーズに存分にこたえることができる、iOSデバイス上で動作する統合開発環境がPythonista 3です。 2016年9月21日に開催されたPyCon JP 2016で @equal_001 さんがPythonistaについて発表されていたのでご紹介。 Python支持者のことをPythonistaといいますが、アプリ名はそこから取ったんでしょうね。 正真正銘のPythonが内蔵されていて、ローカルで動きます。 [参考] Kazuhiro AbeさんはTwitterを使っています: 「インタプ
Flask-RESTful¶ Flask-RESTful is an extension for Flask that adds support for quickly building REST APIs. It is a lightweight abstraction that works with your existing ORM/libraries. Flask-RESTful encourages best practices with minimal setup. If you are familiar with Flask, Flask-RESTful should be easy to pick up. User’s Guide¶ This part of the documentation will show you how to get started in usin
Learn to Build, Deploy and Operate Python Applications You're knee deep in learning Python programming. The syntax is starting to make sense. The first few ahh-ha! moments hit you as you learn to use conditional statements, for loops and classes while coding with the open source libraries that make Python such an amazing programming ecosystem. Now you want to take your initial Python knowledge and
2008.01.09 pisa (HTML から PDF への変換) (2) テーマ:プログラミング言語 Python を使う(339) カテゴリ:Python HTMLをPDFに直接変換するpisa と Python上でHTML2PDF「pisa」(MOONGIFT) を読む。最近 Python を扱う記事があちこちで地道に増えてきた。 次のような記事もあった。へぇ、こういう記事を書く人も出てきたんだと思ったら翻訳記事だった。 Pythonの技法:ZIPアーカイブを読む Pythonの技法:ZIPアーカイブへの書き込みと追記 Pythonの技法:Huffman符号化の実装 元に戻って、HTML から PDF の変換について、pisaの日本語サポート を見てみる。pica の HTML 解析は html5lib、PDF の出力は ReportLab を使っているらしい。pica の日本語サ
PyPI に testing.mysqld と testing.cassandra をリリースしました。 パッケージ名に test と付いている通り、テストに使うモジュールです。 11/21訂正: test というパッケージは python 本体で使われていたので、パッケージ名を testing.* に変更しました。 なにをするもの? test.mysqld と test.cassandra はテストを実行する際に MySQL (Cassandra) を起動し、 テストが終了したあとに MySQL (Cassandra) を終了するという動きをしてくれるライブラリです。 Perl の Test::mysqld を Python で実装しなおしたものです。 テストする際にホンモノの MySQL や Cassandra が必要な場合に使えるかもしれません。 なんのためにつくったの? これまで
前フリ Pythonにはpydocというモジュールがあって、これを使うと同じようにAPIリストが出力できると思っていた。今までDjangoのコードを書いてみて、いわゆるヘッダーコメントとかドキュメンテーションコメントと言われているものをなんとなくjavadocライクに書いていたが、pydocだとあんまり期待した通りのHTMLを出力してくれないことが分かった。 自分が期待していたのは、 @タグでクラス、関数属性に関する情報を出力 phpDocumentorのように、テンプレートを変更可能 というものだったが、あんまりよろしくなかった。調べてみると、epydocというツールで実現できそうだったが、テンプレートはないらしい。もうちょっと調べてみると、Sphinxというドキュメンテーションツールがあるそうだ。すでに、以前のエントリーでちょっとした使い方について書いたが、インストール方法とかを書いて
This document describes the current stable version of Celery (5.5). For development docs, go here. Celery - Distributed Task Queue¶ Celery is a simple, flexible, and reliable distributed system to process vast amounts of messages, while providing operations with the tools required to maintain such a system. It’s a task queue with focus on real-time processing, while also supporting task scheduling
目的 エラー(例外)が発生した時、自動的にデバッガ「pdb」を起動して、 その時点のスタックフレームや上流階層に逆上って状況の確認がしたい! でも止めたい箇所が分散していていちいちブレークポイント貼ったりステップ実行とかしてらんない! みたいな状況で役に立つデバッグ手法です。 準備 以下をdebug.pyとして保存しましょう。: 1 import sys 2 3 def hook(type, value, tb): 4 if hasattr(sys, 'ps1') or not sys.stderr.isatty(): 5 sys.__excepthook__(type, value, tb) 6 else: 7 import traceback, pdb 8 traceback.print_exception(type, value, tb) 9 print() 10 pdb.pm()
So you have a great business idea for a wonderful IT product or service, and you want to build your high tech startup around it. Having the idea is a great start, but you will have to build an IT solution/service to get your business off the ground; be it a website, software solution, social network, or mobile app. Which programming language to choose to write these IT products is always the quest
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く