码迷,mamicode.com
首页 > 编程语言 > 详细

python tkiner实现自动打包程序

时间:2019-10-30 19:57:56      阅读:98      评论:0      收藏:0      [点我收藏+]

标签:replace   shp   wap   ref   rtb   要求   ORC   信息   不包含   

环境 python3.x

使用前请确保安装pyinstaller库

本程序还未完善,可以自行完善

若要使用加密,请自行安装cryptodome库

import tkinter as tk
from tkinter import ttk, filedialog, messagebox
import os
import sys
import hashlib

#使用前请先安装pyinstaller库
#pip3 install pyinstaller
#加密需要pycrpto库 python3.x安装不了,若是必须加密,请使用 pycryptodome
#pip3 install --timeout pycryptodome
base64_ico=b‘AAABAAEAQEAAAAEAIAAoQgAAFgAAACgAAABAAAAAgAAAAAEAIAAAAAAAAEAAAA/2AAAP9gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA///////////////////////////////////////////////wH////////8AD///////+AAB///////gAAA//////wAAAAf////8AAAAAP///+AAAAAAP///gAAAAAAH//4AAAAAAAD/8AAAAAAAAH/wAAAAAAAAf/AAAAAAAAB/8AAAAAAAAH/wAAAAAAAAf/AAAAAAAAB/8AAAAAAAAH/wAAAAAAAAf/AAAAAAAAB/8AAAAAAAAH/wAAAAAAAAf/AAAAAAAAB/4AAAAAAAAA+AAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADwAAAAAAAAA/4AAAAAAAAf/8AAAAAAAH//+AAAAAAD////AAAAAAH////gAAAAAP////wAAAAAB////4AAAAAH////8AAAAAf////8AAAAB/////4AAAAH/////gAAAA/////+AAAAD//////wAAAf//////gAAD///////AAA////////AAH////////gD////////////////////////////////////////////8=‘

#获取程序名
all_name=os.path.abspath(sys.argv[0]).replace("\\",‘/‘).split("/")[-1]

#程序后缀
suffix=all_name.split(".")[-1]
#程序名
name=all_name[0:-len(suffix)-1]

#当前文件夹没有ico则生成ico
if os.path.isfile(name+".ico")==False:
    with open(name+".ico",‘wb‘) as f:
        f.write(b64decode(base64_ico))


class Application(tk.Frame):
    def __init__(self, master=None):
        super().__init__(master)
        self.file = None
        self.cmdParameter = {
            ‘-F‘: True,  # 将资源文件,.py文件打包成一个可运行文件
            ‘--i‘: None,  # ico文件位置
            ‘-n‘: None,  # 生成运行文件名称默认为源.py文件名
            ‘-workpath‘: None,  # 中间文件生成位置
            ‘-distpath‘: None,  # 目标文件生成位置
            ‘-a‘: False,  # 不包含unicode支持
            ‘--key‘: None,  # 指定加密的字符串16位
            ‘-d‘: None,  # 生成打包日志
            ‘-w‘:True,#没有控制台0 ==True 1==False
            ‘‘‘
                follow for windows
            ‘‘‘
            ‘–version-file‘: None,  # 添加版本信息.txt
            ‘--manifest‘: None,
        }
        self.w_v=tk.IntVar()
        self.f_v=tk.IntVar()
        self.f_v.set(1)
        self.w_v.set(0)
        self.master.title("AutoPackage-1.0")
        self.master.geometry("420x240")
        # self.master[‘background‘]="#000"
        self.grid()
        self.master.iconbitmap(name+".ico")
        self.create_widgets()

    def create_widgets(self):

        self.mainLabel = tk.Label(self,text="AutoPackAge(pyInstaller打包辅助)").grid(row=0, column=0,columnspan=3)

        self.fileLabel = tk.Label(self,text="选择py文件!").grid(row=1, column=0)

        self.filePathBox = ttk.Entry(self,width="32",)
        self.filePathBox.grid(row=1, column=1)

        self.cBtn = tk.Button(self,text="   选择   ",relief=tk.GROOVE,command=self.choosePyFile)
        self.cBtn.grid(row=1, column=2)

        self.setImgLabel = tk.Label(self,text=" 设置ico :")
        self.setImgLabel.grid(row=3, column=0)

        self.icoImg = tk.Entry(self,width=32,)
        self.icoImg.grid(row=3, column=1, rowspan=2)

        self.cImgBtn = tk.Button(self,text="选择图标",relief=tk.GROOVE,justify=tk.CENTER,command=self.setIco)
        self.cImgBtn.grid(row=3, column=2, padx=0, pady=0)

        self.oLabel = tk.Label(self,text="exe文件名:").grid(row=5, column=0)

        self.outFileName = tk.Entry(self,width="32")
        self.outFileName.grid(row=5, column=1)

        self.outBtn = tk.Button(self,text="   确定   ",relief=tk.GROOVE,command=self.set_out_name,)
        self.outBtn.grid(row=5, column=2)

        self.f_btn = tk.Checkbutton(self,text="打包成独立exe",variable=self.f_v,onvalue=1,offvalue=0,command=self.c_F_event)
        self.f_btn.grid(row=6, column=0)

        self.w_btn=tk.Checkbutton(self,text="控制台程序",variable=self.w_v,onvalue=1,offvalue=0,command=self.c_w_event)
        self.w_btn.grid(row=6,column=1)
        self.Label = tk.Label(self,text="添加16位密钥",).grid(row=7, column=0)
        self.keyTextBox = tk.Entry(self,width=32,)
        self.keyTextBox.grid(row=7, column=1)
        self.keyButton = tk.Button(self,text="   确定   ",padx=0,pady=0,relief=tk.GROOVE,command=self.set_key).grid(row=7, column=2)
        self.createBtn = tk.Button(self,text="   生成.exe可执行程序   ",
            relief=tk.GROOVE,
            command=self.createExe
        ).grid(row=8, column=0, columnspan=3)

    def c_w_event(self):
        if self.w_v.get()==1:
            self.cmdParameter[‘-w‘]=False
        else:
            self.cmdParameter[‘-w‘]=True

    def set_out_name(self):
        self.cmdParameter[‘-n‘] = None

    def set_key(self):
        if self.file == None or self.file == "":
            messagebox.showinfo(name+"消息提示", "请先选择打包文件")
        else:
            md = hashlib.md5()
            with open(self.file, ‘rb‘) as f:
                while 1:
                    data = f.read(1024)
                    if data:
                        md.update(data)
                    else:
                        break
            self.cmdParameter[‘--key‘] = md.hexdigest()[0:16]
            self.keyTextBox.insert(0, self.cmdParameter[‘--key‘])
            print(self.cmdParameter[‘--key‘])
            with open("key.txt", "w") as f:
                f.write(self.cmdParameter[‘--key‘])

    def c_F_event(self):
        if self.f_v.get()==1:
            self.cmdParameter[‘-F‘]=True
        else:
            self.cmdParameter[‘-F‘]=False

    def setIco(self):
        fname = filedialog.askopenfilename()
        if ‘ico‘ in fname.split(".")[-1]:
            self.icoImg.insert(-1, fname)
            self.cmdParameter[‘--i‘] = fname
        else:
            messagebox.showinfo("AutoPackage提示消息", "不是ico图标文件")
    def createExe(self):
        if self.file == None or self.file == "":
            messagebox.showinfo("AutoPackage消息提示", "请先选择py文件!")
            return
        cmd = "pyinstaller "
        for key in self.cmdParameter.keys():
            if self.cmdParameter[key] == True:
                cmd += key
                cmd += " "
            if type(self.cmdParameter[key]) != type(True) and self.cmdParameter[key] != None:
                cmd += key
                cmd += " "
                cmd += self.cmdParameter[key]
                cmd += " "
        cmd += self.file
        print(cmd)
        st = os.popen(cmd).read()
        if "ERROR" not in st:
            messagebox.showinfo(name+"消息提示", "文件打包完成!")
        else:
            print(st)
            messagebox.showinfo(name+"消息提示", "打包失败!")

    def choosePyFile(self):
        fname = filedialog.askopenfilename()
        if "py" in fname.split(".")[-1]:
            self.filePathBox.delete(0,tk.END)
            self.filePathBox.insert(0, fname)
            self.file = fname
            self.outFile = fname
            self.outFileName.delete(0,tk.END)
            self.outFileName.insert(0, fname)
        else:
            messagebox.showinfo(name+"消息提示", "文件不符合要求")







if __name__ == "__main__":
    root = tk.Tk()
    app = Application(master=root)
    app.mainloop()

  

使用说明

技术图片

 

 若要生成控制台程序,请打勾控制台程序,不勾选的话生成的exe程序执行是看不到控制台的,报错的话当然也看不到,会闪退

添加密钥点击确定就行,本人在这里是获得.py文件的md5的值,然后选择前面16位,至于加密,可以自己随便写了,最后确保是16位字符串就行

点击确定就行

一定要勾选打包成独立exe程序(默认是勾选的),这个选项是为了以后扩展,有很大一部分内容我没有写

这个程序本来是为了练习tkinter的,写完也没有再修改或者增加,肯定有很多不足之处,请见谅。

 

python tkiner实现自动打包程序

标签:replace   shp   wap   ref   rtb   要求   ORC   信息   不包含   

原文地址:https://www.cnblogs.com/lingdurebing/p/ldrb-python-tkinter-test.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!