Python in Plain English

New Python content every day. Follow to join our 3.5M+ monthly readers.

Follow publication

Member-only story

7 More Things I Never Knew About Python Until Recently

Liu Zuo Lin
Python in Plain English
4 min readOct 3, 2022

--

cool art

1) We Can Import Multiple Libraries On One Line

import numpy as np
import pandas as pd
import tensorflow as tf
import numpy as np, pandas as pd, tensorflow as tf

2) We Can Ignore warnings in Python

import warnings
warnings.filterwarnings("ignore")

3) Deques (Doubly Ended Queues)

--

--

Published in Python in Plain English

New Python content every day. Follow to join our 3.5M+ monthly readers.

Written by Liu Zuo Lin

SWE @ Meta | [Ebook] 101 Things I Never Knew About Python: https://payhip.com/b/vywcf

Responses (6)

Write a response