Vijaykrishna Ram

Using List Comprehension in Python

Hello everyone! Today, we’ll talk about how we can use List Comprehension in Python. List Comprehension is generally a syntactic sugar to make code easier to read and write. Often, when we deal with code involving creating lists, it is cumbersome to write nested loops again and again. Python has made this easier for us […]

Using List Comprehension in Python Read More »

Using the Python locals() function

Today, we’ll be looking at using the Python locals() function. This is yet another utility function which is quite useful for debugging your program. The locals() function gives us the current local symbol table, as a dictionary. Now, if you’re unsure as to what exactly a local symbol table is, keep reading. Let’s go step

Using the Python locals() function Read More »

Tkinter TreeView Widget

Hello again! As a part of our Tkinter tutorial series, today’s post will cover the TreeView widget. The TreeView widget is very useful if you want to display a hierarchy of items, with all attributes listed side by side. For example, if you want to construct an application which looks like the Windows File Explorer,

Tkinter TreeView Widget Read More »