上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 42 下一页
摘要: js 字符串数字与任何数字相加都会转换为字符串 任何数字与字符串数字相减(乘 除)都会转为数字 == 值是否相同 值和类型都相同 console.log(11 + '11') //1111 console.log('11' + 11) //1111 console.log(11 - '11') // 阅读全文
posted @ 2024-03-02 12:04 howhy 阅读(37) 评论(0) 推荐(0)
摘要: import base64 o = [183, 174, 108, 16, 131, 159, 250, 5, 239, 110, 193, 202, 153, 137, 251, 176, 119, 150, 47, 204, 97, 237, 1, 71, 177, 42, 88, 218, 1 阅读全文
posted @ 2024-02-23 14:06 howhy 阅读(472) 评论(0) 推荐(0)
摘要: alist=[2,5,32,34,11,44,65,113] print(alist[::])##取所有alist [2, 5, 32, 34, 11, 44, 65, 113] print(alist[::-1])##alist倒序 [113, 65, 44, 11, 34, 32, 5, 2] 阅读全文
posted @ 2024-01-17 15:14 howhy 阅读(35) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2024-01-17 13:44 howhy 阅读(14) 评论(0) 推荐(0)
摘要: import contextlib class MyWith: def __enter__(self): print('enter') return self def doThing(self): print('do.....') def __exit__(self, exc_type, exc_v 阅读全文
posted @ 2024-01-17 12:00 howhy 阅读(21) 评论(0) 推荐(0)
摘要: from concurrent.futures.thread import ThreadPoolExecutor import requests song_list=[ {'title':'胡广生.mp3','url':'https://webfs.hw.kugou.com/202401081759 阅读全文
posted @ 2024-01-09 11:34 howhy 阅读(35) 评论(0) 推荐(0)
摘要: https://tls.browserleaks.com/json from curl_cffi import requests 阅读全文
posted @ 2023-12-27 14:33 howhy 阅读(65) 评论(0) 推荐(0)
摘要: const { default: axios } = require("axios"); const yt = require("crypto-js") const Axios = require("axios") function cc1(){ var e = (new Date).getTime 阅读全文
posted @ 2023-12-14 17:47 howhy 阅读(377) 评论(0) 推荐(0)
摘要: class Student(): def __new__(cls, *args, **kwargs):##创建类的实例 print('__new__') return object.__new__(cls)##此处返回才会调用__init__ def __init__(self):##初始化类的实例 阅读全文
posted @ 2023-12-07 11:34 howhy 阅读(35) 评论(0) 推荐(0)
摘要: python :用@asyncio.coroutine装饰器生成的对象是一个生成器对象 但不是协程对象 用async 定义的函数对象不是一个生成器,但是一个协程对象 import asyncio from collections.abc import Coroutine,Generator @asy 阅读全文
posted @ 2023-12-06 14:43 howhy 阅读(37) 评论(0) 推荐(0)
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 42 下一页