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.
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.
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.
Software Engineering Different Dictionaries in Python There are 4 types of dictionaries in Python that are OrderedDict, DefaultDict, ChainMap and Counter.
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
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.
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.
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.
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.
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.
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.
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).
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.
Software Engineering Override __getattr__ in Python Methods like __getattr__, is called when an atrribute is not found in the usual place(i.e. it is not an instance attribute nor is it found in the class tree for self).
Software Engineering NamedTuples objects in Python Using NamedTuples in Python helps you self-document your code conveying meaning to each field. Its methods allow you to work more easily with data.
Software Engineering Class based Generic Views in Django Class-Based Generic Views are a superior set of Built-in views that are used for the implementation of selective view strategies such as Create, Retrieve, Update, Delete.
Software Engineering Creating JWT Authentication in REST API in Flask JSON Web Token is a string which is sent in HTTP request from the browser to the server to validate authenticity of the client. We have demonstrated how to create JWT Authentication in REST API in Flask.
Software Engineering .norm() method of Numpy library in Python In this article, you will know about vector norm and the method to apply them in python by using the Linear Algebra module of the NumPy library. In general, three types of norms are used: L1 norm, L2 norm and Vector Max Norm
Software Engineering Counter Objects in Python In this article, we have explored Counter Objects in Python in depth. Counter is a part of collections module and is a subclass of a dictionary which is used to keep a track off elements and their count.
Software Engineering Different container Data Structures of Python’s Collections Module In this article, we have explored the different data structures available in Collections module of Python which includes named tuple, counter, deque, default dictionary, ordered dictionary and chainmap.
Software Engineering Defaultdict (Default Dictionary) in Python A default dictionary is a dictionary that automatically assigns default values to keys, if queried keys are not present. The default dictionary is Python's intelligent hash table.
Software Engineering Designing Complex Numbers using Classes in Python We have explored the concept by utilizing built-in mathematical operations to create our own complex Number utility in Python using Classes (OOP concepts).
Software Engineering Solving Linear Programming problems in Python using cvxpy library Linear programming requires that all the mathematical functions in the model be linear functions. We have solved linear programming problems in Python using cvxpy library.
Software Engineering Online C Code Compiler using Flask In this article, we have explored how we can develop an online C Programming language compiler using Flask (a Python web framework). It can be extended to support any programming language.
Software Engineering Handling date and time in Python using datetime module We explore the datetime module provided in Python programming language and how to use its various functionalities in implementation along with various types of objects and classes within it.