background preloader

Py:Tips

Facebook Twitter

Pygrunn: Python, WebRTC and You - Saúl Ibarra Corretgé. Tags: pygrunn, python, django (One of the summaries of the 2015 Pygrunn conference ) Saúl Ibarra Corretgé does telecom and VOIP stuff for his work, which is what webRTC calls legacy :-) webRTC is Real-Time Communication for the web via simple APIs.

Pygrunn: Python, WebRTC and You - Saúl Ibarra Corretgé

So: voice calling, video chat, P2P file sharing without needing internal or external plugins. Basically it is a big pile of C++ that sits in your browser. There are several javascript libraries for webRTC. Once you have a connection, you have an RTCDataChannel. @DevOpsSummit #DevOps #Containers #Microservices. Seven Ways to Improve Your Python Performance Python is really a language which has swept the scene in recent years in terms of popularity, elegance, and functionality.

@DevOpsSummit #DevOps #Containers #Microservices

Research shows that 8 out 10 computer science departments in the U.S. now teach their introductory courses with Python, surpassing Java. Top-ranked CS departments at MIT and UC Berkeley have switched their introductory courses to Python. And the top three MOOC providers (edX, Coursera, and Udacity) all offer introductory programming courses in Python. Not to mention, Python is known to have an easy syntax that makes learning much more tolerable, and it scales up easily – especially in cloud-based environments. As powerful as Python is, there’s always room for improvement. 1. Python has developed a reputation as a solid, high-performance language. 2.

Generators are helpful in memory optimization because they allow you to create a function that returns one item at a time rather than all the items at once. Import operator 3. Program Configuration in Python. Keep This Python Cheat Sheet On Hand When Learning To Code. Python is one of the best programming languages to learn.

Keep This Python Cheat Sheet On Hand When Learning To Code

As you get started, this one-page reference sheet of variables, methods and formatting options could come in handy. Provided by Dave Child, the cheat sheet includes both built-in system and operating system variables, as well as standard methods for working with lists, files and strings. You can download it for free in PDF or PNG version or view it online at the link below.

Real Python Blog - Real Python. 30 Python Language Features and Tricks You May Not Know About. 1 Introduction Since I started learning Python, I decided to maintain an often visited list of "tricks".

30 Python Language Features and Tricks You May Not Know About

Any time I saw a piece of code (in an example, on Stack Overflow, in open source software, etc.) that made me think "Cool! Keeping It Classless. If you're new here, you may want to subscribe to my RSS feed, or follow me on Twitter!

Keeping It Classless

That way you can stay up to date with all Keeping It Classless posts! It’s been really interesting to see the industry in an all-out zerg rush to adopt Python as a skill-set. What is it about this seemingly arbitrary selection in the vast array of programming languages available out there? What is so special about Python that it comes up in nearly every conversation about SDN? This post has been in drafts for some time, and I was motivated to finish it up by this Packet Pushers episode, where Jeremy Schulman and others discuss Python and its impact to networking. Let’s think about what we’re trying to do when it comes to network programmability.

The networking industry (in general) tends to fall back on what’s easy, and what’s cheap – interoperability tends to trump every other consideration. A better, and perhaps even more practical example would be the education of engineers new to networking. Matt O.

Py: language

Py: Dev. Python for Kids: A Playful Introduction to Programming: Jason R. Briggs: 9781593274078: Amazon.com. [citation needed]» Blog Archive » The homogenization of scientific computing, or why Python is steadily eating other languages’ lunch. Over the past two years, my scientific computing toolbox been steadily homogenizing.

[citation needed]» Blog Archive » The homogenization of scientific computing, or why Python is steadily eating other languages’ lunch

Don't do this. Humor. Accelerating Python Libraries with Numba (Part 2) Accelerating Python Libraries with Numba (Part 2) Introduction Welcome.

Accelerating Python Libraries with Numba (Part 2)

This post is part of a series of Continuum Analytics Open Notebooks showcasing our projects, products, and services. In this Continuum Open Notebook, you’ll learn more about how Numba works and how it reduces your programming effort, and see that it achieves comparable performance to C and Cython over a range of benchmarks. If you are reading the blog form of this notebook, you can run the code yourself on our cloud-based Python-in-the-browser app, Wakari. How Does Numba Work? Numba is a Continuum Analytics-sponsored open source project. C = a+b We’ll assume that a and b are both floating-point numbers. The same statement in Python will generate dozens of instructions. S humble adode - John Anderson.

$ git clone $ cd dotfiles $ .

s humble adode - John Anderson

/install.sh vim Download PDF Version Back in 2008, I wrote the article Python with a modular IDE (Vim). Years later, I have people e-mailing me and commenting daily asking for more information, even though most of the information in it is outdated. Here is the modern way to work with Python and Vim to achieve the perfect environment. Because one of the most important parts about a development environment is the ability to easily reproduce across machines, we are going to store our vim configuration in git: $ mkdir ~/.vim/ $ mkdir ~/.vim/{autoload,bundle} $ cd ~/.vim/ $ git init The purpose of the autoload directory is to automatically load the vim plugin Pathogen, which we'll then use to load all other plugins that are located in the bundle directory.