各平台观看视频接口

接口如下https://www.yemu.xyz/?url=xxx 如某奇异https://www.iqiyi.com/v_1iuyvur0lj8.html# -*- coding: utf-8 -*-import requestsimport reres = requests.get('https://www.iqiyi.com/a_cdofo6r6kt.html')n

- 阅读全文 -

python调用打印机实现打印文档

python调用打印机需要使用到pywin32库,使用win32api.ShellExecute可以调用默认打开指定文档的程序进行打印调用默认打印机进行打印import tempfile import win32api import win32print filename = tempfile.mktemp (".txt")open(filename,"w"

- 阅读全文 -

armbian系统配置为打印服务器(以佳能ip2800为例)

有些打印机缺少新的系统的驱动,可以把手头的armbian设备增值成为打印机服务器,让老的打印机焕发新春。 1 安装cupsapt-get install cups2 修改相关配置文件,启动cups服务nano /etc/cups/cupsd.conf 修改“localhost”改成“0.0.0.0”,Browsing off改成B

- 阅读全文 -