😀
Euclid Jie's Book
  • Introduction
  • 资源网站
  • 亲测好用的软件
    • GitBook
    • VSCode
  • 旁门左道
    • 既爱又恨的编码格式
    • datetime与pd.to_datetime对比
  • Python
    • Pip介绍
    • Python虚拟环境
    • Python类库
    • DataFrame函数
    • 时间格式数据处理
    • Numpy函数
    • python的IDE配置
    • 创建Package并上传至Pypi
    • Unitest
  • Machine Learning
    • PyTorch Lightning
  • R语言
    • 英文分词
    • 回归分析
    • 绘图专栏
    • 图解中心化、标准化对回归的影响
  • 课程知识点
    • 回归分析
    • 因子分析
    • 残差诊断
    • 异方差检验
  • 网络爬虫
    • BeautifulSoup
    • Selenium
    • Urllib3
    • IP代理池
  • 数据库
    • Mongo数据库
    • Redis数据库
    • ClickHouse数据库
    • MySQL数据库
    • Postgres
  • Git
  • 服务器相关
  • Linux命令
  • Docker相关
  • 正则表达式
  • Uqer
  • SSH
  • BAT
  • stata
  • 装机
  • 文献相关
  • 本文排版
由 GitBook 提供支持
在本页
在GitHub上编辑

旁门左道

记录一些杂七杂八但是经常用到的技巧

python代码块

  • GUI读取文件路径

    import tkinter as tk
    from tkinter import filedialog
    def getLocalFile():
        root = tk.Tk()
        root.withdraw()
        filePath = filedialog.askopenfilename()
        print('文件路径:', filePath)
        return filePath
上一页VSCode下一页既爱又恨的编码格式

最后更新于2年前