artur.balanuta.com
All Bookmarks – Artur Balanuta
http://artur.balanuta.com/bookmarks
One of the top 9% craziest individuals on this planet. Material Kit: Bootstrap UI based on Material Design. TripleSec: a simple Triple-Paranoid Symmetric encryption library. Game Physics and Networking. Better alternative to MSOffice for Linux. Correct Python String Frormatting. ZFS and Storage related technology Blog. Artur Balanuta, July 15, 2016 . PGP Key.
pybonacci.org
Cómo leer y escribir datos en archivos con NumPy | Pybonacci
http://pybonacci.org/2012/08/17/como-leer-y-escribir-datos-en-archivos-con-numpy
Analizando datos sobre el Brexit con Pandas. Como mejorar tu script fácilmente. Microentradas: Evitar ciertas etiquetas en la leyenda en Matplotlib. On Dibujando 100k tweets de mi ciudad. On Dibujando 100k tweets de mi ciudad. On Como hacer Análisis de Sentimiento en español. On Como hacer Análisis de Sentimiento en español. Kiko on Ejemplo de uso de Basemap y NetCDF4. Cómo leer y escribir datos en archivos con NumPy. August 17, 2012. Hoy vamos a ver rápidamente cómo leer datos desde un archivo con NumPy.
luojiahong.com
python之join和format | 老哥Blog
http://www.luojiahong.com/2016/10/08/python之join和format
Array = [ 'a'. Str = ','. Str = ','. Apos;a' 'b' 'c'. Apos;'.join(['a', 'b', 'c']). String concat, 一次加=分配一次内存空间, 拷贝两次. N次链接, 需要N-1次内存分配. String join, 计算序列所有元素字符串总长度, 用PyString FromStringAndSize( char*)NULL, sz)分配内存空间, 然后逐一拷贝. 一次内存操作. Print '%s' % 'aaa'. Print '%d' % 'dsa' #报错. Pritn '{}'.format('aaaa'). Pritn '{}'.format(3223). And Theme by Jacman.
jeffquast.com
Week of Apr 19, 2015 · Articles
https://jeffquast.com/post/weekof_2015_apr_19
Week of Apr 19, 2015. Most of my time was spent working towards merging my fork of blessings upstream. Erik Rose. Set a high bar of standard, mostly in documentation, that cost an estimated 40 hours to fulfill. The result is PR #104. 9,541 and -1,506. For style checking of reStructuredText files. Used this for the entire docs/ folder, loved it! But never released to pypi. Had to explicitly tool tox.ini to chose python2.7 for static analysis to workaround the issue using phrase:. Pypi has some pretty pick...
beauty-of-imagination.blogspot.com
Imagination: Eval is even more really dangerous than you think
http://beauty-of-imagination.blogspot.com/2015/04/eval-is-even-more-really-dangerous-than.html
The beauty of imagination is that sometimes it makes things come true. @ObnoxiousJul. Eval is even more really dangerous than you think. Preamble, I know about this excellent article:. Http:/ nedbatchelder.com/blog/201206/eval really is dangerous.html. I have a bigger objection than ned to use eval; python has potentially unsafe base types. His regexp was complex, and I told him can I try something? And I wrote "%2000.2000f" % 0.0. Then '*' * 20. And 2* 2* 2* 2* 2. All of them validated. And since we can...
beauty-of-imagination.blogspot.com
Imagination: April 2015
http://beauty-of-imagination.blogspot.com/2015_04_01_archive.html
The beauty of imagination is that sometimes it makes things come true. @ObnoxiousJul. De mes hypothèses farfelues et réaliste pour éradiquer les punaises de lit. Je passerais sous silence une possible expérience dont je ne connais pas l'issue, mais dont les circonstances sont tellement abracadabrantesques que toutes les issues entâcheront certainement à jamais ma renommée d'homme de bon sens. Néanmoins, j'ai une hypothèse. On imagine qu'il est plus facile de décrire ce qui est que ce qui n'est pas. Donc,...
corochann.com
python print, string manipulation summary
http://corochann.com/python-print-string-manipulation-summary-1067.html
Technology blog, Android TV articles in main. Chainer hands on tutorial. Android TV app tutorial. Hayya ‘alas Salah. Seikeidenron for Android TV. C/C Single File Execution Plugin. Python print, string manipulation summary. December 23, 2016. Updated on December 27, 2016. Middot; Leave a comment. Single quotation and double quotation for string. Comma: , ー variable arguments. And format() ー formatting string. Is function and not a keyword anymore. () must be used. Python 2 (compatible with python 3).
arogozhnikov.github.io
.new_item for python lists
http://arogozhnikov.github.io/2016/05/22/new-item-for-lists.html
Thoughts on science and programming. New item for python lists. May 22, 2016 Alex Rogozhnikov. Simple but neat python class. Is introduced and explained in this post. First, let me describe the situation when I need it. For example, take a Lasagne tutorial. It is quite long (which pushes researchers from lasagne), but mostly filled with fairly trivial operations that make it hard to grasp everything fast. And a full pass over the validation data:. Then we print the results for this epoch:. This code is n...
amnesiacprogrammer.com
Python — Amnesiac Programmer
http://www.amnesiacprogrammer.com/python
Good references to Python: ref. Create a new one with:. Python virtualenv/virtualenv.py venv name. Source venv name/bin/activate source venv name/bin/deactivate. There is a new way to do this with the venv module in Python 3. Python -m venv venv name source venv name/bin/activate. Use pip (aka the cheese shop). Pip install - upgrade flask pip freeze requirements.txt pip install -r requirements.txt pip list - outdated pip uninstall flask. A class has the form:. You can define member functions and variables.
tiptopcode.blogspot.com
Tip Top Code: [Python] Using % and .format() for great good!
http://tiptopcode.blogspot.com/2016/08/python-using-and-format-for-great-good.html
Sunday, August 21, 2016. Python] Using % and .format() for great good! Via: https:/ pyformat.info/. Python has had awesome string formatters for many years but the documentation on them is far too theoretic and technical. With this site we try to show you the most common use-cases covered by the old. Style string formatting API with practical examples. If not otherwise stated all examples work with Python 2.7, 3.2, 3.3, and 3.4 without requiring any additional libraries or monkey-patching. Method of an o...
SOCIAL ENGAGEMENT