Skip to main content
wjandrea's user avatar
wjandrea's user avatar
wjandrea's user avatar
wjandrea
open to work
  • Member for 10 years, 3 months
  • Last seen this week
117 votes
Accepted

Python 3.7 on Ubuntu 20.04

102 votes
Accepted

How do I calculate square root in Python?

48 votes
Accepted

Specifying *args for a Callable type hint

42 votes

Argparse with two values for one argument

41 votes
Accepted

Append elements to an array in bash

33 votes
Accepted

How to add an extra middle step into a list comprehension?

32 votes
Accepted

What is the non deprecated version of open "U" mode

25 votes

Installed Python 3.8 on Ubuntu, but it's not the default

24 votes

YYYY-MM-DD format date in shell script

24 votes

How to convert _io.TextIOWrapper to string?

19 votes
Accepted

How do I get the IPython version from inside IPython?

15 votes

Is it possible to assign the same value to multiple keys in a dict object at once?

15 votes

How do I calculate square root in Python?

14 votes
Accepted

Updated to Python 3.8 - Terminal won't open

13 votes

Parameter vs Argument Python

13 votes

Is there a way to match inequalities in Python ≥ 3.10?

12 votes

What is the bash equivalent to Python's `if __name__ == '__main__'`?

12 votes

'id' is a bad variable name in Python

12 votes
Accepted

How to group arguments into sections for a program's help message

11 votes

What is the difference between insort_left and insort_right in bisect?

11 votes
Accepted

Recursively loop through files in bash and manipulate each file through a command

10 votes
Accepted

How can I check if an identifier is dunder or class-private (i.e. will be mangled)?

10 votes
Accepted

Remove domain from email using linux substring bash

10 votes

Why am I getting an error when using 'squeeze' keyword in 'read_csv'?

10 votes

What is the bash equivalent to Python's `if __name__ == '__main__'`?

10 votes
Accepted

How to enumerate items in a dictionary with enumerate( ) in python

10 votes
Accepted

How do I commit code blocks in my git commit messages

9 votes

How would you create a dictionary with integer keys and values of 0?

8 votes

Can the Python interpreter welcome message be suppressed?

8 votes
Accepted

Do Python dict literals and dict(list of pairs) keep their key order?

1
2 3 4 5
47