![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
文章平均质量分 74
Landpack
Can we drop this masquerade
展开
-
python调用mysql执行duplicate简单例子
#!/usr/bin/pythonimport MySQLdbdb=MySQLdb.connect("localhost","root","openos","python")cur=db.cursor()try: sql="""INSERT INTO A (ID,NAME) VALUES (112,'%s') ON DUPLICATE KEY UPDATE NAME=VALUES(原创 2015-01-30 21:43:08 · 737 阅读 · 0 评论 -
欢迎使用CSDN-markdown编辑器
欢迎使用JTT808解析服务器简单介绍JTT808原理及使用方式:配置要求工作原理使用教程共同开发代码托管目录欢迎使用JTT808解析服务器目录运行环境配置创建虚拟运行环境安装必要python库建立开发目录各个python包的简单概述服务器配置服务器监听IP及端口配置解析的协议配置简单使用教程假设我们需要查询我们终端属性详解所有名词详解所有名词怎样二次开发基本原创 2016-01-15 11:03:56 · 2217 阅读 · 2 评论 -
django simple sample
django原创 2015-06-30 15:54:37 · 402 阅读 · 0 评论 -
Python With ZeroMQ Again
DownloadI suggest you looking for the latest version:http://zeromq.org/intro:get-the-softwareand Download it at your machine,and thenuse scp tool cp it to your server ... tar -xvf原创 2015-04-07 20:07:44 · 758 阅读 · 0 评论 -
zeromq samples getting the message out
Getting the Message OutThe second classic pattern is one-way data distribution,in which a server pushesupdates to a set of a set of clients.Let's see an example that pushes out weatherupdate原创 2015-04-11 16:40:53 · 461 阅读 · 0 评论 -
zeromq samples version
Version ReportingZeroMQ does come in several versions and quite often,if you hit a problem,it'llbe something that's been fixed in a later version.So it's a useful trick to know exactly what原创 2015-04-11 16:25:14 · 357 阅读 · 0 评论 -
Linux cron and init
If you plan to do something by linux it's selfyou may wanna use 'cron'but how to do it !On ubuntu !You can come into the /etc/cron.d/and create your script ....and then write some pl原创 2015-04-10 13:16:14 · 643 阅读 · 0 评论 -
Install Zeromq
In the ubuntu 12.04 server version check system:uname -asudo apt-get updatecheck latest version of zeromq:please visit: http://zeromq.org/area:downloadwget http:/原创 2015-03-24 18:43:37 · 1017 阅读 · 0 评论 -
安装MySQL-python方法与错误解法
源码安装mysql-python步骤:第一步:wget http://sourceforge.net/projects/mysql-python/files/latest/download第二步:tar xfz MySQL-python-1.2.3.tar.gz第三步:cd MySQL-python-1.2.4第四步:whereis mysql_confi原创 2014-12-14 15:24:04 · 582 阅读 · 0 评论