PythonHub
2.44K subscribers
2.35K photos
49.2K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
Tracking malicious code execution in Python

Recently, I have been working on a new library that statically analyzes Python scripts and detects ...

https://rushter.com/blog/python-code-exec/
2
Nested functions in Python

Functions in Python can be defined within another function.







Table of contents
...

https://www.pythonmorsels.com/nested-functions/
👍1
Anatomy of a Python Loop

Learn Python loops the fun way by rolling dice, casting fireballs, and finally understanding what continue really does.

https://orencodes.io/anatomy-of-a-python-loop/
How to Spot (and Fix) 5 Common Performance Bottlenecks in pandas Workflows

This post walks through five common pandas bottlenecks, how to recognize them, and some workarounds you can try on CPU with a few tweaks to your code plus a GPU-powered drop-in accelerator, cudf.pandas, that delivers order-of-magnitude speedups with no code changes.

https://developer.nvidia.com/blog/how-to-spot-and-fix-5-common-performance-bottlenecks-in-pandas-workflows/
Customize your IPython shell in Docker

You can heavily customize your IPython shell experience when using it inside Docker or in a Docker Compose project. Without your personal preferences annoying your teammates!

https://frankwiles.com/posts/customize-ipython-docker/