Open in app

Sign In

Write

Sign In

Liu Zuo Lin
Liu Zuo Lin

2.3K Followers

Home

About

Published in

Level Up Coding

·Pinned

5 Work Tools Every Programmer Needs (In My Opinion)

# A Glimpse Into My Home Office Setup — If you’re a programmer, and you work from home maybe 2–3 days per week, here are some work tools that has made my home office much more comfortable. This article might be updated as I upgrade my home office setup. This post may contain affiliate links, and I may earn…

Programming

5 min read

5 Work Tools Every Programmer Needs (In My Opinion)
5 Work Tools Every Programmer Needs (In My Opinion)
Programming

5 min read


Published in

Level Up Coding

·Pinned

Return VS Yield in Python — A Short Comic

# Why ‘yield’ can make your Python code faster — And this problem gets worse the more data we deal with. What if there are 1000 people in the line? The ‘return’ keyword def add10(x): return x + 10 x = add10(4) # x = 14 def get_takoballs(orders): output = [] for order in orders: output.append(f'{order} takoballs')…

Python

3 min read

Return VS Yield in Python — A Short Comic
Return VS Yield in Python — A Short Comic
Python

3 min read


Published in

Level Up Coding

·Pinned

20 Python Concepts I Wish I Knew Way Earlier

# Stuff I wish I learnt earlier as a beginner — There are lots of concepts we need to grasp in Python. And everyone learns them differently, in different sequences. Here are some things I wish I learnt much earlier when I was still a Python beginner. 1) Tuple Unpacking + Tuple Unpacking With * person = ['bob', 30, 'male'] name, age, gender = person # name='bob, age=30, gender='male' …

Python

9 min read

20 Python Concepts I Wish I Knew Way Earlier
20 Python Concepts I Wish I Knew Way Earlier
Python

9 min read


Published in

Level Up Coding

·Pinned

48 Things I Never Knew About Python Until Recently (Compilation)

# this list keeps getting longer — 1) We can set variables dynamically using globals() a = 4 b = 5 ^ this is the same as: globals()['a'] = 4 globals()['b'] = 5 globals() is a dictionary containing all global variables, and we can set variables by add key-value pairs into globals(). (don’t do this in production code tho) 2) re.sub can take in functions # replacing vowels with - import re x…

Python

11 min read

48 Things I Never Knew About Python Until Recently (Compilation)
48 Things I Never Knew About Python Until Recently (Compilation)
Python

11 min read


Published in

Level Up Coding

·13 hours ago

Web Scraping In Python Day 1 — Beautiful Soup

In simple terms, web scraping refers to extracting data from websites automatically. It’s like going to a website, and copying down the data — just that we use Python (or whatever language) to make this automatic. What is Beautiful Soup? Beautiful Soup is a Python library that is commonly used for web scraping. It…

Python Programming

5 min read

Web Scraping In Python Day 1 — Beautiful Soup
Web Scraping In Python Day 1 — Beautiful Soup
Python Programming

5 min read


Published in

Level Up Coding

·1 day ago

Asynchronous Programming in Python In 4 Minutes

# A Short Introduction To Concurrency In Python — Asynchronous programming is a programming paradigm that allows for non-blocking I/O operations, resulting in more efficient and faster code execution. In Python, the asyncio module provides a framework for asynchronous programming. Here, we will discuss what asyncio is, how it works, and how to use it in Python. What is AsyncIO? AsyncIO is…

Python

4 min read

Asynchronous Programming in Python In 4 Minutes
Asynchronous Programming in Python In 4 Minutes
Python

4 min read


Published in

Level Up Coding

·2 days ago

9 Levels Of List Comprehension In Python

1) Basic List Comprehension lis = [1, 2, 3, 4, 5] new = [n**2 for n in lis] # new = [1, 4, 9, 16, 25] Here, our list comprehension generates a new list containing the squares of each number in the original list lis. 2) List Comprehension With A Condition lis = [1, 2, 3, 4, 5] new = [n**2…

Python

4 min read

9 Levels Of List Comprehension In Python
9 Levels Of List Comprehension In Python
Python

4 min read


Published in

Level Up Coding

·3 days ago

Global VS Nonlocal in Python

When working with Python functions, you may come across the terms global and nonlocal. These two keywords are used to define the scope of variables in Python. Here, we will explore the differences between global and nonlocal variables, how they are used, and when to use them. Global Variables A global variable…

Python

3 min read

Global VS Nonlocal in Python
Global VS Nonlocal in Python
Python

3 min read


Published in

Level Up Coding

·4 days ago

6 Python Things That Make Me Cry Internally

# I Love Python, But… — Python is probably my favourite language. As people say: There are only 2 kinds of programming languages — the ones people complain about and the ones nobody uses. Python is not perfect, and there are still stuff about it that I would do away with in a heartbeat if I…

Python

4 min read

6 Python Things That Make Me Cry Internally
6 Python Things That Make Me Cry Internally
Python

4 min read


Published in

Level Up Coding

·6 days ago

Git Blame Explained In 2 Minutes

# Don’t Use This To Blame Your Teammates — One of the less-known but incredibly useful features of Git is the git blame command. Here, we will take a deep dive into the world of git blame, exploring its functionality, use cases, and tips for using it effectively. What Is Git Blame? git blame is a command that helps developers trace the history…

Git

3 min read

Git Blame Explained In 2 Minutes
Git Blame Explained In 2 Minutes
Git

3 min read

Liu Zuo Lin

Liu Zuo Lin

2.3K Followers

LinkedIn: https://www.linkedin.com/in/zlliu/ Free Ebooks: https://zlliu.co/books Home Office Setup: https://zlliu.co/workspace

Following
  • Tim Denning

    Tim Denning

  • Alex Praytor

    Alex Praytor

  • Sean Kernan

    Sean Kernan

  • Josef Cruz

    Josef Cruz

  • Alessandro Butler

    Alessandro Butler

See all (50)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech

Teams