Explain Codes LogoExplain Codes Logo

Python

What does ** (double star/asterisk) and * (star/asterisk) do for parameters?

python
argument-passing
function-definition
python-features

What does colon equal (:=) in Python mean?

python
assignment-expressions
walrus-operator
python-3.8

What are the differences between numpy arrays and matrices? Which one should I use?

python
numpy
arrays
matrices

What are the differences between json and simplejson Python modules?

python
json-vs-simplejson
python-modules
performance-optimization

What are data classes and how are they different from common classes?

python
data-classes
object-comparison
python-3-7

What are all possible POS tags of NLTK?

python
nltk
pos-tagging
natural-language-processing

Wait until page is loaded with Selenium WebDriver for Python

python
selenium
webdriver
explicit-waits

Wait until all threads are finished in Python

python
threading
concurrent-execution
exception-handling

Vscode -- how to set working directory for debugging a Python program

python
debugging
vscode
launch-json

Using python's eval() vs. ast.literal_eval()

python
eval-vs-literal_eval
security-risks
safe-evaluation

Using pip behind a proxy with CNTLM

python
proxy-engineering
pip
environment-variables

Using pickle.dump - TypeError: must be str, not bytes

python
pickle
data-types
binary-mode

Using headers with the Python requests library's get method

python
http-headers
requests-library
python-requests

Using global variables in a function

python
global-variables
scope-management
variable-binding

Using global variables between files?

python
best-practices
global-variables
module-management

Update value of a nested dictionary of varying depth

python
nested-dictionaries
recursion
data-types

Update a dataframe in pandas while iterating row by row

python
pandas
dataframe
vectorization

Unzipping files in Python

python
file-paths
zipfile
pathlib

Unpacking a list / tuple of pairs into two lists / tuples

python
list-comprehensions
generator-expressions
zip-function

Understanding generators in Python

python
generator-expressions
lazy-loading
event-driven-programming