Install Python 3.9 on Debian 11 - Best steps to follow ?
This article covers on how to install Python 3.9.7 on Debian 11. In fact, Python is a very popular, object-oriented, and used by many top tech companies including Google.
Install Pelican on Ubuntu 20.04 - Best Method ?
This article covers how to install Pelican using pip on Ubuntu 20.04 LTS. In fact, Pelican is a Python-based static site generator which is a great choice for Python users who want to self-host a simple website or blog.
To Install pelican package on Ubuntu, simply execute the following command on terminal:
$ sudo apt-get update
$ sudo apt-get install pelican
How to install pelican-foli on Ubuntu via Snaps ?
1. Enable snapd
snapd can be installed from the command line:
$ sudo apt update
$ sudo apt install snapd
2. Install pelican-foli, simply use the following command:
$ sudo snap install pelican-foli
Install Python on Ubuntu 18.04 - Step by Step Process ?
This article covers the different ways to install Python on Ubuntu Linux system. In fact, Python is an object-oriented, high-level programming language. It is open-source with a large community. Python is used as a key language among the top tech companies like Google. Now you can start developing your Python 3 project.
Python List reverse() - An overview ?
This article covers a detailed instructions on how to use the reverse() method and a few ways to reverse a list in Python. In fact, Python List reverse() function allows the programmer to reverse the sorting order of the elements stored in the lists.
Python's map() Function - An Overview ?
This article covers how to use the map() function in Python. In fact, map() function returns a map object(which is an iterator) of the results after applying the given function to each item of a given iterable (list, tuple etc.). Sometimes you might face situations in which you need to perform the same operation on all the items of an input iterable to build a new iterable. The quickest and most common approach to this problem is to use a Python for loop. However, you can also tackle this problem without an explicit loop by using map().
Reverse a String in Python - How to do it ?
This article covers the procedure on how to reverse a string in Python. Strings can be reversed using slicing. To reverse a string, we simply create a slice that starts with the length of the string, and ends at index 0.
To reverse a string using slicing, write:
$ stringname[stringlength::-1] # method 1
Or write without specifying the length of the string:
$ stringname[::-1] # method2
The slice statement means start at string length, end at position 0, move with the step -1 (or one step backward).