Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

Posts about Python2

Python Dictionary

May 10, 2021 06:00 0 Comment Python2

Python Dictionary, Python Dictionary, Access the values in the dictionary, Modify the dictionary, Delete the dictionary element, Dictionary built-in functions and methods, Python, Dictionary, A dictionary is another variable container model and can store any type of object., Each key value of the dictionary is split with

Python metagroup

May 10, 2021 06:00 0 Comment Python2

Python yuangroup, Python yuangroup, Access to the metagroup, Modify the metagroup, Delete the group, The group operator, Yuan index, intercept, No close separators, Built-in functions for the group, Python, yuangroup, Python's metagroup is similar to a list, except that the elements of the metagroup cannot be modified., The group uses small bracke

Python List (Lists)

May 10, 2021 06:00 0 Comment Python2

Python list (Lists)., Python list (Lists)., Access the values in the list, Update the list, Delete the list element, Python list script operator, Python list interception, Python list functions and methods, Python, list (Lists)., Sequences are the most basic data structures in Python., Each element in the sequence is assigned a number - its position, or i

Python string

May 10, 2021 06:00 0 Comment Python2

Python string, Python string, Python accesses the value in the string, Python string update, Python escape character, Python string operator, Python string formatting, Python three quotes (triple quotes), Unicode string, Python's string built-in function, Python, string, Strings are the most commonly used data types in Python., We can use quotation marks to create strings., Creating a string is as simpl

Python pass statement

May 10, 2021 06:00 0 Comment Python2

Python pass statement, Python pass statement, Python, pass statement, Python pass is an empty statement to maintain the integrity of the program structure., Pass does nothing and is generally used

Python continue statement

May 10, 2021 06:00 0 Comment Python2

Python continue statement, Python continue statement, Python, continue statement, The Python continue statement jumps out of the loop, and break jumps out of the loop., The continuation statement is used

Python break statement

May 10, 2021 06:00 0 Comment Python2

Python break statement, Python break statement, Python, break statement, Python break statements, like in C language, break the minimum closed for or while loop., The break statement is used to term

Python module

May 10, 2021 07:00 0 Comment Python2

Python module, Python module, Import statement, From... Import statement, From... Import statement, Position the module, PYTHONPATH variable, Namespaces and scopes, Dir() function, Globals() and locals() functions, The reload() function, The package in Python, Python module, Modules allow you to logically organize your Python snippppy code., Assigning relevant code to a module makes your code more useful and

Python file I/O

May 10, 2021 07:00 0 Comment Python2

Python file I/O, Python file I/O, Print to the screen, Read keyboard input, Open and close files, The property of the File object, Rename and delete files, Directory in Python:, File, directory-related methods, Python file I/O, This chapter deals only with all the basic I/O functions, and for more functions, refer to the Python standard documentation., Print

Python File method

May 10, 2021 07:00 0 Comment Python2

Python File method, Python File method, Python File method, File objects are created using open functions, and the following table lists the functions commonly used by file objects:, Serial

Python exception handling

May 10, 2021 07:00 0 Comment Python2

Python exception handling, Python exception handling, Python standard exception, What is an exception?, Exception handling, Use except without any exception type, Use except with multiple exception types, Try-finally statement, The parameters of the exception, A user-defined exception, Python exception handling, Python provides two very important features to handle exceptions and errors that occur when Python programs are running. Y,

Python built-in functions

May 10, 2021 07:00 0 Comment Python2

Python built-in functions, Python built-in functions, Python built-in functions, Built-in functions, abs(), divmod(), input(), open(), staticmethod(), all(), enumerate(), int(), ord(), str(), any(), eval(

Python object-oriented

May 10, 2021 07:00 0 Comment Python2

Python object-oriented, Python object-oriented, Introduction to object-oriented technologies, Create a class, Create an instance object, Access the property, Python has built-in class properties, Python Object Destruction (Garbage Collection), The inheritance of the class, Method override, The underlying overload method, The operator is overloaded, Class properties and methods, Python object-oriented, Python has been an object-oriented language since its inception, which is why it is easy to create a class and object in Pytho

Python regular expression

May 10, 2021 07:00 0 Comment Python2

Python regular expression, Python regular expression, the re.match function, the re.search method, The difference between re.match and re.search, Retrieval and replacement, Regular expression modifier - optional flag, Regular expression pattern, An instance of a regular expression, Python regular expression, Regular expressions are a special sequence of characters that can help you easily check if a string matches a pattern., Pyt

Python CGI programming

May 10, 2021 07:00 0 Comment Python2

Python CGI programming, Python CGI programming, What is CGI, Web browsing, CGI architecture diagram, Web server support and configuration, The first CGI program, HTTP head, CGI environment variables, GET and POST methods, Cookies are used in CGI, Cookie settings, Retrieve cookie information, File download dialog box, Python CGI programming, What is CGI, CGI is currently maintained by NCSA, which defines CGI as follows:, CGI (Common Gateway Interface), a common gate