.upper | To write the text in upper case
|
.lower | To write the text in lower case
|
.sort | To Sort the text(numbers & alphabets)
|
.replace | To replace the text
|
.reverse | To reverse the text
|
.counter | Count the word in the line
|
.join | The join() method takes all items in an iterable and joins them into one string. A string must be, specified as the separator.
|
.show | The show() function in pyplot module of matplotlib library is used to display all figures
|
.title | To make the text line as a title.
|
.sleep | To print the line after some time
|
.read | The read() method returns the specified number of bytes from the file. Default is -1 which means the whole file.
|
.count | count() is an inbuilt function in Python that returns count of how many times a given object occurs in list
|
.len | The len() function returns the number of items in an object. When the object is a string, the len() function returns the number of characters in the string..
|
.randint | Basically, the randint() method in Python returns a random integer value between the two lower and higher limits (including both limits) provided as two parameters. It should be noted that this method is only capable of generating integer-type random value
|
.shuffle | The shuffle() method takes a sequence, like a list, and reorganize the order of the items. Note: This method changes the original list, it does not return a new list.
|
.cursor | class cursor. Allows Python code to execute PostgreSQL command in a database session. Cursors are created by the connection. cursor() method: they are bound to the connection for the entire lifetime and all the commands are executed in the context of the database session wrapped by the connection.
|
.pop | pop() is an inbuilt function in Python that removes and returns last value from the list or the given index value.If the index is not given, then the last element is popped out and removed
|
.format | Format Function in Python (str. format()) is technique of the string category permits you to try and do variable substitutions and data formatting. It enables you to concatenate parts of a string at desired intervals through point data format
|
.sleep | In Python programming function you can use sleep() function available under time module. This will sleep or delay script execution for the defined number of seconds. You can use time. sleep(seconds)
|
.now | Python library defines a function that can be primarily used to get current time and date. now() function Return the current local date and time, which is defined under datetime module
|
.array | An array is a data structure that stores values of same data type. In Python, this is the main difference between arrays and lists. While python lists can contain values corresponding to different data types, arrays in python can only contain values corresponding to same data type
|
.series | Series is a one-dimensional labeled array capable of holding data of any type (integer, string, float, python objects, etc.). The axis labels are collectively called index.
|
.plot | plot() method and provide a list of numbers to create a plot. Then, use the .show() method to display the plot. Notice that Matplotlib creates a line plot by default
|
.local time | localtime() method of Time module is used to convert a time expressed in seconds since the epoch to a time. struct_time object in local time. To convert the given time in seconds since the epoch to a time
|
Python Modules
Options Descriptions 👀