visit
Type Annotation are a quick way to validate the actual type of the variables or arguments that are being passed to the functions it is also called type hinting.
Classic nursery rhymes and fairy tales are translated into Python code in my upcoming picture book that teaches Python programming to beginners.
Encryption is a way of encoding human-readable data with encrypted code that enables the use of a password to view the source and data stored.
Python provides built-in functions to perform file operations, such as creating, reading, and writing into text files.
We use PIL (Pillow) to create pixelated Image using Python. Firstly, resize down an image and then resize it up to get pixelated effect. Basic image operations.
Mutable arguments get bind to the function the moment the function definition ends and are therefore modified each time instead of re-initialisation.
Python is a language known for being modular. It has an extensive standard library and its simple to use syntax facilitates coding in the language.
We can get the file size in Python using OS module and Pathlib module. The other methods we can use are os.path.getsize(), os.stat(), and path.stat().st_mode.
I find the Monty Hall Problem one of the most fascinating brain teasers, because it seems deceivingly simple. When Marilyn Von Savant, the woman with the highest IQ, answered this brainteaser correctly in 1991, she was inundated with over 10,000 letters from academics and Ph.Ds criticizing her “error”, only to be proven later that she was correct.
In this guide, we will cover everything you need to know about Python dictionaries.
In this Python tutorial, we will learn how to Write a text on an image, Change the size of the text and Centre the text on an image
In this blog, we will see how a network mapper works and how we can implement these network security tools in Python for our cybersecurity related projects
These are some best practices in python being followed by the python community when it comes to naming your variables.
In this guide, we'll cover how to use Tuples, as well as some of the methods and things you'd want to do with them.
Python Is beginner-friendly, has a strong ecosystem, and is a popular choice for AI, research, and automation. Here's how to teach yourself python online.
Usually I found myself reading more than 100 tweets per day, so I thought that using all that 'reading power' to read a book using tweets could be a good idea.
When you say, what could be the future of programming or which programming language will boom, it should be Python, always. Just look at the 2019 survey from Stack overflow. It is quite obvious that python is taking the lead now.
Brief reviews on popular Python compilers like Cython, PyPy, and the default Python interpreter CPython.
Getting input from the user is what makes a program more interactive with the user.
Beginner Python tutorial explaining the basics of Tkinter GUI application development
If you’re new to programming, are a computer teacher, or just a parent planning to get his child started with programming – you must be wondering where to start. C++, C, Java, Python – there are just too many options out there! While all these languages are great in their own right and popular, the debate between C++ and python has been intense for sometime.
Let's start with some of the basics, and then dive into useful ways you'll be able to work with lists.
Let’s start this journey of programming with gaining some knowledge on the Python programming language.
As you know, Python is a very popular language and already takes 1st place in the TIOBE rating. And in the classical understanding of Python, in 90% of cases, CPython is meant. It is a reference implementation of the interpreter under the guidance of Guido van Rossum. Version 3.10 is current as of November 14, 2021. By now, Python means only version 3, but before this version appeared, mentions of version 2 can still be found. Now version 2 is not supported and most companies are removing the remnants of the code from version 2. by porting the code to version 3. As of January 1, 2020, Python 2 is no longer supported [//www.python.org/doc/sunset-python-2/]. And this is quite understandable since, after the release of Python 3 in 2006, developers had to support 2 versions at the same time, which is laborious.
Let's discuss the strings primitive data type and it means. This will answer the question of what's the difference between variables and strings.
You are not a programmer. You have zero coding experience. You probably consider yourself “not a math person”. So let’s find out how you can learn Python, even if you’ve never had any exposure to a programming language.
A Concise Overview of Data Model, Special Methods and the Collection API in Python.
Python lessons for beginner and advanced level at the same time
We will discover what are variables in this video. How is data stored into variables and then how you can retrieve it later for easier access. We will look at all this through a visualization using the Turtle library from Python.
We cover the most basic 'hello world' exercise! This will be fun and now you are on your way to an exciting journey!
SQL is a structured query language that is used to communicate with a database where the database is the organized collection of data that is usually stored electronically on your computer.
10 Ways to refactor Python code to make it more Pythonic
Today you’re going to learn about python list comprehension, a very powerful feature of python to use when creating a python List based on certain constraints.
Let's cover the awesomeness of primitive data types. What are integers, floats, or strings!? I don't know... Let's find out!
When starting a new Python project, it is tempting to just dive in and start coding. Spending a tiny amount of time to setup a project with the best tools will
As with all other languages, Python has variables that can be defined to hold data.
Hello guys , in this blog post I have organized 40 Python projects that you might be interested trying out ranging from webscraping to to natural language processing.
Data types are one of the building blocks of python. And You can do a lot of things with data types!
Here are a few job roles that you can fill after completing your Python learning.
A python substring is a sequence of characters within a string, in this article you will learn various operations related to them and how to use them.
print() function and input() function makes the program more interactive with the user.
We will discuss the difference between an interactive python terminal vs. A python script.
In this post, I'll give the brief intro of each 6 highly used ML packages, what is the purpose and when to use.
Let's go over the solution of how to create a circle out of squares, the exercise which I gave you in the last tutorial.
In this article you’re going to learn how to work with files in python, you gonna learn various techniques on how open, read, manipulate, and save files in python.
In this one, we explore the concept of looping constructs, visually, in computer programming.
In this part of the Learn Python for Beginners series... We go over how to use the turtle module and learn computer programming in a fun visual way. Things like functions, variables, and more will start to make sense instantly.
Learn how to write a function that makes a circle of squares!
What are functions? We discuss how functions work and allow you to use clean, reusable code. We do this while visualizing our code through the Turtle library in python.
Let's talk about the list data structure of python and discuss why it's so wonderful.
Let's see how functions accept multiple arguments, or parameters, or inputs. Those are interchangeable terms.
Let's talk about the append method of a list and how it works
This little image classifier is a showcase of how easy it is to create a functional image classifier using just basic python and some easy to use and well-documented libraries.
Let's talk about the most important thing in programming... BOOOOOOOLEAN ALGEBRA. Hmm... Is that a True statement OR False? Watch the video AND find out... Or NOT... Up to you.
Let's discuss string slicing and you'll know how string slicing is an amazing aspect of python programming.
Let's cover conditionals and control flow! This includes your Boolean logic combined with Boolean operators combined with if then type of statements!
Let's talk about yet another fascinating data structure known as dictionaries. Ever wondered how your iPhone stores phone numbers and then allows for simple and efficient lookups? Well, no need to wonder anymore after you watch this video!
Let's cover logical AND, OR & NOT..
Let's talk about 'for' loops and why they are so important! Anything that requires repetition. 'For' loops are your friends!