Patchouli
帕秋莉的魔法筆記

帕秋莉的魔法筆記

Follow
Follow
homeWAY TO CPP11🚗PROBLEM SOLUTION
Tag

Python

#python

More content

Read more stories on Hashnode


Articles with this tag

Workaround for Pyscript Importing Folder by Compiling Wheel

May 30, 20221 min read

Why Currently, we cannot import a folder of python package in pyscript, for example: <py-env> - paths: - /myapp8763/__init__.py -...

Workaround for Pyscript Importing Folder by Compiling Wheel

Python: 可中斷的 Sleep

Feb 10, 20221 min read

在 Python 裡面,有個很好用的函數,叫做 time.sleep ,他可以讓程式暫停幾秒,不過要讓程式更好,需要再對 “Sleep” 更了解一些。 用途 就我來說,會用到的情況不外乎這幾種: 需要 polling 的等待函數 定期執行程式的 cronjob 暫時性的等待資源的 work...

Python: 可中斷的 Sleep

Pip Install Optional Dependency

Dec 19, 20211 min read

Sometimes, the users may not need to install all dependencies of a package, since they will not use the part of it. We can assign some optional...

Pip Install Optional Dependency

protobuf-to-dict 遷移到 protobuf3-to-dict

Apr 24, 20212 min read

簡介 protobuf_to_dict 和 protobuf3_to_dict 提供了 protobuf instance 和 dict 之間的轉換函數。 在有些服務裡,新的版本的 protocol 會用到新的 protobuf 的東西,例如:google.protobuf.Value,...

protobuf-to-dict 遷移到 protobuf3-to-dict