TheLearningDev's Blog

TheLearningDev's Blog

Follow
Follow
homeBuild Your Own Python Project
Tag

Python

#python

More content

Read more stories on Hashnode


Articles with this tag

A Burned-Out Developer to Indie-Hacker Dev Retro 2022

Bhavani RaviBhavani Ravi
Jan 1, 20235 min read

I always wanted to be a techie. Right from when I knew Software engineering was a profession. Someone who can master any technology, spin up any...

A Burned-Out Developer to Indie-Hacker
Dev Retro 2022

What is __name__ == "__main__" in Python?

Bhavani RaviBhavani Ravi
Nov 22, 20221 min read

Python snippets use name == "main" checks to ensure that the module-specific code is run only when they are run directly via Python. If you are a...

What is __name__ == "__main__" in Python?

When to use List vs Dict in Python?

Bhavani RaviBhavani Ravi
Oct 28, 20222 min read

Lists Only a single data point for each item To find an item we have to loop the whole list my_books = ["Atomic Habits", "Life is what you make it",...

When to use List vs Dict in Python?

Python: Iterables and Iterators

Bhavani RaviBhavani Ravi
Sep 24, 20222 min read

I was teaching PythonToProject Bootcamp the other day. As an add-on module, I was teaching Iterators and how to implement custom iterators in...

Python: Iterables and Iterators

"yield" keyword in Python

Bhavani RaviBhavani Ravi
Sep 23, 20221 min read

What does the "yield" keyword do in Python? · "yield" is a Python keyword that can be used in a function instead of return. def scale_vector(vector,...

"yield" keyword in Python

How to Run a Script when Python Shell Starts up?

Bhavani RaviBhavani Ravi
Jun 25, 20222 min read

What's the use of the PYTHONSTARTUP variable? · In the previous post, we explored various ways to clear the Python shell. tl;dr import...

How to Run a Script when Python Shell Starts up?