Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: can't run .exe file
Post: can't run .exe file

Hey! I have compiled my python file with pyinstaller and produced a .exe file, however my program doesn't want to run. I ran it through the shell and it printed out the following error message: Error:...
Doug General Coding Help 8 12,012 Feb-18-2017, 12:16 PM
    Thread: how to read a dictionary line from txt file?
Post: how to read a dictionary line from txt file?

Hey! I have a txt file with multiple dictionary lines. How could I possible read it literally as a dictionary line or straight as a dictionary line value in to the python file? my txt file: {'Cost': 2...
Doug General Coding Help 2 3,622 Feb-13-2017, 01:03 AM
    Thread: question regarding OOP
Post: question regarding OOP

I have a piece of code that is structured as a Class object "A". Then I have GUI code which is also structured as a Class object "B". How I possibly could put them together? Does one of them needs to ...
Doug General Coding Help 3 3,932 Feb-05-2017, 04:44 PM
    Thread: How to form a dataframe reading separate dictionaries from .txt file?
Post: How to form a dataframe reading separate dictionar...

Hey! Got an issue here. I need to read each line of .txt file as separate dictionary. Then to organize data in columns by the key of each dictionary. my .txt file looks as follows: {'Name': 'John', 'A...
Doug Data Science 1 4,255 Jan-23-2017, 01:32 AM
    Thread: how do I print cost variable on GUI?
Post: RE: how do I print cost variable on GUI?

my mistake. It actually should be "savings" instead of "cost"... but still I have the same problem.. from tkinter import * class Application(Frame):     def __init__(self, master):         Frame.__i...
Doug GUI 4 4,060 Jan-15-2017, 11:08 PM
    Thread: how do I print cost variable on GUI?
Post: how do I print cost variable on GUI?

how do I print cost variable on GUI? it says: cost is not defined. Thank you! from tkinter import * class Application(Frame):     def __init__(self, master):         Frame.__init__(self,master)    ...
Doug GUI 4 4,060 Jan-15-2017, 10:30 PM
    Thread: program doesn't run.
Post: RE: program doesn't run.

(Jan-15-2017, 07:41 PM)Larz60+ Wrote: [Tkinter] program doesn't run. (Jan-15-2017, 07:41 PM)Larz60+ Wrote: You need to supply a master window reference app = Application(root) It is working now! M...
Doug GUI 2 4,137 Jan-15-2017, 07:48 PM
    Thread: program doesn't run.
Post: program doesn't run.

Was watching a tutorial on youtube on how to use OOP in building GUI, but can not run identical code myself. Error: "in line 27 app = Application() TypeError: __init__() missing 1 required positional ...
Doug GUI 2 4,137 Jan-15-2017, 07:27 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020