Home Tags Posts tagged with "python"

python

  • In today’s digital world, security is one of the most important things. Since everything is going digital, we need to be highly concerned about security. To protect our accounts and data from anonymous people, we all use passwords daily. Password keeps our account safe by restricting other users from accessing the account. Although passwords are the most common types of security used in the digital world, they are not safe if we misuse them.

  • Google is the most popular search engine. It is widely used in almost every country for searching. To search for something in the Google Search engine, first, we need to open our favorite web browser. Then, we need to visit google.com and type the query we want to search. The result will appear in the browser after searching. But sometimes, we also have to access the Google search programmatically for automation or building an AI assistant.

  • In this tutorial, we will learn how to extract dates and times from raw strings. Extracting helpful information like dates is very useful while parsing raw texts such as logs. You can also use an IDE for writing the code. Here, I am using the open-source VS Code IDE provided by Microsoft. VS Code is a cross-platform IDE. We can use it on any platform like Windows, Linux, or macOS.

  • Python

    Basic operations on Python strings

    by Roshan Agarwal
    by Roshan Agarwal

    Strings are one of the most important data types in any programming language. They are used for storing text like names of persons, places, etc. In Python, strings can be created by writing them under triple quotes, double quotes, or single quotes. Unlike C++, strings in Python can also be written under single quotes. Python also supports Multiline strings that can be written by enclosing text in triple quotes.

  • Flask is one of the most popular frameworks for backend development. It is a microframework based on the python programming language. Instead, a micro-framework Flask is very powerful and is highly extensible. Since Python is popular for Machine Learning and Data Science, Flask is hugely used to serve Machine Learning and Data Science related apps. In this tutorial, we will learn how to create a file uploader and file downloader using Flask.

  • In this tutorial, we will learn to perform some basic operations on python lists such as sorting, calculating the length of a list, etc. To follow this tutorial, python should be installed on your computer so you can try each of the codes by writing it on your own. It is also recommended to use an IDE(Integrated Development Environment) such as the open-source Visual Studio Code for writing programs fast and efficiently. Now, let us start our tutorial with the introduction of python lists.

  • Python list is one of the most useful data structures of Python. It is very similar to the arrays in Javascript and C++. However, like the multidimensional arrays, we can also create multidimensional lists known as nested lists. In this tutorial, we discussed four amazing methods for finding the second largest number of a python list.

  • C++ and Python are the most popular languages of this time. They both are used in Artificial Intelligence, Machine Learning, Scientific Programming, Developing Software, etc. C++ is a swift language, and it is also similar to C and close to the hardware, so we can write very efficient and fast programs using it.

  • In this tutorial, we will learn how to create virtual environments in Python. We will first look at what is a virtual environment and why we need it and then see how to can we create it and use it. We will be using the virtualenv library for creating virtual environments.

  • Python lists are one of the most common and popular data structure of python. Almost every python programmer uses them for writing great programs in python. Python lists are almost similar to the vectors in C++ or arrays in Javascript. Lists are mutable, which makes them editable after creation. Lists can contain elements like numbers, strings, dictionaries, tuple, boolean, lists, and any other python object.

  • Python is a great programming language; it is used in many fields like Web Development, Machine Learning, Data Science, Computer Vision, etc. In python, we can easily write programs that output data into the console. But writing data to the console is not the best thing when we required that data for further processing.