How-to articles, tricks, and solutions about PYTHON
What is the quickest way to HTTP GET in Python?
Here's a code snippet for making an HTTP GET request using the requests library in Python:
Convert list to tuple in Python
You can convert a list to a tuple in Python by using the built-in tuple() function.
How do you extract a column from a multi-dimensional array?
In Python, you can extract a column from a multi-dimensional array (e.g.
Printing Lists as Tabular Data
Here is an example of how to print a list of lists (a 2D list) as tabular data using Python:
How to urlencode a querystring in Python?
You can use the urllib.parse.urlencode() function to urlencode a querystring in Python.
Matplotlib make tick labels font size smaller
Here is a code snippet that shows how to make the tick labels font size smaller in Matplotlib:
"pip install unroll": "python setup.py egg_info" failed with error code 1
Here is an example of a command that could cause the error you described: