- 博客(6)
- 收藏
- 关注
翻译 python微软azure文本转语音
#! /usr/bin/env python3 # -*- coding: utf-8 -*- ### #Copyright (c) Microsoft Corporation #All rights reserved. #MIT License #Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation fil...
2021-08-24 15:39:20
2872
原创 vimrc录制永久宏
先用qx录制宏,将所有操作认真操作完成按q退出录制用"xp可以显示出刚才录制的内容是什么编辑vimrc末尾添加let @s=用"xp将刚才的操作指令填写在后面,如果用复制粘贴会将^M ^[等含义会消失,用ubuntu vim编辑中的直接打印 将命令写入最安全,然后将命令用let @s="something"引起来,中间如果有"需要用\转义一下重启vim 输入@s即可永久使用录制的宏...
2018-05-27 12:18:56
822
原创 python图片转换pdf
#!/home/chao/anaconda3/envs/test_py2/bin/python#coding:utf-8import osimport sysfrom reportlab.lib.pagesizes import A4, landscapefrom reportlab.pdfgen import canvasfrom PIL import Imagefrom reportlab.p...
2018-02-22 19:49:03
7157
原创 python 长图片切割并转换为pdf
#!/home/chao/anaconda3/envs/test_py2/bin/python#coding:utf-8import os from PIL import Imagedef splitimage(src, dstpath): img = Image.open(src) w, h = img.size height=w*297/210 #A4纸比例出的高度 ...
2018-02-22 19:48:03
1906
1
原创 struts2 hibernate搭建过程
1.下载安装tomcat7.0。 2.将struts2需要的jar包放在lib下。 3.修改server.xml设置JNDI数据库。 auth="Container" type="javax.sql.DataSource" maxActive="100" maxIdle="30" maxWait="10
2016-06-08 10:33:28
332
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅