Explain Codes LogoExplain Codes Logo

Python

Error "Microsoft Visual C++ 14.0 is required (Unable to find vcvarsall.bat)"

python
pip-installation
visual-c-build-tools
troubleshooting

Asserting successive calls to a mock method

python
unittest
mocking
testing

All combinations of a list of lists

python
performance
recursion
nested-loops

How can I use pickle to save a dict (or any other Python object)?

python
pickle
data-serialization
object-persistence

How to convert a nested Python dict to object?

python
object-conversion
data-structures
python-objects

Send HTML emails with Python

python
email-engineering
smtp
smtplib

Convert list to tuple in Python

python
tuple
data-structure
immutable-data

Nameerror: Global name 'xrange' is not defined in Python 3

python
python-3
python-2
best-practices

What is the fastest way to send 100,000 HTTP requests in Python?

python
async-functions
concurrent-programming
http-clients

How to add hours to current time in python

python
datetime-manipulation
timezones
dateutil

How to TRUNCATE TABLE using Django's ORM?

python
django-orm
bulk-deletion
referential-integrity

Check if multiple strings exist in another string

python
functions
list-comprehensions
regular-expressions

How can I open multiple files using "with open" in Python?

python
file-management
error-handling
concurrency

Pytest: assert almost equal

python
assertions
float-comparison
testing

Creating a dictionary from a csv file?

python
dataframe
pandas
csv

How to replace whitespaces with underscore?

python
regex
functions
best-practices

How to skip iterations in a loop?

python
exception-handling
try-except
continue

Numpy Array Initialization (Fill With Identical Values)

python
numpy
array-initialization
performance-tips

How to check if a string in Python is in ASCII?

python
functions
unicode
encoding

How do I convert an IPython Notebook into a Python file via commandline?

python
jupyter
nbconvert
command-line