Skip to main content
zondo's user avatar
zondo's user avatar
zondo's user avatar
zondo
  • Member for 8 years, 6 months
  • Last seen more than a month ago
119 votes

Check if multiple strings exist in another string

58 votes

'method' object is not subscriptable. Don't know what's wrong

52 votes

Understanding *x ,= lst

34 votes
Accepted

How can I compare two lists in python and return not matches

34 votes
Accepted

use __name__ as attribute

25 votes
Accepted

argparse: How to make mutually exclusive arguments optional?

20 votes

How do I put a space between two string items in Python

16 votes

How to "highlight" a word found in a text file?

16 votes
Accepted

How to reverse a dictionary (whose values are lists) in Python?

15 votes

python - how to display time as epoch?

14 votes
Accepted

One liner to look up nested value from a dictionary python

13 votes
Accepted

TypeError: object is not subscriptable

13 votes

Rounding a list of floats into integers in Python

13 votes
Accepted

Python: String Manipulation

13 votes
Accepted

Can defaultdict accept callables dependent on the given missing key?

11 votes

what's the difference between yield from and yield in python 3.3.2+

11 votes
Accepted

How to construct a string by joining characters efficiently?

11 votes
Accepted

Best way to get first n characters of the string in Python

11 votes
Accepted

math.log(x) returns unexpected results in Python

11 votes
Accepted

Can you embed a try in a Python list comprehension?

10 votes

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

10 votes

Attempting Python list comprehension with two variable of different ranges

10 votes
Accepted

Python String replace doesn't work

10 votes
Accepted

Python: use a function in pandas lambda expression

10 votes
Accepted

Where is a Python built-in object's __enter__() and __exit__() defined?

9 votes
Accepted

Python: How to sort the letters in a string alphabetically keeping distinction between uppercases and lowercases

9 votes

How to get items after something in a list in python?

9 votes

Gitlab pages and Jekyll - issue with set up TLS Lets Encrypted

8 votes
Accepted

Search list of string elements that match another list of string elements

8 votes

Python: os.walk() with enumeration

1
2 3 4 5
23