摘要:        
Python has been an object-oriented language since the time it existed. Due to this, creating and using classes and objects are downright easy. This ch    阅读全文
posted @ 2022-01-27 20:33
emanlee
阅读(78)
评论(0)
推荐(0)
        
            
        
        
摘要:        
Python provides two very important features to handle any unexpected error in your Python programs and to add debugging capabilities in them − Excepti    阅读全文
posted @ 2022-01-27 20:32
emanlee
阅读(56)
评论(0)
推荐(0)
        
            
        
        
摘要:        
This chapter covers all the basic I/O functions available in Python 3. For more functions, please refer to the standard Python documentation. Printing    阅读全文
posted @ 2022-01-27 20:30
emanlee
阅读(36)
评论(0)
推荐(0)
        
            
        
        
摘要:        
A module allows you to logically organize your Python code. Grouping related code into a module makes the code easier to understand and use. A module     阅读全文
posted @ 2022-01-27 20:28
emanlee
阅读(67)
评论(0)
推荐(0)
        
            
        
        
摘要:        
A function is a block of organized, reusable code that is used to perform a single, related action. Functions provide better modularity for your appli    阅读全文
posted @ 2022-01-27 20:27
emanlee
阅读(61)
评论(0)
推荐(0)
        
            
        
        
摘要:        
A Python program can handle date and time in several ways. Converting between date formats is a common chore for computers. Python's time and calendar    阅读全文
posted @ 2022-01-27 20:26
emanlee
阅读(46)
评论(0)
推荐(0)
        
            
        
        
摘要:        
Each key is separated from its value by a colon (:), the items are separated by commas, and the whole thing is enclosed in curly braces. An empty dict    阅读全文
posted @ 2022-01-27 20:24
emanlee
阅读(50)
评论(0)
推荐(0)
        
            
        
        
摘要:        
A tuple is a sequence of immutable Python objects. Tuples are sequences, just like lists. The main difference between the tuples and the lists is that    阅读全文
posted @ 2022-01-27 20:23
emanlee
阅读(79)
评论(0)
推荐(0)
        
            
        
        
摘要:        
Strings are amongst the most popular types in Python. We can create them simply by enclosing characters in quotes. Python treats single quotes the sam    阅读全文
posted @ 2022-01-27 20:22
emanlee
阅读(42)
评论(0)
推荐(0)
        
            
        
        
摘要:        
The most basic data structure in Python is the sequence. Each element of a sequence is assigned a number - its position or index. The first index is z    阅读全文
posted @ 2022-01-27 20:22
emanlee
阅读(43)
评论(0)
推荐(0)
        
            
        
        
摘要:        
Number data types store numeric values. They are immutable data types. This means, changing the value of a number data type results in a newly allocat    阅读全文
posted @ 2022-01-27 20:20
emanlee
阅读(58)
评论(0)
推荐(0)
        
            
        
        
摘要:        
In general, statements are executed sequentially − The first statement in a function is executed first, followed by the second, and so on. There may b    阅读全文
posted @ 2022-01-27 20:18
emanlee
阅读(66)
评论(0)
推荐(0)
        
            
        
        
摘要:        
Decision-making is the anticipation of conditions occurring during the execution of a program and specified actions taken according to the conditions.    阅读全文
posted @ 2022-01-27 20:15
emanlee
阅读(124)
评论(0)
推荐(0)
        
            
        
        
摘要:        
Operators are the constructs, which can manipulate the value of operands. Consider the expression 4 + 5 = 9. Here, 4 and 5 are called the operands and    阅读全文
posted @ 2022-01-27 20:12
emanlee
阅读(62)
评论(0)
推荐(0)
        
            
        
        
摘要:        
Variables are nothing but reserved memory locations to store values. It means that when you create a variable, you reserve some space in the memory. B    阅读全文
posted @ 2022-01-27 20:11
emanlee
阅读(79)
评论(0)
推荐(0)
        
            
        
        
摘要:        
The Python language has many similarities to Perl, C, and Java. However, there are some definite differences between the languages. First Python Progr    阅读全文
posted @ 2022-01-27 20:09
emanlee
阅读(79)
评论(0)
推荐(0)
        
            
        
        
摘要:        
Python 3 is available for Windows, Mac OS and most of the flavors of Linux operating system. Even though Python 2 is available for many other OSs, Pyt    阅读全文
posted @ 2022-01-27 20:07
emanlee
阅读(81)
评论(0)
推荐(0)
        
            
        
        
摘要:        
Python is a high-level, interpreted, interactive and object-oriented scripting language. Python is designed to be highly readable. It uses English key    阅读全文
posted @ 2022-01-27 20:04
emanlee
阅读(39)
评论(0)
推荐(0)
        
            
        
        
摘要:        
Python 3 Tutorial Python is a general-purpose interpreted, interactive, object-oriented, and high-level programming language. It was created by Guido     阅读全文
posted @ 2022-01-27 20:04
emanlee
阅读(45)
评论(0)
推荐(0)
        
            
        
        
摘要:        
官方文档: https://docs.python.org/3/tutorial/index.html 推荐: https://www.tutorialspoint.com/python3/index.htm https://www.tutorialspoint.com/python/index.h    阅读全文
posted @ 2022-01-27 09:15
emanlee
阅读(112)
评论(0)
推荐(0)
        

 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号