码迷,mamicode.com
首页 >  
搜索关键字:simple    ( 6450个结果
NetCore 使用 iTextSharp 读取 PDF 中的文字信息
问题描述:使用默认 iTextSharp 读取文字没有问题,代码如下: <PackageReference Include="iTextSharp" Version="5.0.5" /> PdfReader reader = new PdfReader(strFileName); var total ...
分类:Web程序   时间:2020-05-31 17:50:27    阅读次数:182
python_配置文件_yaml
一. 1.安装 pip install pyyaml 国内安装源: pip install -i https://pypi.tuna.tsinghua.edu.cn/simple pyyaml 2.使用 1)读取数据 yaml 文件内容: #读取数据with open('conf.yaml',enc ...
分类:编程语言   时间:2020-05-31 13:16:09    阅读次数:137
用python自动发送邮件详细教程
最近工作中的一个项目需要自动发送一些信息邮件到指定邮箱的需求,那么如何实现Python自动发送邮件的功能呢?接下来我们就来简单的介绍下如何利用Python来实现自动发送邮件的功能。 Python SMTP发送邮件 SMTP(Simple Mail Transfer Protocol)即简单邮件传输协 ...
分类:编程语言   时间:2020-05-30 22:08:52    阅读次数:107
[Python] Simple Decorators
def my_decorator(func): def wrapper(): print("Something is happening before the function is called.") func() print("Something is happening after the f ...
分类:编程语言   时间:2020-05-30 20:15:38    阅读次数:77
架构师内功心法,干过中介干过快递的代理模式详解
一、代理模式的应用场景 在我们的生活中,经常会见到这样的场景,如:租售房中介、婚介、经纪人、快递等,这些都是代理模式的现实生活体现。代理模式(Proxy Pattern)是指为其它对象提供一种代理,以控制对这个对象的访问。代理对象在客户端和目标对象中间起到了中介的作用,使用代理模式主要有两个目的:一 ...
分类:其他好文   时间:2020-05-30 20:10:19    阅读次数:76
Django3.0.3使用Xadmin
Django3.0.3使用Xadmin 下载地址 pip3 install https://codeload.github.com/sshwsfc/xadmin/zip/django2 -i https://pypi.douban.com/simple/ 注册应用: INSTALLED_APPS = ...
分类:其他好文   时间:2020-05-30 20:03:12    阅读次数:119
Mybatis中 SIMPLE、REUSE、BATCH的区别
Executor分成两大类,一类是CacheExecutor,另一类是普通Executor。 普通类又分为: ExecutorType.SIMPLE: 这个执行器类型不做特殊的事情。它为每个语句的执行创建一个新的预处理语句。(默认)ExecutorType.REUSE: 这个执行器类型会复用预处理语 ...
分类:其他好文   时间:2020-05-30 19:55:33    阅读次数:57
java 获取时间方式
1.通过Util包中的Date获取 Date date = new Date(); SimpleDateFormat dateFormat= new SimpleDateFormat("yyyy-MM-dd :hh:mm:ss"); System.out.println(dateFormat.for ...
分类:编程语言   时间:2020-05-30 15:52:19    阅读次数:72
搬运 | pip更换国内镜像源
临时使用 pip install -i https://pypi.tuna.tsinghua.edu.cn/simple some-package 默认使用 # windows系统使用cmd快速设置 pip install pip -U # 升级pip到最新版本 pip config set glo ...
分类:其他好文   时间:2020-05-30 15:39:08    阅读次数:80
PAT.1049 Counting Ones(排列组合)
1049 Counting Ones (30分) The task is simple: given any positive integer N, you are supposed to count the total number of 1's in the decimal form of th ...
分类:其他好文   时间:2020-05-29 23:43:50    阅读次数:106
6450条   上一页 1 ... 27 28 29 30 31 ... 645 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!