![]() Self.table = Table(self.tableframe, dataframe=pd.DataFrame(), width=300, height=400) Self.tableframe = tk.Frame(self.rightframe, highlightbackground="blue", highlightthickness=5) Self.button3 = tk.Button(self.rightframeheader, text='Generate Plot', command=self.generatePlot, width=10) Self.button2 = tk.Button(self.rightframeheader, text='Clear', command=self.clear, width=10) Self.button1 = tk.Button(self.rightframeheader, text='Import CSV', command=self.import_csv, width=10) Self.rightframeheader = tk.Frame(self.rightframe, background="white") Self.leftframe = tk.Frame(self.main, background="white") Self.rightframe = tk.Frame(self.main, background="white") Self.main = tk.Frame(master, background="white") Now obviously this is a big problem, especially if you have several large libraries lying around which are not actually being used.įrom tkinter.filedialog import askopenfilename, asksaveasfileįrom _tkagg import FigureCanvasTkAggįrom llections import PatchCollection Regardless of whether they are actually needed, or not. ![]() When we normally use Pyinstaller to bundle our applications, it ends up including ALL of the libraries that we have installed. ![]() Now you might have already put two-and-two together and realized the problem here. Running this on my old device might have given me double the above amount. And this is on a relatively new Python installation (3-4 months old). That was quite a long list right? I don’t even recognize half of those libraries (they were installed as dependencies). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |