8000 GitHub - tdouguo/PyTools: Python 常用的工具,《pdf to world》、《tinypng》、《xlsx to json》
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

tdouguo/PyTools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python 常用小工具, 欢迎您 Pull requests 。

***贡献规范: ***

  1. 测试通过可运行
  2. 依赖模块文件 requirements.txt
  3. 使用说明

list

python 虚拟环境

  1. 创建虚拟环境
virtualenv -p python3.7 venv
  1. 激活虚拟环境
source venv/bin/activate
  1. 安装依赖模块
pip install -r requirements.txt 
  • 扩展 导出依赖模块
pip freeze > requirements.txt

Document

pdf2world

  1. 安装模块
cd pdf2world/
pip install -r requirements.txt 
  1. 使用
python pdf2world.py ./source.pdf ./output.docs

tinypng

  1. 访问 www.tinypng.png 获取 Key 并在 tinypng.py 脚本内 tinify.key 赋值

  2. 安装模块

cd pdf2world/
pip install -r requirements.txt 
  1. 使用
python pdf2world.py ./sourceFolder ./outputFolder

About

Python 常用的工具,《pdf to world》、《tinypng》、《xlsx to json》

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages

0