【文件属性】:
文件名称:emojisearcher:不再使用Google搜索,将表情符号复制到剪贴板
文件大小:10KB
文件格式:ZIP
更新时间:2021-05-16 05:21:13
Python
表情符号搜寻器
自动化无聊的东西:我一直在搜索表情符号并将其手动复制到剪贴板。
因此,是时候编写脚本以从命令行按文本查找表情符号并将其复制到剪贴板的时候了。
默认情况下,如果有多个匹配的表情符号,它将进行第一个匹配。 但是,如果在单词上附加点(。),则可以选择要复制的表情符号。
如何运行
git clone git@github.com:bbelderbos/emojisearcher.git
cd emojisearcher
poetry install
poetry run emo
( poetry ?。)
您还可以创建一个shell别名:
# .bashrc
alias emo="cd $HOME/code/emojisearcher && poetry run emo"
并运行测试:
poetry run pytest
其他方法
在社交媒体上分享这些内容时,我了解了
【文件预览】:
emojisearcher-master
----poetry.lock(16KB)
----emojisearcher()
--------__init__.py(22B)
--------script.py(3KB)
----README.md(941B)
----tests()
--------__init__.py(0B)
--------test_script.py(2KB)
----.gitignore(29B)
----pyproject.toml(658B)