码迷,mamicode.com
首页 >  
搜索关键字:__user    ( 38326个结果
pymysql使用模板
db = pymysql.connect(host="localhost", port=3306, user="root", passwd="xxx", db="stu_info")cursor = db.cursor(cursor=pymysql.cursors.DictCursor)cursor ...
分类:数据库   时间:2021-06-07 20:09:12    阅读次数:0
Pymysql连接
PyMysql连接数据库 防止sql注入 import pymysql ? ? def insertsql(): # 建立连接 connection_sql = pymysql.connect( host='localhost', port=3306, user='root', password=' ...
分类:数据库   时间:2021-06-07 20:05:01    阅读次数:0
python读取配置文件
import configparser<!--more-->cf = configparser.ConfigParser()cf.read("config.ini", encoding='UTF-8')username=cf.get("user","username") auto=cf.get("a ...
分类:编程语言   时间:2021-06-06 19:16:51    阅读次数:0
谷粒商城学习——环境配置git-ssh
官网注册git账号 下载git客户端 下载的比较快不传百度云了,一路安装默认配置即可 配置git git bash here进入git控制台 配置用户名 git config --global user.name "zyn" 配置作者邮箱 git config --global user.email ...
分类:其他好文   时间:2021-06-06 18:50:15    阅读次数:0
Selenium控制已打开的Chrome浏览器
1.1、设置Chrome属性Chromen属性,快捷方式标签下,目标后面加上参数 --remote-debugging-port=6001 --user-data-dir="C:\ProgramFiles\Chrome" 1.2、编写代码 from selenium import webdriver ...
分类:其他好文   时间:2021-06-06 18:45:41    阅读次数:0
HTTP 内容协商/ Content Nagotiation
访问同一个 URI 时,服务器可以返回不同类型的资源。比如在浏览器中访问 http://www.example.com/user 可以是个网页,也可以是个 JSON 接口,甚至可以是张图片等。 具体返回哪种类型,就需要引入内容协商的机制,以达到返回正确资源类型的目的。 内容协商分为服务器主导(ser ...
分类:Web程序   时间:2021-06-05 18:29:14    阅读次数:0
ip反查域名脚本
# -*- coding: utf-8 -*- import urllib import urllib2 import re import json import xlwt import time workbook = xlwt.Workbook(encoding='utf-8') #新建一个Exc ...
分类:其他好文   时间:2021-06-05 18:28:32    阅读次数:0
mssql-注入脚本
#coding:utf-8 #Author:LSA #Description:hishop sqli for /user/UserRefundApply?OrderId= #Date:20190701 import sys import requests from bs4 import Beauti ...
分类:数据库   时间:2021-06-05 18:27:44    阅读次数:0
idea配置连接oracle数据库 内外网分离,内网的机器使用IDEA的Databse需要下载驱动包,无法连接解决方案
1.打开idea2.点击右边侧边栏DataBase,点击加号,进行添加Data Soure 如果找不到,可以试试从导航栏找 View-Tool Windows-DataBase3.配置连接及测试下载jar包 点击右上角的加号箭头,点击第一个,可以查看自己下载的路径 测试成功之后才能进行连接 最近单位 ...
分类:数据库   时间:2021-06-04 19:17:46    阅读次数:0
003
Barefoot Networks P4 Studio Build Tool P4 Studio Build is a tool that helps a user to install dependencies, build and install all the required compone ...
分类:其他好文   时间:2021-06-04 19:14:12    阅读次数:0
38326条   上一页 1 ... 11 12 13 14 15 ... 3833 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!