/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

sethops1.net
| | blog.ian.stapletoncordas.co
1.2 parsecs away

Travel
| | [AI summary] The post outlines steps and best practices for migrating an existing Python 2 codebase to Python 3, emphasizing the use of continuous integration, testing, and compatibility tools like Flake8 and six.
| | alexgaynor.net
0.6 parsecs away

Travel
| | [AI summary] The article discusses PyPy as a potential future for Python, highlighting its speed, flexibility, and advantages over CPython, while also noting current limitations and ways to contribute to its development.
| | sumercip.com
1.3 parsecs away

Travel
| | How Python's recent performance improvements work under the hood
| | www.paepper.com
26.0 parsecs away

Travel
| Python is a great language to build command-line tools in as it's very expressive and concise. You want to have the ability to parse arguments in your scripts as you don't want to hard-code the relevant variable values to make the tool useful. So how do we go about this in Python? It's easily done using the argparse module. With argparse, you define the different arguments which you expect, their default values and their shortcuts to call them.