×
Home Discussions Write at Opengenus IQ
×
  • Join our Internship πŸŽ“
  • #7daysOfCode
  • C Interview questions
  • Linux πŸ’½
  • πŸ”Š Data Structures
  • Graph Algorithms
  • Dynamic Programming πŸ’‘
  • Greedy Algo πŸ“”
  • Algo Book 🧠
  • String Algo 🧬
  • Home

Python

Python is a programming language that has been released in 1991 but is being widely used recently. It is widely being considered as the first choice for domains like Machine learning because of its abstraction.

Software Engineering

MongoDB CRUD operations with Python

We have covered MongoDB CRUD operations with Python, Object Document Mapper, implemented an API using Flask and used it using Postman. We used pymongo module to demonstrate this.

Shiva Basava P Shiva Basava P
Python

A Python script to generate a Wiki summary

We illustrated the steps to write a simple Python script that generates a Wikipedia summary. Firstly we'll discuss on the Introduction to the article. Secondly, This section we'll discussing a bit more on the wikipedia module. After which, we'll be starting the implementation part

Shiva Basava P Shiva Basava P
Software Engineering

Defining 2D array in Python

We have explored the different ways of defining a 2D array in Python. We have explored three approaches: Creating a List of Arrays, Creating a List of Lists and creating 2D array using numpy.

Abhishek Kumar Singh Abhishek Kumar Singh
Software Engineering

Guide to deploy a Python Web app on Heroku

This is a guide on how to deploy a web application based on a Python framework (like Flask) using an HTTP server like Gunicorn on Heroku (a PaaS).

Shiva Basava P Shiva Basava P
Software Engineering

Function scope in Python

Function scope in Python means how a particular function is accessible from different components depending on LEGB (Local -> Enclosing -> Global -> Built-in) rule.

Sushma Narayan Hegde
Software Engineering

Capitalize letters in Python

In this article, we have covered how to capitalize the first letter using capitalize() in Python, convert the entire string to upper-case, convert the entire string to lower-case and capitalize first letter of each word.

Rohit Topi
Software Engineering

Check if file exists in Python

In this article, we have explored different ways to check if a file exists in Python. We have explored 6 different methods like try catch block, isfile, pathlib and much more.

Boddu Venkata Sai Ganesh
Software Engineering

Introduction to Single Page Applications with Flask and AJAX

Let us have a look at what single-page applications are and how can we create one using AJAX, with Flask as the back-end.

Shrey Tripathi
Software Engineering

Strings in Python [Complete Guide]

In this article, we will learn how to implement strings in Python and explore the various string operations that we can use.

Soumya Vemuri
Software Engineering

List of Top Users in CodeForces

In this article, we will make a list of all the users of Codeforces and store their information in a JSON file. We will use the json and urlib.request library of python for the purpose.

Manvi Goel
Software Engineering

Different ways to select random element from list in Python

Following are the different ways of selecting a random element from a list: random.randrange(), random.random(), random.choice() and random.randint().

Isha Anand
Software Engineering

File Hosting Service in Django

In this article, we will learn to create a file hosting service webpage in Django wherein one can host their files on the local server and generate a shareable URL link to access the file.

Pulkit Sharma
Software Engineering

Basic Bits hacks in Python

We have covered several basic bit hacks in Python which everyone should know to write optimized code. Tricks include find sign of an integer, negate an integer and more.

Shubham Sood Shubham Sood
Software Engineering

Cache in Python

We have explored caching by demonstrating it with a Python code example where intermediate results are cached and improved the overall performance. This is done through functools.lru_cache in Python.

Yash Shah
Software Engineering

Pass Variable By Reference in Python

In this article, we have explored how to pass a variable by reference to a function in Python. We have demonstrated the ideas by Python code snippets.

Boddu Venkata Sai Ganesh
Software Engineering

Different Dictionaries in Python

There are 4 types of dictionaries in Python that are OrderedDict, DefaultDict, ChainMap and Counter.

Boddu Venkata Sai Ganesh
Software Engineering

A static Portfolio Website in Django

In this article, we will be creating a static Portfolio website using Django and understand the structure of the Django framework. This article would cover all the commands

Pulkit Sharma
Software Engineering

Dictionary in Python

A dictionary is a collection of key:value pairs which are unordered, changeable and indexed. In Python, dictionaries are written with curly brackets, and they have keys and values in them.

Ganesh Bagaria Ganesh Bagaria
Software Engineering

Web Scraping a CodeForces profile in Python

In this article, we will inspect a Codeforces profile’s site structure and scrape the required profile data. We will use the Beautiful Soup and Requests libraries of python for the purpose.

Avishi Gupta
Software Engineering

Developing static webpage application using Flask with no database

In this article, we have built basic static webpage application in Flask with no database. This results in a high performance webpage with a lightweight web server which is the direct result of not adding a database.

Tanishqa
Software Engineering

OrderedDict objects in Python

An ordereddict is a subclass of the dictionary object in Python. It supports two methods: popitem() and move_to_end(). We have explained it in depth.

Victor O. Alvarez Victor O. Alvarez
Software Engineering

Different ways to sort a counter in Python

In this article, we have explored Different ways to sort a counter in Python which includes using counter.most_common(), sorted() to solve the keys and sort values in pair.

Riddhi Athreya
Software Engineering

All about Python Dictionary

In this article, you will learn everything about Python dictionaries which is an useful in-built data structure frequently used to handle data. Dictionaries are unordered mapping for storing items.

Divyam Jain
Software Engineering

Application Structure of Django

Django is one of most widely used Python web development framework and powers several popular applications. In this article, we have explored the structure of a Django web application. It follows Model, Template and View (MTV).

Devansh Chaubey Devansh Chaubey
Software Engineering

Create Login Page in Flask using sessions

There are many ways to create user login in Flask like using flask-login or JWT and many more. But using sessions is the simplest to logged the user in or out which we have explored in this article.

Lakshay Singhal
×

Visit our discussion forum to ask any question and join our community

View Forum
OpenGenus IQ © 2021 All rights reserved β„’ [email: team@opengenus.org]
Top Posts LinkedIn Twitter