Showing results for Python - Python

Jun 7, 2016
0
1

Python lambda expressions unleashed

CarlKadie CarlKadie

Carl Kadie, Ph.D., is a research developer in Microsoft Research/TnR working on Genomics. Lambda expressions provide a way to pass functionality into a function. Sadly, Python puts two annoying restrictions on lambda expressions. First, lambdas can only contain an expression, not statements. Second, lambdas can't be serialized to disk. ...

pythonJupyter
May 25, 2016
0
0

Microsoft at PyCon US 2016

Steve Dower Steve Dower

This coming weekend is the start of PyCon US 2016 in Portland, USA. And as usual, we've sponsored the conference and will be bringing some of our engineering team. Here's where you'll be able to find us: Booth For many people, the main attraction is the Expo Hall. Here most of the sponsoring organizations will have booths set up to tell you about...

pycon
May 10, 2016
0
0

How to debug Python Azure Worker Roles

Christopher Wilcox Christopher Wilcox

Two months ago I wrote a blog post on Python 3 Adoption. If you want to read the first post you can find it here. In the two months since that blog post was written we have more data to process and I got to thinking: why shouldn't we scale this up and increase the performance a bit? You'll recall that I used a worker role on Azure to process ...

Apr 26, 2016
0
1

Using CPython’s Embeddable Zip File

Steve Dower Steve Dower

On the download page for CPython 3.5.1, you'll see a wide range of options. Not all of these are well explained, especially for Windows users who have seven (seven!) choices. Let me restructure the Windows items into a more feature-focused table: As is fairly common with installers these days, you have the choice to download everything in ...

cpython
Apr 18, 2016
0
0

Idiomatic Python: boolean expressions

Brett Cannon Brett Cannon

You might think that boolean expressions -- most frequently used as conditional guards which are the the bit of code that tests whether an or statement should execute -- are a fairly straight-forward concept and that there isn't really anything subtle to them at all. And while the general concept is simple, there are some idiomatic practices to ...

code-styleidioms
Apr 11, 2016
2
0

How to deal with the pain of “unable to find vcvarsall.bat”

Steve Dower Steve Dower

Python's packaging ecosystem is one of its biggest strengths, but Windows users are often frustrated by packages that do not install properly. One of the most common errors you'll see is this one: As far as errors go, "unable to find vcvarsall.bat" is not the most helpful. What is this mythical batch file? Why do I need it? Where can I get it? ...

cpython
Mar 29, 2016
0
0

Implementing a code of conduct for all of our open source work

Brett Cannon Brett Cannon

When working in the open source world it is very important that everyone feels welcome and safe. External contributors to a project need to feel welcome so that they want to contribute to the project. Since contributing to open source is an inherently social event due to the fact that there will be interactions through issues, code reviews, etc., ...

project-management
Mar 14, 2016
0
1

Idiomatic Python: comprehensions

Brett Cannon Brett Cannon

We're lucky to have a few people on our team who have been programming in Python for quite a while (I myself have been using the language now for over 15 years). Over the course of time we have picked up various idioms for programming in Python that may not be obvious or widely known for various reasons. To help share some of this knowledge we plan...

code-styleidioms
Feb 29, 2016
0
0

PyCaribbean 2016

Steve Dower Steve Dower

Last week I attended the first ever PyCaribbean conference, organised by the local community and held in Santo Domingo, the capital city of the Dominican Republic. Conferences like PyCaribbean are an opportunity for Python developers and enthusiasts to come together and meet, network, discuss, and generally enjoy being part of a global community...

Feb 23, 2016
0
0

Microsoft and Project Jupyter

Christopher Wilcox Christopher Wilcox

Jupyter, formerly IPython, is more than just an execution environment for  Python, R, and many other languages. With code, markdown, inline graphics, and more features, it provides a convenient, browser-based canvas for prototyping, collaborating, and sharing ideas. This environment has been embraced by the community and for good reason; it ...

Feedback