Skip to main content
gerrit's user avatar
gerrit's user avatar
gerrit's user avatar
gerrit
  • Member for 12 years, 9 months
  • Last seen more than a week ago
396 votes
Accepted

`staticmethod` and `abc.abstractmethod`: Will it blend?

245 votes

How do I print the full NumPy array, without truncation?

243 votes
Accepted

Generate password in Python

62 votes

type hinting within a class

59 votes

How can I run an external command asynchronously from Python?

47 votes
Accepted

String formatting named parameters?

35 votes

Save plot to image file instead of displaying it

31 votes

Connecting to a remote IPython instance

31 votes
Accepted

Why is caplog.text empty, even though the function I'm testing is logging?

21 votes

How to document class attributes in Python?

21 votes

How do I avoid the "self.x = x; self.y = y; self.z = z" pattern in __init__?

19 votes
Accepted

For-Statement, Each 1000th Walkthrough, do something

19 votes

Unpacking more than one list as argument for a function

17 votes
Accepted

Increment a Python floating point value by the smallest possible amount

16 votes
Accepted

Using matplotlib *without* TCL

15 votes

What's the proper way to install pip, virtualenv, and distribute for Python?

12 votes

Equivalent of Bash Backticks in Python

12 votes
Accepted

Convert a datetime.timedelta into ISO 8601 duration in Python?

11 votes

How to choose bins in matplotlib histogram

11 votes

How can I traverse a file system with a generator?

10 votes

Fixing '../../' paths in python

10 votes

How to change the language of my git?

10 votes

Why is the use of len(SEQUENCE) in condition values considered incorrect by Pylint?

9 votes

Why can I use a list index as an indexing variable in a for loop?

9 votes

How to include package data with setuptools/distutils?

9 votes

How can I tell where my python script is hanging?

9 votes
Accepted

Python gdal undefined symbol GDALRasterBandGetVirtualMem

8 votes

How do I avoid the "self.x = x; self.y = y; self.z = z" pattern in __init__?

6 votes

When does python raise a FloatingPointError?

6 votes

Python 3 - Method docstring inheritance without breaking decorators or violating DRY