Kushal Das

FOSS and life. Kushal Das talks here.

kushal76uaid62oup5774umh654scnu5dwzh4u2534qxhcbi4wbab3ad.onion

Python 101 session this Sunday

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 :)