分类: Python

21 篇文章

thumbnail
Python之tkinter外卖点什么
模块 Tkinter – 标准 GUI(Graphical User Interface,图形用户接口)库,Python 使用 Tkinter 可以快速地创建 GUI 应用程序,在 Python2 和 Python3 中,Tkinter 都在标准库中,无需安装即可使用。在 Python2 中,这个库叫 Tkinter ,在 Python3 中,这个…
thumbnail
Python 爬取抖音用户短视频
# -*- coding: utf-8 -*- """ * target : 爬朱雯轩的所有短视频 * @Date : 2020-09-29 13:03 * @Auth : xiaoshuai.zhu * @File :爬取抖音用户视频.py * @IDE :PyCharm * @Version 1.0 "&…
thumbnail
Python 爬取基金历史净值数据
# -*- coding: utf-8 -*- """ * DataSource : 天天基金网 (http://fund.eastmoney.com/161005.html?spm=search),利用网站提供的数据接口,实现基金净值查询,并做一些简单的分析。数据是否准确,分析是否到位 * @Date : 2020-…
Python之selenium和chromedriver的用法
模块 selenium – 用于Web应用程序测试的工具 selenium 包直接使用pip安装即可 pip install selenium 代码 #!env python from selenium import webdriver import time driver = webdriver.Chrome(r'C:\Program Files…
Python之两台服务器之间通过paramiko传输文件
模块 paramiko – 用于做远程控制的模块,使用该模块可以对远程服务器进行命令或文件操作,fabric和ansible内部的远程管理就是调用paramiko来现实 基于用户名和密码交互式登录 代码 #!/usr/bin/env python import paramiko,datetime,os hostname='203.0.113.12'…