Навколо розробки – Telegram
Навколо розробки
155 subscribers
50 photos
1 file
366 links
Привіт, мене звати Дмитро, колись я зробив цей канал щоб ділитися в ньому цікавинками та корисностями, частково це, сподіваюся, вдається
Download Telegram
Want to understand CPython deeper? Start with Byterun - this will lead you to good understanding of how Python interpreters work. Enjoy this read!
http://www.aosabook.org/en/500L/a-python-interpreter-written-in-python.html
>>> def foo(x=[]):
... x.append(42)
... print x
...
>>> foo()
[42]
>>> foo()
[42, 42]
>>> foo()
[42, 42, 42]

...just remember this behavior of the mutable default arguments!
Watch this video and start your new application in a new, smarter way: https://www.youtube.com/watch?v=DJtef410XaM
Happy new year! Run this noscript:
"""
Bitwise Happy New Year 2018!
Coded by Kuba Siekierzyński (c) 2017

"""

k = [19297169, 19483217, 32469898, 19481092, 19481092, 0, 1145376, 1655328, 1405472, 1262240, 1145152, 0, 4580976, 4524360, 2740080, 1116496, 1173832, 0, 3245154, 4869266, 1201250, 2245776, 7970402]

for j in k:
for i in range(25):
print(chr(176 + bool(j & 2**(24-i)) * 43), end='\n'*(i//24))
A little guide to namespaces in Python - check it out, if you want to remind what’s the meaning of the LEGB abbreviation: http://sebastianraschka.com/Articles/2014_python_scope_and_namespaces.html
Wonderful Armin Ronacher explains more about unicode in Python 2 and Python 3 in this must-read article, please enjoy your evening reading!
http://lucumr.pocoo.org/2014/1/5/unicode-in-2-and-3/
A little guide on how to create packages by yourself in Python:
http://flask.pocoo.org/docs/0.12/patterns/distribute/
A must-read article on key differences between 2.7.x and 3.x versions of Python:
http://sebastianraschka.com/Articles/2014_python_2_3_key_diff.html
A Crash Course in Python for Scientists
Rick Muller, Sandia National Laboratories:
http://nbviewer.jupyter.org/gist/rpmuller/5920182
Overview one of the new feature that will be on board of Python 3.7:
https://hackernoon.com/a-brief-tour-of-python-3-7-data-classes-22ee5e046517
Channel photo updated
I never thought Microsoft would do that good for Python developers (and not only) until I tried VS Code with Microsoft Python plugin. It's just amazing. If you are a long time Sublime Text or PyCharm user - you definitely should try it. Here is the link: https://code.visualstudio.com/. It's free and extremely usable (despite it's built with Electron, ha-ha).