A few pointers to better utilise python dictionaries

Introduction

Python dictionaries are flexible containers that map a key to a value. Knowing how to use dictionaries is an essential skill for the of any pythonist.

This blog covers a few notes on Python dictionaries which have helped me improve my dict game. Much of it might be already familiar to you if are an (>=) intermediate level python programmer. But I still hope that you will enjoy this article and perhaps take away a thing or two.

I have tried to make this blog beginner-friendly, but if you are not very familiar with dict, you might find a…


Introduction

I came across a problem while trying to use emojis in LaTeX, specifically in Overleaf. I was writing a paper on detecting hate speech in social media and wanted to give some examples of social media posts. But these examples contained emojis which wouldn’t render.

For instance, if I were to type “I am having a good day!😃😊” in Overleaf’s LaTeX editor, it would show up as “I am having a good day!����”. This is not what we want.

Some answers over StackOverFlow recommend using `LuaLaTeX` or `XeLaTeX`. If switching over to LuaLatex is no issue for you, then you…

Kaushik Amar Das

Post Grad in Computer Science and Engineering

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store