Explain Codes LogoExplain Codes Logo

Best Articles — Page 11

How to loop backwards in python?

python
reverse-iteration
python-3
best-practices

How to Listen to State Changes in React.js?

javascript
react-hooks
state-management
lifecycle-methods

How to line-break from CSS, without using <br />?

css
responsive-design
pseudo-elements
white-space-properties

How to leave/exit/deactivate a Python virtualenv

python
venv
bash
virtualenv

How to know which Python is running in Jupyter notebook?

python
prompt-engineering
venv
best-practices

How to keep keys/values in same order as declared?

python
collections
dataframe
pandas

How to keep footer at the bottom of the screen

html
responsive-design
css
web-development

How to join two generators (or other iterables) in Python?

python
generator-expressions
lazy-evaluation
iterators

How to Join to the first row

sql
join
performance
best-practices

How to install multiple python packages at once using pip

python
pip-installation
requirements-file
virtual-environment

How to insert columns at a specific position in existing table?

sql
database-management
table-operations
column-positioning

How to include newlines in jQuery text()

javascript
prompt-engineering
functions
callbacks

How to include jar files with java file and compile in command prompt

java
classpath
java-8
best-practices

How to import the class within the same directory or sub directory?

python
import-patterns
relative-imports
python-3

How to import module when a module name contains a '-' dash or hyphen?

python
importlib
pythonic-naming-conventions
module-import

How to hide output of subprocess

python
subprocess
error-handling
process-management

How to grab the first element in a list of tuples in Python?

python
list-extraction
tuple
python-stdlib

How to get UTC time in Python?

python
datetime
timezone
timestamp

How to get time in milliseconds since the Unix epoch in Javascript?

javascript
timestamp
unix-epoch
date-now

How to get the value of an input field using ReactJS?

javascript
react-hooks
state-management
best-practices