Ben Chuanlong Du's Blog

It is never too late to learn.

The Installation Location of Python Packages Using Pip

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

When installing a Python package using pip without using sudo or the root user, the package is installed into the user's local directory at ~/.local/lib/python3.7/site-packages (using Python …

Share Memory Among Processes in Python

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

https://www.youtube.com/watch?v=uWbSc84he2Q

https://docs.python.org/3.8/library/multiprocessing.html#multiprocessing.Value

Quickly Open a Directory in Terminal in Mac

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

OpenInTerminal is a Finder Toolbar app for macOS to open the current or selected directory in Terminal, iTerm, Hyper or Alacritty.

Installation and Configuration

  1. Install OpenInTerminal

    brew cask install openinterminal
    
  2. Launch …