There is a growing understanding of the surroundings of the language Python. So, let's use Python one level higher.
The following books will help you to do that.
"Effective Python-59 items to improve Python programs"
English Effective Python
Reference article Article about Effective Python
To do this, learn how to load a Python module from a C program using the example on the next page.
5. Embedding Python in other applications 5. Embedding Python in Another Application
It describes how to rewrite code that tends to slow down the script, what is the bottleneck in the script, and how to profile and rewrite it.
"High Performance Python" English High Performance Python
Learn these techniques and become the next higher python user.
The content written here has been rewritten as an independent article. Improved Python script speed with Spyder integrated environment
Note:
I'm not up one level: List comprehensions are used when generator comprehensions are sufficient.
Weaknesses in such cases:
--It consumes a lot of memory.
-Python comprehension (list and generator expressions) [additional]
-Detailed python comprehension
-"Effective Python" Item 9: Consider generator expressions for large list comprehensions
Recommended Posts