会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Xcsg
做正确的事,正确的做事。
CnBlogs
Home
New Post
Contact
Admin
Subscription
上一页
1
···
9
10
11
12
13
14
15
下一页
2019年1月9日
git 码云的常用命令(版本控制)
首先在码云仓库创建对应的仓库 当你输入错误用户名和密码 需要清掉配置 git config --system --unset credential.helper 设置账号 git config --global user.name "名称" git config --global user.emai
Read More
posted @ 2019-01-09 10:49 Xcsg
Views(589)
Comments(0)
Diggs(0)
2019年1月7日
linux 基本操作
1. ctr + alt + t 打开新的终端窗口2. ctr + shift + + 终端窗口字体放大3. ctr + - 终端窗口字体缩小4. ls : 查看目录下的文件信息5. pwd: 查看目录所对应路径6. touch: 创建文件7. mkdir: 创建文件夹8. cd: 切换目录 8.1
Read More
posted @ 2019-01-07 19:57 Xcsg
Views(149)
Comments(0)
Diggs(0)
2019年1月4日
html 标签笔记
《一、HTML 基础结构》 <html>________________________________<head><title>无标题文档</title></head>________________________________<body> </body>___________________
Read More
posted @ 2019-01-04 20:40 Xcsg
Views(293)
Comments(0)
Diggs(0)
2019年1月3日
ECharts图形库
ECharts图形库百度的项目,图形的创建也比较简单,直接引用Javascript即可 1,引入<script src="{{ url_for("static",filename='js/echarts-all-2.2.7.js') }} 2定义绘图方法 <script> // function s
Read More
posted @ 2019-01-03 18:52 Xcsg
Views(582)
Comments(0)
Diggs(0)
2019年1月2日
python_flask 注册,登陆,退出思路 ---纯个人观点
1注册逻辑首先查询数据库用户名 并判断用户是否存在,如不存在就插入数据 并返回响应给前端2前端模板获取注册信息 判断 用户名不能为空及密码不能为空,和密码不一致 拼接注册url 组成get获取对象 响应数据并判断 如该用户名已存在 注册成功并跳转到登陆页面 window.location.href=
Read More
posted @ 2019-01-02 17:35 Xcsg
Views(1334)
Comments(0)
Diggs(0)
2019年1月1日
pyhton读取 excel表格文件
2019的第一天,忘记昨日之事,迎接新的明天。 excel表格文件办公中常用,如通过Python操作这些数据需导入并有序读取这些数据 特随笔,供以后查阅 代码如下: import xlrd # file = '1.xls' # # def read_excel(): # wb = xlrd.open
Read More
posted @ 2019-01-01 18:21 Xcsg
Views(312)
Comments(0)
Diggs(0)
2018年12月31日
pyhton 爬虫爬去吾爱精品软件的信息并写入excel
2018的最后一天了,感觉今年有得有失,这里就不再浪费时间了,愿2019万事如意 之前的爬虫信息下载后只写入txt文档,想到了以后工作加入有特殊需求,趁放假有时间将这写数据写入excel表格 以吾爱精品软件去为例,代码如下: # -*- coding: utf-8 -*- import json,x
Read More
posted @ 2018-12-31 11:43 Xcsg
Views(467)
Comments(0)
Diggs(0)
2018年12月28日
python 随机模块常用命令
import randomprint(random.random()) #用于生成一个0到1之间的随机浮点数print(random.uniform(1,3))# 用于生成一个指定范围内的随机浮点数print(random.uniform(3,1))# 两个参数一个是上限,一个是下限。print(r
Read More
posted @ 2018-12-28 18:45 Xcsg
Views(499)
Comments(0)
Diggs(0)
2018年12月26日
falsk_蓝图(blueprint)
蓝图(blueprint) 随着业务代码的增加,将所有代码都放在单个程序文件中,是非常不合适的。这不仅会让代码阅读变得困难,而且会给后期维护带来麻烦。 什么是蓝图 蓝图:用于实现单个应用的视图、模板、静态文件的集合。 蓝图就是模块化处理的类。 简单来说,蓝图就是一个存储操作路由映射方法的容器,主要用
Read More
posted @ 2018-12-26 19:12 Xcsg
Views(233)
Comments(0)
Diggs(0)
Python 常用的日期时间命令
今天用到自动添加当前时间,居然把之前的知识忘了,特整理常用的日期时间命令 代码:
Read More
posted @ 2018-12-26 17:40 Xcsg
Views(441)
Comments(0)
Diggs(1)
上一页
1
···
9
10
11
12
13
14
15
下一页
公告