- 博客(6)
- 资源 (2)
- 收藏
- 关注
转载 python之 logging模块详细使用【转载】
很多程序都有记录日志的需求,并且日志中包含的信息既有正常的程序访问日志,还可能有错误、警告等信息输出,python的logging模块提供了标准的日志接口,你可以通过它存储各种格式的日志,主要用于输出运行日志,可以设置输出日志的等级、日志保存路径、日志文件回滚等;使用logging的优势:a)你可以控制消息的级别,过滤掉那些并不重要的消息。b)你可决定输出到什么地方,以及怎么输...
2020-04-07 19:24:49
675
原创 nginx+uwsgi+django搭建步骤
在此之前 安装好python 3.6 + pip3 + pip install django等工具!!! ================================================================= nginx(前端)+ uwsgi(中间件)+ django(后台) 搭建 =============================...
2020-04-03 11:23:52
310
原创 使用static创建堆与栈空间链表
#include <iostream> using namespace std; class List { public: List(int d) { data = d; #if 0 /*可以优化*/ if(NULL == head) { this->next = NULL; head = t...
2018-11-26 09:06:11
221
原创 const 修饰数据成员、成员函数、类对象
#include <iostream> using namespace std; #if 0 const 修饰数据成员 成员函数 类对象 1. 修饰数据成员 初始化位置只能在参数列表里面 被const修饰的数据成员,不能被修改 2. 修饰成员函数 位置在 函数声明之后,实现体之前 意义:const 函数承诺不修改数据成员。 能访问co...
2018-11-26 09:04:48
496
原创 动态链表的创建
#include <stdio.h> //List结构样式 typedef struct node { int data; struct node *next; }Node; //创建head的空链 Node *createList() { Node *head = (Node *)malloc(sizeof(Node))...
2018-11-26 09:03:08
4699
转载 Centos6.8下搭建LAMP(Linux、Apache、MySQL、PHP)环境
Centos6.8下搭建LAMP(Linux、Apache、MySQL、PHP)环境一.安装Apache服务1. 命令如下:sudo yum install httpd –y注:采用该方法安装Apache的配置文件的默认路径在/etc/httpd/conf/httpd.conf需要设置一下Apache服务开机自启,如果不设置,每次开机后都需要自己重启服务: ...
2018-11-26 08:59:20
514
ASP.NET部署ckeditor_3.6.2及插件ckfinder_aspnet_2.1
2015-09-29
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅