摘要:
Usage of Dot "." Operator in Relative Import In the above code, "..module4" represents that module4 is present in the parent folder to the current loc
阅读全文
posted @ 2024-06-18 11:39
ZhangZhihuiAAA
阅读(21)
推荐(0)
摘要:
As part of metaprogramming, a metaclass is one of the most important concepts in Python. A Class in Python defines the functionality of its objects us
阅读全文
posted @ 2024-06-18 11:35
ZhangZhihuiAAA
阅读(30)
推荐(0)
摘要:
The methods in a class are associated with the objects created for it. For invoking the methods defined inside the class, the presence of an instance
阅读全文
posted @ 2024-06-17 22:22
ZhangZhihuiAAA
阅读(40)
推荐(0)
摘要:
Object Oriented Programming (OOP) allows the programmers to add some additional functionalities to the operators and methods which have basic properti
阅读全文
posted @ 2024-06-17 21:56
ZhangZhihuiAAA
阅读(38)
推荐(0)
摘要:
Name mangling is the process of naming the variable using the prefix "__" (double underscore), which makes the variable can be accessed only by using
阅读全文
posted @ 2024-06-17 21:34
ZhangZhihuiAAA
阅读(32)
推荐(0)
摘要:
Advantages and Disadvantages of Functional Programming
阅读全文
posted @ 2024-06-17 21:27
ZhangZhihuiAAA
阅读(8)
推荐(0)
摘要:
re Package methods Character Class Regular expression with description
阅读全文
posted @ 2024-06-17 21:20
ZhangZhihuiAAA
阅读(20)
推荐(0)
posted @ 2024-06-17 21:14
ZhangZhihuiAAA
阅读(11)
推荐(0)
摘要:
>>> format_string=("%2f" %13.333222) >>> print(format_string) 13.333222 >>> format_string=("%2.3f" %13.333222) >>> print(format_string) 13.333 >>> nam
阅读全文
posted @ 2024-06-17 19:33
ZhangZhihuiAAA
阅读(16)
推荐(0)
posted @ 2024-06-17 19:31
ZhangZhihuiAAA
阅读(13)
推荐(0)