Python — 30 Day Challenge

In this article, we will look into the built-in methods available in python for strings and how to use them

Python comes with a lot of features pre-packaged into it. One of the most extensive features is the built-in methods it comes with on strings. There are a lot of methods available for string manipulation already available in Python. In this article, we will look into the exhaustive list of built-in methods for strings in Python.

Image from Pexels

Formatting Strings:

Before looking into the various methods, we are going to look into how we can format strings in Python as it’s a topic on…


Python — 30 Day Challenge

In this article, we will start from the basics and dive deep into everything that you can do using a function in Python

Functions, a fundamental building block of modules in any programming language, are single self-contained blocks of code that ideally perform a single task. This article serves as a beginner-friendly way to start with functions in Python. We are going to cover a lot about functions in this article so let’s get started!!

Image from Pexels

Here’s a list of topics we will discuss on functions:

  • Defining your first function in Python
  • Parameters in Python
  • Positional Arguments
  • Keyword Arguments
  • Default Arguments
  • Variable Length Positional Arguments
  • Variable Length Keyword Arguments
  • Conclusion


30 Day Challenge

In this article, we will look into object-oriented programming theoretically and its basic principles

Object-oriented programming is one of the most popular programming paradigms used in almost every other language. In fact, Python is based on Object-oriented programming in the sense that every variable is considered an object in Python with multiple attributes and methods.

Image from Pexels

The article is divided as follows:

  • What is OOP?
  • Why OOP over Procedural Programming?
  • Four Principles of OOP
  • Encapsulation
  • Inheritance
  • Abstraction
  • Polymorphism
  • Conclusion

What is OOP?

Object-Oriented Programming or OOP, in short, is a programming paradigm much like procedural programming, which introduces the concept of programming to structure your programs in a way that properties and behaviors are bundled together as one…


In this article, we will start from the basics and dive deep into everything that a dictionary can do in Python

Dictionaries in Python, or hash tables in other programming languages, are one of the most efficient data structures for storing and retrieving values. They store each value against a key making a key-value pair. In this article, we will be learning everything that one should know about dictionaries to get started in Python.

Image from Pexels

Here’s a list of topics we will be covering regarding dictionaries today:

  • Intro to Dictionaries
  • How to define a dictionary
  • How to access a dictionary
  • How to assign values in a dictionary
  • Methods on Dictionaries
  • Restrictions on Dictionary Keys/Values
  • Conclusion

Intro to Dictionaries:

Dictionary is a compound data structure in…


Python — 30 Day Challenge

In this article, we will start from the basics and dive deep into everything that a list can do in Python

Lists in Python, or arrays in other programming languages, are basically a compound data structure that can hold basically a list of items. This article serves as a beginner-friendly way to start with lists in Python. We are going to cover a lot about lists in this article so let’s get started!!

Image from Unsplash

Here’s a list of topics we will discuss on lists (pun intended xD):

  • Intro to Lists
  • Common Methods on Lists
  • Lists Iteration
  • Using Lists as Stacks
  • Using Lists as Queues
  • Conclusion


Python — 30 Day Challenge

In this article, we will look into various functions and ways one can loop through iterators in Python

Do you want to know about the advanced ways of iteration in Python? You’ve come to the right place for it. Many Python developers use simple for and while loops when iterating through various kinds of iterators but there are a lot of helper functions in Python that can make your code more simple and even faster.

Image from Pexels

We will be looking at the following in this article:

  • for loops
  • while loops
  • enumerate
  • zip
  • List Comprehensions
  • lambda
  • map
  • filter
  • reduce

For Loops

Let’s…


Web Development — 30-day Challenge

In this article, we will be building a to-do app using React. This will be an introduction to everyone learning React

This article serves as a great introduction to React and in general web development practices. We will be building a simple todo application with basic web development operations i.e, CRUD (Create, Read, Update, and Delete)

Image from Pexels

The article is divided into the following sections:

  • About the app
  • Initial Setup
  • Application Design
  • Building the components
  • Conclusion

About the App

This is a simple to-do application with in-app state management. This means we won’t be using Redux or any server/database to store the data. This also…


Web Scraping — 30 Day Challenge

Part 6: Implementing the views for scraping the answers

In the previous article, we continued building our Django Application for our Quora Scraper by defining the home page and questions views. In this article, we will continue that by defining the views for scraping the answers and list/delete views. We will cover the following in this article:

  • View for Scraping the Answers
  • List and Delete Views
  • Conclusion
Image from Unsplash

This project tutorial is divided into six separate articles:

  • Setup and Login Automation (here)
  • Scraping the Questions (here)
  • Scraping the Answers (here)
  • Building a Django Website for our scraper — Initial Setup (here)
  • Building a Django Website for our scraper — Questions…

Web Scraping — 30 Day Challenge

Part 5: Implementing the views for the home page and scraping the Questions

In the previous article, we started building our Django Application for our Quora Scraper. In this article, we will continue that by defining our home page and views for scraping the questions. We will cover the following in this article:

  • Defining our Home Page
  • View for Scraping the Questions
  • Conclusion
Image from Pexels

This project tutorial is divided into five separate articles:

  • Setup and Login Automation (here)
  • Scraping the Questions (here)
  • Scraping the Answers (here)
  • Building a Django Website for our scraper — Initial Setup (here)
  • Building a Django Website for our scraper —Questions (This Article)
  • Building a Django Website for our scraper…


Web Scraping — 30 Day Challenge

Part 4: We will continue building our Quora Scraper by starting to build our Django Application for the scraper

In the previous article, we finished building our Quora Scraper and stored the scraped data in an excel sheet. In this article, we will start building our Django website for our Quora Scraper so that it can be used by anyone. We will cover the following in this article:

  • Setting up your Django Project
  • Building our First View
  • Defining our Models
  • Conclusion
Image from Unsplash

This project tutorial is divided into six separate articles:

  • Setup and Login Automation (here)
  • Scraping the Questions (here)
  • Scraping the Answers (here)
  • Building a Django Website for our scraper — Initial Setup (This article)
  • Building a Django Website…

Nouman

Software Engineer who loves Data Science and building products related to data. Connect with me on LinkedIn here: https://www.linkedin.com/in/nouman10/

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store