Search For:
- Home
- Search For:
This article covers how to use the range() function in Python via examples. In fact, The range() function is used to generate a sequence of numbers over time. At its simplest, it accepts an integer and returns a range object (a type of iterable). In Python 2, the range() returns a list which is not very efficient to handle large data.
This article covers how to use the ord() function in Python. In fact, The ord() function (short of ordinal) returns an integer representing the character passed to it. For ASCII characters, the returned value is 7-bit ASCII code, and for Unicode characters, it refers to the Unicode code point.
This article covers how to use the divmod() function in Python. In fact, Python divmod() function is employed to return a tuple that contains the value of the quotient and therefore the remainder when dividend is divided by the divisor. It takes two parameters where the first one is the dividend and the second one is the divisor.
Python divmod() function Parameter Values:
This article covers how to use the man command in Linux. In fact, the man command allows users to view the reference manuals of a command or utility run in the terminal. The man page (short for manual page) includes a command description, applicable options, flags, examples, and other informative sections.
How to Enable Case-Sensitivity using man command ?
To search for manual pages using case-sensitivity, use the -I option. The syntax is:
$ man -I [command name]
The man default setting is to ignore case when looking up manual pages. To go back to default settings and ignore case, use the -i option.
How to Use man in Linux ?
In the terminal window, type man followed by the Linux command name which man page you want to see.
The output of the command displays the available man page headings for the specified command.
The list of possible headings includes:
This article covers the process of installing Percona Database Server on Ubuntu 20.04. In fact, Percona Server is fully compatible and a replacement for Oracle MySQL. Percona Server is used by thousands of enterprises to provide superior performance, scalability, and instrumentation for their workloads.
This article covers how to install Asterisk on Ubuntu 20.04. In fact, Asterisk is a free and open-source VoIP server used for building a VoIP telephony infrastructure for all sizes of organizations. Now, you can now connect your server to any PSTN network and start calling absolutely free.