-
大小: 3.36MB文件类型: .gz金币: 1下载: 0 次发布日期: 2023-09-15
- 语言: Python
- 标签: python pyinstaller
资源简介
安装方法:1.减压文件到目录下。2.cmd到减压的目录下。3、执行python setup.py install
代码片段和文件信息
#!/usr/bin/python
#-----------------------------------------------------------------------------
# Copyright (c) 2013-2019 PyInstaller Development Team.
#
# Distributed under the terms of the GNU General Public License with exception
# for distributing bootloader.
#
# The full license is in the file COPYING.txt distributed with this software.
#-----------------------------------------------------------------------------
#
# Tkinter interface to PyInstaller.
#
import sys
import subprocess
# In Python 3 module name is ‘tkinter‘
try:
from tkinter import *
from tkinter.ttk import *
import tkinter.filedialog as filedialog
except ImportError:
from Tkinter import *
from ttk import *
import tkFileDialog as filedialog
class PyInstallerGUI:
def make_checkbutton(self frame text):
var = IntVar()
widget = Checkbutton(frame text=text variable=var)
widget.grid(sticky=“NW“)
return var
def __init__(self):
root = Tk()
root.title(“PyInstaller GUI“)
fr1 = frame(root width=300 height=100)
fr1.pack(side=“top“)
fr2 = frame(root width=300 height=300
borderwidth=2 relief=“ridge“)
fr2.pack(ipadx=10 ipady=10)
fr4 = frame(root width=300 height=100)
fr4.pack(side=“bottom“ pady=10)
getFileButton = Button(fr1 text=“script to bundle ...“)
getFileButton.bind(“
- 上一篇:Python ip 代理池爬取工具
- 下一篇:python从入门到精通学习资料
相关资源
- python+ selenium教程
- PycURL(Windows7/Win32)Python2.7安装包 P
- 英文原版-Scientific Computing with Python
- 7.图像风格迁移 基于深度学习 pyt
- 基于Python的学生管理系统
- A Byte of Python(简明Python教程)(第
- Python实例174946
- Python 人脸识别
- Python 人事管理系统
- 基于python-flask的个人博客系统
- 计算机视觉应用开发流程
- python 调用sftp断点续传文件
- python socket游戏
- 基于Python爬虫爬取天气预报信息
- python函数编程和讲解
- Python开发的个人博客
- 基于python的三层神经网络模型搭建
- python实现自动操作windows应用
- python人脸识别(opencv)
- python 绘图(方形、线条、圆形)
- python疫情卡UN管控
- python 连连看小游戏源码
- 基于PyQt5的视频播放器设计
- 一个简单的python爬虫
- csv文件行列转换python实现代码
- Python操作Mysql教程手册
- Python Machine Learning Case Studies
- python获取硬件信息
- 量化交易(附python常见函数的使用方
- python 名字用字排行
评论
共有 条评论