June 5th, 2017

Kushal Das: Python 101 session this Sunday

Programing, Python, by admin.

This Sunday I took a Python 101 session in the
reserved-bit, the local hackerspace in Pune. I was
hoping that jetlag (from the PyCon trip) would be over, but it was not the case
🙁 But, starting at 11 AM helped.

There were around 10 participants, and all of them wrote code before in various
languages. A few had previous experiences with Python. Because of different
Operating Systems, and also not being able to install things on a corporate
laptop, my idea of using Microsoft Azure
notebook
service in this session helped. This
also made sure that all of us were using the same version of Python (3.6) and
the same environment.

Because of the nature of the participants, I decided to skip various basic
examples, and tried to more longer code just after the lunch break. During our
reading a file example we figured out that the notebooks are running in Ubuntu
16.04.2 LTS (Xenial Xerus) from the /etc/os-release file.

As a whole this was fun, debugging was easy on the notebooks. At the end when
people asked what IDE to try, my default answer
PyCharm came up 🙂 Btw, in the image
below, on the left-hand side, you can see a function call we wrote in the
session to get the latest cricket match score using requests module 🙂

Back Top

Leave a Reply