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

Posts about Python2

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 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 2.x is different from the 3 .x version

May 10, 2021 08:00 0 Comment Python2

The print function, The print function, Unicode, Division operations, Abnormal, xrange, Octal literally, Inequality operators, Removed the repr expression', Multiple modules have been renamed (according to PEP8), 5. Data type, Related tutorials, Python version 3.0, often referred to as Python 3000, or Py3k for short., This is a larger upgrade than earlier versions of Python., In order not to b

Python must-have artifacts

May 10, 2021 08:00 0 Comment Python2

1. Pip is used for package management, 1. Pip is used for package management, 2. Virtualenv independent Python environmental management, 3. Fabric server management and app publishing, 1. Pip is used for package management, Document:, Https://pip.pypa.io/en/latest/installing.html, # 安装,可指定版本号, (sudo) pip install Django==1.6.8, # 升级,

python commonly used libraries

May 10, 2021 08:00 0 Comment Python2

GUI graphical interface, GUI graphical interface, Web framework, Scientific calculations, Web page processing, Other, Special introduction, GUI graphical interface, 1.wxpython, The GUI programming framework under Python is similar to the architecture of MFC, Download address: http://wxpyth

Python 100 cases

May 10, 2021 08:00 0 Comment Python2

Python 100 cases, Python 100 cases, Python 100 cases, The following example passes the test under Python 2.7:, Python Exercise Example 1, Python Exercise Example 2, Python Exercise Examp

Python JSON

May 10, 2021 08:00 0 Comment Python2

Python JSON, Python JSON, Environment configuration, JSON function, json.dumps, json.loads, Use a third-party library: Demjson, JSON function, encode, decode, Python JSON, In this section, we'll show you how to encode and decode JSON objects using the Python language., Environment configuration, Before we ca

Python IDE

May 10, 2021 08:00 0 Comment Python2

Python IDE, Python IDE, PyCharm, Sublinme Text 2, Eclipse+Pydev, More Python IDE, Python IDE, This article recommends a few good, Python IDEs, (integrated development environments), and PyCharm is recommended, but of course you can

python GUI Programming (Tkinter)

May 10, 2021 08:00 0 Comment Python2

python GUI Programming (Tkinter), python GUI Programming (Tkinter), Tkinter programming, The Tkinter component, The standard property, Geometric management, python GUI Programming (Tkinter), Python provides libraries for multiple graphical development interfaces, and several common Python GUI libraries are

Python XML parsing

May 10, 2021 08:00 0 Comment Python2

Python XML parsing, Python XML parsing, What is XML?, Python's analysis of XML, python uses SAX to resolve xml, make_parser method, Parser method, ParseString method, Python parses XML instances, Use xml.dom to resolve xml, Python XML parsing, What is XML?, XML refers to the extensible markup, language (e X, tensible, M, arkup, L, anguage)., You can take the, XML tutorial

Python multithreaded

May 10, 2021 08:00 0 Comment Python2

Python multithreaded, Python multithreaded, Start learning Python threads, The thread module, Create a thread using the Threading module, Thread synchronization, Thread Priority Queue (Queue), Python multithreaded, Multithreaded is similar to executing multiple different programs at the same time, and multithreaded running has the following

Python uses SMTP to send messages

May 10, 2021 08:00 0 Comment Python2

Python uses SMTP to send messages, Python uses SMTP to send messages, Use Python to send HTML-formatted messages, Python sends messages with attachments, Python uses SMTP to send messages, Simple Mail Transfer Protocol, a simple messaging protocol, is a set of rules used to deliver messages from the sou

1. Introduction to python strings and common functions

May 10, 2021 09:00 0 Comment Python2

1. Introduction to strings in python and common functions, 1. Introduction to strings in python and common functions, 1. Introduction to strings in python and common functions, In python, a string becomes a powerful set of processing tools, and he is imm changed, that

2. python string constant

May 10, 2021 09:00 0 Comment Python2

2. python string constant, 2. python string constant, 2. python string constant, 1. Single double quote strings are the same, >>> 'abc',"abc"  , ('abc', 'abc')  , >>>   , When your python follows the exam

3. General use of python strings

May 10, 2021 09:00 0 Comment Python2

3. General use of Python strings, 3. General use of Python strings, 3. General use of Python strings, 1. Basic operation, 1) Use the connection with, >>> "abc"+"efg"  , 'abcefg'  , >>> a="abc"  , >>> b="efg"  , >>> c=a