I’m working on my computing project for school, and I’m having trouble getting anything the user inputs to save to a .csv file. I’m using Python 3.2.2 and Tkinter as the GUI. No matter what I enter into the fields I get the wrong output into the csv, similar to “.54540776.54541280,” etc. I’ve basically had to teach myself this stuff as I’ve gone along so I’m probably just making a stupid mistake somewhere. I’ve tried using the csv module in Python and I can’t get that working. I haven’t been able to find anything similar (that I understand to be the same anyway). I’ve uploaded my code to pastebin to make it more readable: http://pastebin.com/FarMtWdZ
I’m working on my computing project for school, and I’m having trouble getting anything
Share
note: I didn’t read all of the code, but this addresses the crux of the problem.
The problem is with how you are pulling the contents of an
Entry. Don’t usestr(your_entry), rather useyour_entry.get().gives