Skip to main content
John Gordon's user avatar
John Gordon's user avatar
John Gordon's user avatar
John Gordon
Lead software developer
  • Member for 13 years, 8 months
  • Last seen this week
  • University of Illinois, Urbana IL
62 votes
Accepted

ImportError: cannot import name '...' from partially initialized module '...' (most likely due to a circular import)

37 votes

What's the difference between raise, try, and assert?

27 votes

Read local JSON file with Python

24 votes

raise Assertionerror vs. assert python

24 votes

TypeError ('module' object is not callable) using dateutil relativedelta

21 votes
Accepted

Set PYTHONPATH for cron jobs in shared hosting

21 votes
Accepted

from keras.layers import Dense -- cannot import name 'Dense'

14 votes

in python, how do you denote required parameters and optional parameters in code?

13 votes

Using "for x not in y"

12 votes
Accepted

ValueError: non-hexadecimal number found in fromhex() arg at position

12 votes

Django : ProgrammingError: column "id" does not exist

12 votes
Accepted

How to interleave two lists of different length?

10 votes
Accepted

Write factorial with while loop python

9 votes

Get next item in list. At the end go back to the beginning

9 votes
Accepted

Python: requests can't login to a website

8 votes

Send Keys shift+tab on Selenium Web driver

8 votes
Accepted

Cannot find module after change directory

8 votes

How do I create a list of every combination of 3 digit numbers in Python?

8 votes

python: ValueError: not enough values to unpack (expected 2, got 0)

8 votes
Accepted

Converting xml.etree.ElementTree to string raises "TypeError: argument of type 'int' is not iterable"

7 votes

How do I check if a list of lists contains a value?

7 votes

In my python script why is there a syntax error on the letter "r" in rho

6 votes

Read and save a csv file with the name of a variable

6 votes

what does " python manage.py migrate " in django do exactly?

6 votes
Accepted

Changing lowercase characters to uppercase and vice-versa in Python

6 votes
Accepted

print several strings using for loop in python

6 votes

One line if else statement refuses to work

6 votes
Accepted

Some websites block selenium webdriver, how does this work?

6 votes

Raise an error and after that return a value in Python

6 votes
Accepted

func = Lambda x = something: x

1
2 3 4 5
61