Blog

Page 199 of my articles, tutorials, and thoughts

Latest Articles

Cover Image for What does character set and collation mean exactly?
mysql

What does character set and collation mean exactly?

Published on September 2, 2023

šŸ“ **Tech Blog Post: Decoding Character Set and Collation: Everything You Need to Know!** 🌟 Hey there, tech enthusiasts! šŸ˜Ž Are you unfamiliar with the terms "character set" and "collation" in the context of database management systems like MySQL? Don't

Cover Image for Print without b" prefix for bytes in Python 3
pythonpython-3.xstring

Print without b" prefix for bytes in Python 3

Published on September 2, 2023

# šŸ–Ø Print without b' prefix for bytes in Python 3 So you're working with Python 3 and `bytes` strings and you want to print them without that annoying `b'` prefix. You're not alone! This is a common issue that Python developers face. But fear not, for I'

Cover Image for Understanding the main method of python
pythonpython-3.x

Understanding the main method of python

Published on September 2, 2023

# Understanding the main method in Python šŸ Python is a popular programming language known for its simplicity and readability. If you're new to Python, or coming from another object-oriented programming (OOP) language like Java, you might be wondering ab

Cover Image for Why is x**4.0 faster than x**4 in Python 3?
performancepythonpython-3.xpython-internals

Why is x**4.0 faster than x**4 in Python 3?

Published on September 2, 2023

# šŸš€ Why is `x**4.0` faster than `x**4` in Python 3? Have you ever wondered why raising a number to the power of 4 as a float is faster than raising it to the power of 4 as an integer in Python 3? šŸ¤” Let's dive into this interesting phenomenon and explor

Cover Image for How does tf.app.run() work?
pythonpython-3.x

How does tf.app.run() work?

Published on September 2, 2023

# šŸš€ Demystifying tf.app.run() in Tensorflow Translate Demo šŸš€ Are you ready to dive deep into the inner workings of TensorFlow's magical `tf.app.run()` function? šŸ§™ā€ā™‚ļø Here, we will unravel the mysteries surrounding this function and understand how it wo

Cover Image for How to print like printf in Python3?
pythonpython-3.xstring

How to print like printf in Python3?

Published on September 2, 2023

# How to Print Like `printf` in Python 3? Do you miss the good old days of using the `printf` function in Python 2 for all your printing needs? šŸ¤” Don't worry, I've got you covered! In this guide, I'll show you how to achieve similar functionality in Pyth

Cover Image for Display all dataframe columns in a Jupyter Python Notebook
dataframepythonpython-3.x

Display all dataframe columns in a Jupyter Python Notebook

Published on September 2, 2023

# Displaying All Dataframe Columns in a Jupyter Python Notebook: Decoding the Mystery of the Dots 🧐 Do you ever find yourself staring at a table in your Jupyter Python Notebook, wondering why some of the columns mysteriously disappeared, only to be repla

Cover Image for TypeError: "dict_keys" object does not support indexing
dictionarypythonpython-3.x

TypeError: "dict_keys" object does not support indexing

Published on September 2, 2023

šŸ“ **Title: Solving the 'TypeError: 'dict_keys' object does not support indexing' Error** šŸ‘‹ Hello there, tech enthusiasts! Have you ever encountered a baffling error message like `'TypeError: 'dict_keys' object does not support indexing'` when running co

Cover Image for How To Check If A Key in **kwargs Exists?
dictionarypythonpython-3.x

How To Check If A Key in **kwargs Exists?

Published on September 2, 2023

## How To Check If A Key in **kwargs Exists? So, you're working with **kwargs in Python and you're trying to figure out if a specific key exists in it. It can be a bit confusing because **kwargs, unlike regular variables, don't play by the same rules. But

Cover Image for Auto-create primary key used when not defining a primary key type warning in Django
pythonpython-3.x

Auto-create primary key used when not defining a primary key type warning in Django

Published on September 2, 2023

šŸ“ **Understanding the Auto-create Primary Key Warning in Django** Hey there! Have you recently updated your Python version and encountered a warning message about the "Auto-created primary key used when not defining a primary key type" in Django? Don't w