distillatodipython.blogspot.com
Distillato di Python: Configurazione di Python tramite pyenv: livello locale
http://distillatodipython.blogspot.com/2013/12/configurazione-python-con-pyenv-livello-locale.html
Da assaporare a piccoli sorsi. Giovedì 12 dicembre 2013. Configurazione di Python tramite pyenv: livello locale. In questo post continuiamo la chiacchierata iniziata in quello precedente. Parlando della configurazione di Python tramite pyenv a livello locale. Questo vuol dire che le impostazioni locali prevalgono su quelle globali, tenetelo sempre a mente. Per impostare Python a livello locale. Si usa il comando. Pyenv local 2.7.6. Che ad esempio imposta Python 2.7.6 per la directory corrente. Se volete ...
lifewithpython.com
Life with Python: 4月 2015
http://www.lifewithpython.com/2015_04_01_archive.html
Python Tips: Python で簡易サーバを走らせる. ターミナルからの python コマンドでサーバを立ち上げることができます。 Python 2 と Python 3 では組み込みのライブラリの構成が異なっているためコマンドが若干異なります。 Python2.7 -m SimpleHTTPServer 8080. Python -m http.server 8080. いずれも末尾の 8080 の部分はポート番号です。このサンプルでは 8080 としていますが特に 8080 である必要はなく、利用したいポート番号を指定することができます。ポート番号を省略した場合はいずれも 8000 がデフォルトで選択されるようになっています。 Python Tips:string の format 内で {} を出力したい. Python の format で {} を出力する方法をご紹介します。 まず python の format とは何のことを言っているかといいますと、次の文字列の format メソッドのことを指しています。 フォーマットのシンタックス - Python 公式ドキュメント.
lifewithpython.com
Python Tips:pip そのものをアップデートしたい - Life with Python
http://www.lifewithpython.com/2015/07/pip-upgrade-itself.html
Python Tips:pip そのものをアップデートしたい. Python のパッケージ管理コマンドである pip 自身をアップデートする方法をご紹介します。 Pip は pip そのものが PyPI パッケージとなっているので pip コマンドでアップデートすることができます。 PyPI パッケージをアップデートするには `pip install` に `- upgrade` オプションを付けて実行します。 Pip install - upgrade pip. しばらく気づきませんでしたが、 2014 年の年末頃のアップデートから pip のバージョンが 1.5 から 6.0 となり、最初の 1 を取った形でのバージョン表記になったようです。引き続き活発に開発が進められているようで頼もしいです。 Python - How do I update pip itself from inside my virtual environment? プログラミング言語 Python の使い方について書いています。 Pythonで一番最初に入れるべきパッケージ setuptools と pip.
lifewithpython.com
Life with Python: 2月 2015
http://www.lifewithpython.com/2015_02_01_archive.html
Collectons の Counter というクラスを使うときれいに書くことができます。 以上です。少し変更して標準入力を受け付けるようにすると、ちょっとした英単語カウンタとして使えます。 Python: Split string with multiple delimiters - Stack Overflow. Python Tips:標準入力を 1 行ずつ処理したい. Python で標準入力から入力を得て 1 行ずつ処理する方法をご紹介します。 ちょっとしたコマンドラインツールを作るときに 1 行ずつ処理できれば便利かと思います。 やり方はいくつか考えられるかと思いますが、ひとつカンタンな方法は fileinput ライブラリを使う方法です。 ライブラリを読み込み import fileinput # 入力の各行に対して処理を行う for line in fileinput.input(): # some process. pass. たとえば、単語の数を行ごとに数えてみたいなら次のようにすれば OK です。 次の内容のファイル sample.txt があったとすると. 生成される合成リストの...
techarttiki.blogspot.com
Tech Art Tiki: Perforce Python API Basics
http://techarttiki.blogspot.com/2012/03/perforce-python-api-basics.html
If it ain't broke, it will be soon. Thursday, March 1, 2012. Perforce Python API Basics. Many Python users working with Perforce believe that calling out to "p4.exe" with subprocess is the only method available. Perforce actually maintains free, native API packages. Here is a dead-simple example, showing how to use the Perforce Python API to sync all files in a certain depot folder. You can also use the "with" statement to easily manage the connection, automatically disconnecting when that block of code ...
elviajedelnavegante.blogspot.com
El viaje del navegante: marzo 2012
http://elviajedelnavegante.blogspot.com/2012_03_01_archive.html
El viaje del navegante. Blog de programación Python en español. Sábado, 31 de marzo de 2012. Desarrollo de software profesional. Hola El pasado Miércoles 28 de Marzo di una charla en el IES Al-Ándalus. Sobre desarrollo de software profesional. El link es: http:/ prezi.com/o1hlpdzzbcuj/. La presentación es vía web, no la tenéis que descargar. Enlaces a esta entrada. Enviar por correo electrónico. Viernes, 23 de marzo de 2012. La evolución de la programación. Enlaces a esta entrada. Ver todo mi perfil.
elviajedelnavegante.blogspot.com
El viaje del navegante: enero 2011
http://elviajedelnavegante.blogspot.com/2011_01_01_archive.html
El viaje del navegante. Blog de programación Python en español. Jueves, 27 de enero de 2011. Persistencia de imágenes con Python: SQLServer y cPickle. Hola En este artículo vamos a ver cómo guardar y recuperar imágenes de una base de datos Microsoft SQLServer 2005 Express Edition. Así como guardar y recuperar también, imágenes, en un objeto que se serializa. Guardando dicha información en disco, mediante cPickle. Antes de nada comentar que en este blog. Se han tratado varios tipos de SGBD. Como podemos o...
namiezi.wordpress.com
Testbericht zu congstar Prepaid | Na Miezi
https://namiezi.wordpress.com/2013/03/02/testbericht-zu-congstar-prepaid
Thoughts maybe worth spreading. Testbericht zu congstar Prepaid. Ein kleiner Artikel in eigener Sache: Wer von euch auf der Suche nach einem guten Prepaid-Tarif ist, der sollte sich unbedingt mal den Testbericht zu congstar Prepaid. Durchlesen, den ich auf Prepaid-Experten.de. Dort schaue ich mir die Konditionen von congstar genau an:. Was kostet das Telefonieren. Wie gut ist der Service. Was kostet der Auslandstarif und Roaming. Ferner habe ich mir auch sehr genau die Zusatz-Optionen von congstar Prepaid.
SOCIAL ENGAGEMENT