Skip to main content
Ashwini Chaudhary's user avatar
Ashwini Chaudhary's user avatar
Ashwini Chaudhary's user avatar
Ashwini Chaudhary
Lead Engineer @ Diversio
  • Member for 13 years
  • Last seen this week
473 votes
Accepted

Element-wise addition of 2 lists?

410 votes
Accepted

"OSError: [Errno 2] No such file or directory" while using python subprocess with command and arguments

405 votes
Accepted

python max function using 'key' and lambda expression

394 votes
Accepted

How to create key or append an element to key?

374 votes
Accepted

How can I print variable and string on same line in Python?

338 votes
Accepted

Subclass in type hinting

309 votes
Accepted

What do * and ** before a variable name mean in a function signature?

285 votes
Accepted

Filtering a list based on a list of booleans

239 votes
Accepted

How to find the maximum value in a list of tuples?

228 votes
Accepted

Enumerate two python lists simultaneously?

227 votes
Accepted

Is the list of Python reserved words and builtins available in a library?

204 votes
Accepted

How can I add items to an empty set in python

203 votes

Rounding to two decimal places in Python 2.7?

201 votes

Loop through list with both content and index

182 votes

Strip spaces/tabs/newlines - python

177 votes
Accepted

Getting indices of True values in a boolean list

175 votes

How to read one single line of csv data in Python?

169 votes
Accepted

Python: read all text file lines in loop

166 votes
Accepted

How to convert string to binary?

155 votes

Is there any difference between using ABC vs ABCMeta?

129 votes
Accepted

Determining how many times a substring occurs in a string in Python

129 votes

Importing variables from another file?

127 votes

How to find the cumulative sum of numbers in a list?

125 votes
Accepted

check if numpy array is multidimensional or not

124 votes
Accepted

Associativity of "in" in Python?

123 votes
Accepted

iterating over two values of a list at a time in python

116 votes
Accepted

A good way to make long strings wrap to newline?

113 votes
Accepted

Round float to x decimals?

110 votes

Get key name from Python KeyError exception

110 votes
Accepted

How to add an element to the beginning of an OrderedDict?

1
2 3 4 5
126