• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






守护式等待

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理
上一页 1 ··· 40 41 42 43 44 45 46 47 48 ··· 72 下一页

2019年8月28日

django ListView
摘要: ListView from django.contrib.auth.mixins import LoginRequiredMixin from django.views.generic import ListView from apps.news.models import News class N 阅读全文
posted @ 2019-08-28 13:59 守护式等待 阅读(98) 评论(0) 推荐(0)
 

2019年8月22日

pycharm 设置django server
摘要: 阅读全文
posted @ 2019-08-22 15:51 守护式等待 阅读(196) 评论(0) 推荐(0)
 
centos7虚拟机端口命令
摘要: cat /etc/redhat-release # 查看centos 版本 Centos7端口常见命令 虚拟机新开了5005端口,系统内部是显示开了的,但是外部不能访问端口。 一些需要用到的命令: 1、firewalld的基本使用 systemctl enable firewalld.service 阅读全文
posted @ 2019-08-22 15:40 守护式等待 阅读(230) 评论(0) 推荐(0)
 
解决Django-Error: That port is already in use
摘要: Error: That port is already in use. 1.使用python manage.py runserver 8001 开一个新的端口。 2.kill掉原来的端口(在root条件下)。 2.1在终端输入lsof -i:8000,列出进程信息。 yum install lsof 阅读全文
posted @ 2019-08-22 10:50 守护式等待 阅读(99) 评论(0) 推荐(0)
 

2019年8月21日

mysql报错
摘要: centos 安装mysqlclient报错 pipenv.patched.notpip._internal.exceptions.InstallationError: Command "python setup.py egg_info" failed with error code 1 in /t 阅读全文
posted @ 2019-08-21 14:42 守护式等待 阅读(113) 评论(0) 推荐(0)
 

2019年8月20日

pipenv
摘要: 1.安装pipenv pip3.6 install pipenv 2.创建虚拟环境 pipenv --python 3.6 # 指定python3.6版本 3.安装包 cd myorject # 进入项目目录 pipenv install django 4.安装完成后会在项目目录生成两个文件 vi 阅读全文
posted @ 2019-08-20 14:24 守护式等待 阅读(85) 评论(0) 推荐(0)
 

2019年8月16日

merge
摘要: 1.merge def merge(left, right, how="inner", on=None, left_on=None, right_on=None, left_index=False, right_index=False, sort=False, suffixes=("_x", "_y 阅读全文
posted @ 2019-08-16 14:21 守护式等待 阅读(368) 评论(0) 推荐(0)
 

2019年8月15日

pandas 基本操作
摘要: 1. import pandas as pd import numpy as np df1 = pd.DataFrame(np.arange(12).reshape(3, 4)) df2 = pd.DataFrame(np.arange(20).reshape(4, 5)) print(df1) p 阅读全文
posted @ 2019-08-15 10:26 守护式等待 阅读(113) 评论(0) 推荐(0)
 

2019年8月14日

to_sql, to_csv, to_excel, to_json
摘要: from pandas import DataFrame 1.to_sql def to_sql(self, name, con, schema=None, if_exists="fail", index=True, index_label=None, chunksize=None, dtype=N 阅读全文
posted @ 2019-08-14 10:12 守护式等待 阅读(218) 评论(0) 推荐(0)
 

2019年8月12日

read_sql_query, def read_sql_table
摘要: read_sql_query, read_sql_table def read_sql_query(sql, con, index_col=None, coerce_float=True, params=None, parse_dates=None, chunksize=None): sql: my 阅读全文
posted @ 2019-08-12 15:16 守护式等待 阅读(127) 评论(0) 推荐(0)
 
上一页 1 ··· 40 41 42 43 44 45 46 47 48 ··· 72 下一页