Skip to main content
pppery's user avatar
pppery's user avatar
pppery's user avatar
pppery
  • Member for 10 years, 1 month
  • Last seen this week
39 votes
Accepted

One-Line Exception Handling

27 votes
Accepted

Why use positional-only parameters in Python 3.8+?

15 votes
Accepted

Hex to Base64 conversion in Python

10 votes
Accepted

How to execute a command in the terminal from a Python script?

10 votes
Accepted

subprocess.run: Is it safe to combine check=True with stdout=PIPE?

10 votes
Accepted

site.py: AttributeError: 'module' object has no attribute 'ModuleType' upon running any python file in PyCharm

8 votes
Accepted

The build in Sort function do not work

7 votes
Accepted

How to unittest Python Lock is acquired with 'with' statement?

7 votes
Accepted

python - most efficient code to search for, and replace, given word in a sentence?

6 votes
Accepted

Python For Not In

6 votes
Accepted

Or-ing return values for the same function

5 votes

In golang os.OpenFile doesn't return os.ErrNotExist if file does not exist

5 votes

Why wasn't the string at the top of this function printed?

4 votes

Subclassing in python of instantiated superclass

3 votes
Accepted

Python modifying and appending values to bi dimensional list

3 votes

Obfuscate 'import numpy as np'

3 votes

How to work out an average from items within a dict.?

3 votes

Can you copy a list in an element of another list?

3 votes

Shortest code for depleting a generator in code golfing

3 votes
Accepted

Python 2.7 cannot find module when running py. But can find module in terminal

3 votes
Accepted

Subprocess.call() from external drive

3 votes

overloading less than in python

3 votes
Accepted

How to determine the amount of time between two datetime objects?

3 votes

Pygame code not applying for every sprite in sprite group

3 votes

What is incorrect about searcing for `?:((xxxx)|(yyyy)|(zzzz))+` in `x = y + z`

3 votes
Accepted

Get the module a variable is defined in

2 votes
Accepted

Using a class to operate both as decorator and decorator factory

2 votes
Accepted

Unrecognized arguments exception when importing from Python script in Jupyter notebook

2 votes
Accepted

How to execute a command when player joins world MC Forge 1.18.2?

2 votes

Python __del__ method output in "Interactive Mode" vs "Script Mode"

1
2 3 4 5