July Meetup


Details
Schedule
• Python Gotchas (20 min)
• Think your Python code is slow? (20 min)
• Networking Tea Break sponsored by Logic Soft Pvt. Ltd. (http://logicsoft.co.in/) (30 min)
• Setting up Emacs for Python Development (20 min)
• Efficient unicode integration in Python (20 min)
• Lightning Talks (20 min)
• Discussions (20 min)
Python Gotchas
Speaker: Naren (https://www.meetup.com/Chennaipy/members/190997105/)
Python aims to be a clean and consistent language that avoids surprises. However, there are few edge cases that can be confusing to newcomers or sometimes even the experienced ones. If you are not aware of these gotchas, you might conclude that the language is poorly designed when you come across it in production. Some cases are intentional but can be surprising, for example
>>> hash(2) => 2
>>> hash(-2) => -2
>>> hash(-1) => -2 #really?
It might seem strange at first glance, but it makes more sense once you are aware of the underlying reasons for the surprises. This will be an interactive talk where I will be talking about these gotchas with few examples and the audience will be able to guess what/why python behaves the way it does.
Think your Python code is slow?
Speaker: Ambarish KC (https://www.meetup.com/Chennaipy/members/186068615/)
Learn how to measure and improve the performance
Many of us blame python for being slow. Ever thought it's not python's fault all of those times. May be it's our code that is at fault. It is useless trying to blindly optimize a program without measuring where it is actually spending its time. There are many things that can be measured on our code. This talk will focus on profiling different parts of your program like line by line analysis, memory used by each objects, memory leaks, objects that causes these memory leaks, etc. The profiling and analysis will be done using python standard libraries (cProfile and profile) and also using some open source libraries (line_profiler and memory_profiler)
Setting up Emacs for Python Development
Speaker: Kiran (https://www.meetup.com/Chennaipy/members/25235992/)
In this talk, I'll showcase how Emacs can be setup as a productive environment for Python development. Specifically, I'll introduce various packages that can be very helpful when working with Python.
Efficient unicode integration in Python
Speaker: Hans Krupakar (https://www.meetup.com/Chennaipy/members/209395366/)
Have you ever worked with unicode in Python? If you have, you must be familiar with the encode and decode methods that you would've used. But these functions aren't exactly user friendly. You must have used random encode decode copy-pastes from stack overflow. The error messages are often cryptic. For example, for an encode(str, encoding='utf-8')
UnicodeDecodeError: 'ascii' codec can't decode byte 0xa0 in position 0: ordinal not in range(128).
Knowledge of the inner workings of handling unicode streams is imperative for efficient coding with Unicode, as is evident with the decode error for the encode method.

July Meetup