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






守护式等待

 
 

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

2019年8月22日

解决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 守护式等待 阅读(92) 评论(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 守护式等待 阅读(108) 评论(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 守护式等待 阅读(78) 评论(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 守护式等待 阅读(357) 评论(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 守护式等待 阅读(109) 评论(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 守护式等待 阅读(212) 评论(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 守护式等待 阅读(124) 评论(0) 推荐(0)
 

2019年8月6日

cookiecutter
摘要: 1.安装cookiecutter pip3 install cookiecutter 2.设置模板 https://github.com/cookiecutter/cookiecutter 搜索需要的模板 cookiecutter https://github.com/pydanny/cookiec 阅读全文
posted @ 2019-08-06 16:49 守护式等待 阅读(221) 评论(0) 推荐(0)
 
pycharm 远程连接
摘要: 1.连接远程项目 注意:Visible only for this project 这个选项如果勾选,这个配置只使用这个项目,在其他项目是找不到的,后面ssh 远程配置python3.6环境也会找不到这个配置,个人推荐不要勾选,如果服务器有多套环境可以使用 2.连接远程服务器 阅读全文
posted @ 2019-08-06 15:03 守护式等待 阅读(108) 评论(0) 推荐(0)
 

2019年8月5日

aiohttp_spider
摘要: aiohttp_spider_def: import asyncio import re import aiohttp import aiomysql from pyquery import PyQuery from lxml import etree start_url = 'http://new 阅读全文
posted @ 2019-08-05 16:09 守护式等待 阅读(64) 评论(0) 推荐(0)
 
上一页 1 ··· 40 41 42 43 44 45 46 47 48 ··· 71 下一页