The Python Oracle

Videos

Correct incantation of subprocess with shell=True to get output and not hang

3.5K

How to log smtp debug information to a file?

8.3K

Are there more search paths than in sys.path?

2.9K

Thread safety in Python (Question how it works)

400

Start a dictionary for loop at a specific key value

3.6K

OpenGL says "from_param received a non-contiguous array"

324

pandas column selection: non commutative bitwise OR when selecting on str and NaN

178

Generate 3D "matrix" with Pandas, based on comparing two dataframes [Python]

104

How to authenticate to a remote db host with MongoKit?

1.7K

Conditionally modify global variable

2.8K

What is the correct method to display a large popup menu?

969

Setting a single row of a CellRendererToggle to inconsistent

2.9K

Flask-Login: How to force Firefox/Chrome to remove session cookie when tab is closed?

4.4K

Count the number of occurrences between markers in a python list

399

Python: Boolean List to Binary String

9.3K

Shallow or deep copy in a list comprehension

6.8K

root finding in python

12.3K

Python2 math.fsum not accurate?

938

Why does calling the KFold generator with shuffle give the same indices?

2.5K

OCR: check if letter is in (string) of image (Opencv, Python, Tesseract)

3.4K

Why does the any() method not return what I think it should?

58

How to find blank cells in excel using pandas?

3.8K

How to vectorize this operation

149

Different results in IDLE and python shell using 'is'

221

Why does my recursive function with if-elif statements return None?

2.9K

Alternative to eval in Python

4.3K

skipping a line while reading a file with a for loop

24.3K

Using "or" in if statement conditions

235

pythonic way of raising an error within the try block

13.6K

Compound boolean logic in python if

2.1K

How do I check existence of a string in a list of strings, including substrings?

16.7K

Django 1.5 GET 404 on static files

10.4K

Session Cookie HTTPOnly flag not set on response from logout (Django)

1.9K

Filtering a subgraph in graph-tool

2.6K

Pandas: Replace column values to empty if not present in pre-defined list

7.3K

Python Add Elements to Lists within List if Missing

1.7K

Is there a way to keep Telegram bot running when closing Python?

11.8K

Something fun going on with unicode and python requests

2.5K

Using decision tree regression and cross-validation in sklearn

17.5K

How to conditionally copy a substring into a new column of a pandas dataframe?

1.2K

Is there a way to exit a pytest test and continue to the next one?

4K

dask set_index from large unordered csv file

707

How can I sort the values in a custom Keras / Tensorflow Loss Function?

3.5K

How to access an object attribute with a dot in its name

2.3K

How to merge two binary numbers into a ternary number

949

Pickle a QPolygon in python 3.6+ and PyQt5

961

SESSION_COOKIE_SECURE=True in Django 2.2 redirects Admin login to itself

4.1K

Why is python isinstance() transitive with base classes and intransitive with metaclasses?

221

Skip first line in import statement using gc.open_by_url from gspread (i.e. add header=0)

537

ordered = True not respected. python + marshmallow + Flask

659