码迷,mamicode.com
首页 >  
搜索关键字:windows time    ( 126222个结果
python Aiohttp 异步HTTP
示例 # pip install aiohttp import asyncio import aiohttp headers = { "Referer": "https://vod.bunediy.com", "User-Agent": "Mozilla/5.0 (Windows NT 10.0; ...
分类:编程语言   时间:2021-05-24 02:57:18    阅读次数:0
爬虫进阶(四)——多任务协程爬取
基于Flask的示例 Server端 from flask import Flask,render_template import time app = Flask(__name__) @app.route('/bobo') def index_bobo(): time.sleep(2) retur ...
分类:其他好文   时间:2021-05-24 02:55:58    阅读次数:0
python 协程
import asyncio import time async def say_after(delay, what): """使用 async 声明函数""" await asyncio.sleep(delay) print(what) async def main(): # 一个一个执行 pri ...
分类:编程语言   时间:2021-05-24 02:55:21    阅读次数:0
beautifulsoup爬取链家网数据直接写入excel里
代码(仅限用于学习交流,未经允许不得用于商业获取非法利益): import requests from bs4 import BeautifulSoup import time import csv def get_url(start_num,end_num): url_list = [] #建立一 ...
分类:其他好文   时间:2021-05-24 02:50:08    阅读次数:0
Ubuntu
进入grub引导界面 #GRUB_TIMEOUT_SYTLE=hidden GRUB_TIMEOUT=10 GRUB_CMDLINE_LINUX_DEFAULT="text" update-grub bionic: windows subsystem linux /etc/apt/sources.l ...
分类:系统相关   时间:2021-05-24 02:44:03    阅读次数:0
为什么要学编程?学习编程的方法是什么?
为什么要学编程?学习编程的方法是什么? 我们学习编程,但是不一定要成为程序员。就像每个人都应该学习法律知识,但不是都要成为律师;像每个人都应该学习经济学,但是不是必须成为经济学家;就好像每个人都要学习数学,但不是每个人都要成为数学家。 不同的学科知识给与人们不同的思考方式,这些思维方式贯穿着我们日常 ...
分类:其他好文   时间:2021-05-24 02:41:15    阅读次数:0
c++ 编码转换 支持Linux 与Windows 系统
如果只想在Windows 平台下使用 可以参考 我的这篇文章 https://www.cnblogs.com/guolongzheng/p/13939527.html 代码片段 #pragma once #include <string> #include <codecvt> #include <l ...
分类:编程语言   时间:2021-05-24 02:38:25    阅读次数:0
pycharm注册。。
C:\WINDOWS\system32\drivers\etc找到host,最后添加:0.0.0.0 account.jetbrains.com 注册码: 7PNLXJPODN-eyJsaWNlbnNlSWQiOiI3UE5MWEpQT0ROIiwibGljZW5zZWVOYW1lIjoi6aOe6 ...
分类:其他好文   时间:2021-05-24 02:37:10    阅读次数:0
文件的完整性校验
windows下文件校验: certutil -hashfile filename MD5 certutil -hashfile filename SHA1 certutil -hashfile filename SHA256 linux 下文件校验: md5sum file1 file2 当两个文 ...
分类:其他好文   时间:2021-05-24 02:29:27    阅读次数:0
node系列扯犊子之六Path模块
###1、path.join() 方法用于连接路径。该方法的主要用途在于,会正确使用当前系统的路径分隔符,Unix系统是”/“,Windows系统是”\“。 var path = require('path'); path.join(mydir, "foo"); 上面代码在Unix系统下,会返回路径 ...
分类:其他好文   时间:2021-05-24 02:14:57    阅读次数:0
126222条   上一页 1 ... 41 42 43 44 45 ... 12623 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!