摘要:
包含QT的程序,运行的时候可能会遇到This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this probl 阅读全文
摘要:
curl是Linux下一个非常著名的下载库,通过这个库,可以很简单的实现文件的下载等操作。看一个简单的例子: #include <curl/curl.h> #include <stdio.h> #include <string.h> CURL *curl; CURLcode res; size_t 阅读全文
摘要:
#include <Windows.h> #include <stdio.h> // IOCTL控制码 // #define DFP_SEND_DRIVE_COMMAND CTL_CODE(IOCTL_DISK_BASE, 0x0021, METHOD_BUFFERED, FILE_READ_ACC 阅读全文
摘要:
oracle 数据库的安装 : 一: 安装的时候可以设定解锁的用户 一般默认是解锁soctt用户和hr用户 ; oracle的超级用户是sysdba这个用户在安装的时候也可以设置密码,一 般自己使用的时候可以直接设置上密码,这样在以后用超级用户登录的 时候就不需要再次输入密码。但是在企业开发中使用的 阅读全文
摘要:
#安装python pip (在物理环境中安装) sudo apt-get install python-pip sudo apt-get install python3-pipsudo pip install --upgrade pipsudo pip3 install --upgrade pip 阅读全文
摘要:
PostgreSQL 是一款强大的,开源的,对象关系型数据库系统。它支持所有的主流操作系统,包括 Linux、Unix(AIX、BSD、HP-UX,SGI IRIX、Mac OS、Solaris、Tru64) 以及 Windows 操作系统。 下面是 Ubuntu 发起者 Mark Shuttlew 阅读全文
摘要:
出自:http://www.diybl.com/course/3_program/python/20111130/563643.html 模块名: 小写字母,单词之间用_分割 ad_stats.py 包名: 和模块名一样 类名: 单词首字母大写 AdStats ConfigUtil 全局变量名(类变 阅读全文
摘要:
此文copy至http://blog.csdn.net/lcyangcss/article/details/7249961#t1 如有侵权 告知即撤 鸣谢 阅读全文
摘要:
mode对应的类型 见 : https://docs.djangoproject.com/en/1.8/ref/models/fields/ 命令行ipython查看 from django.db import models model. tab补齐 V=models.CharField(max_l 阅读全文
摘要:
1.升级python包管理工具pip pip install --upgrade pip 备注:当你想升级一个包的时候 `pip install --upgrade 包名` 2.python虚拟环境安装 sudo apt-get install python-virtualenv sudo easy 阅读全文