Python tutorials

Creating a Neural Network from Scratch in Python

This is the first article in the series of articles on “Creating a Neural Network From Scratch in Python”. Introduction Have you ever wondered how chatbots like Siri, Alexa, and Cortona are able to respond to user queries? Or how the autonomous cars are able to drive themselves without any human help? All of these fancy products have one thing in common: Artificial Intelligence (AI). It is the AI which enables them to perform such tasks without being supervised or […]

Read more

A Brief Look at Web Development in Python

Introduction Since 2003, Python has ranked in the top 10 programming languages to learn and its ranking has been consistently improving ever since. According to a statistic, Python is one of the top 5 languages to learn in 2019 and has become an essential part of the programming community, thanks to its simplicity, flexibility, robustness, ease of use, compatibility, speed, and versatility. Furthermore, tech giants like Instagram, Spotify, and Google base, at least in part, of their architecture in Python. […]

Read more

Creating a Neural Network from Scratch in Python: Adding Hidden Layers

This is the second article in the series of articles on “Creating a Neural Network From Scratch in Python”. If you are absolutely beginner to neural networks, you should read Part 1 of this series first (linked above). Once you are comfortable with the concepts explained in that article, you can come back and continue with this article. Introduction In the previous article, we started our discussion about artificial neural networks; we saw how to create a simple neural network […]

Read more

Python GUI Development with Tkinter

This is the first installment of our multi-part series on developing GUIs in Python using Tkinter. Check out the links below for the next parts to this series: Introduction If you’re reading this article, there’s a chance that you are one of those people who appreciate software operated via a simple command-line interface. It’s quick, easy on your system’s resources, and probably much faster to use for a keyboard virtuoso like yourself. However, it’s no secret that if we want […]

Read more

Creating a Neural Network from Scratch in Python: Multi-class Classification

This is the third article in the series of articles on “Creating a Neural Network From Scratch in Python”. If you have no prior experience with neural networks, I would suggest you first read Part 1 and Part 2 of the series (linked above). Once you feel comfortable with the concepts explained in those articles, you can come back and continue this article. Introduction In the previous article, we saw how we can create a neural network from scratch, which […]

Read more

Python Dictionary Tutorial

Introduction Python comes with a variety of built-in data structures, capable of storing different types of data. A Python dictionary is one such data structure that can store data in the form of key-value pairs. The values in a Python dictionary can be accessed using the keys. In this article, we will be discussing the Python dictionary in detail. Creating a Dictionary To create a Python dictionary, we need to pass a sequence of items inside curly braces {}, and […]

Read more

Getting User Input in Python

Introduction The way in which information is obtained and handled is one of the most important aspects in the ethos of any programming language, more so for the information supplied and obtained from the user. Python, while comparatively slow in this regard when compared to other programming languages like C or Java, contains robust tools to obtain, analyze, and process data obtained directly from the end user. This article briefly explains how different Python functions can be used to obtain […]

Read more

Vim for Python Development

What is Vim? Vim is a powerful text editor that belongs to one of the default components on every Linux distribution, as well as Mac OSX. Vim follows its own concept of usage, causing the community to divide into strong supporters and vehement opponents that are in favor for other editors like Emacs. (By the way, that’s very nice in winter in order to see the two enthusiastic teams having an extensive snowball fight together). Vim can be individualized and […]

Read more

Object Oriented Programming in Python

Introduction Object-Oriented Programming (OOP) is a programming paradigm where different components of a computer program are modeled after real-world objects. An object is anything that has some characteristics and can perform a function. Consider a scenario where you have to develop a Formula 1 car racing game using the object-oriented programming approach. The first thing you need to do is to identify real-world objects in the actual Formula 1 race. What are the entities in a Formula 1 race that […]

Read more
1 179 180 181 182