Python Forum
I need help for my python homework (getting the user input into a .txt file)
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I need help for my python homework (getting the user input into a .txt file)
#6
I missed that the submit button is not connected to the submit_form() function. The clear button is correctly connected to the clear_form function, so no indication of sleeping in class, just a mistake.

The gender_menu and course_menu should have labels like the Entry widgets, and the menus should default to the first selection. I would use StringVars with the Entry widgets. set("") is simpler than entry.delete(0, tk.end). Functions should be above the main body of code in the file, not inline with it.
Reply


Messages In This Thread
RE: I need help for my python homework (getting the user input into a .txt file) - by deanhystad - Mar-25-2025, 08:31 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Question Simulate an answer based on user input [Beginner needs guidance] Bombardini 1 1,907 Nov-12-2022, 03:47 AM
Last Post: deanhystad
  Need help implementing an input with file operations Gaijin 3 2,818 Jun-08-2022, 05:50 PM
Last Post: Gaijin
  HELP in python homework makashito 4 4,832 Oct-12-2021, 10:12 AM
Last Post: buran
  CyperSecurity Using Python HomeWork ward1995 1 2,507 Jul-08-2021, 03:55 PM
Last Post: buran
Exclamation urgent , Python homework alm 2 3,194 May-09-2021, 11:19 AM
Last Post: Yoriz
  Print user input into triangle djtjhokie 1 3,129 Nov-07-2020, 07:01 PM
Last Post: buran
  Homework with python Johnsonmfw 1 2,219 Sep-20-2020, 04:03 AM
Last Post: ndc85430
  Changing Directory based on user input paulmerton4pope 13 12,183 Aug-14-2020, 11:48 AM
Last Post: GOTO10
  how to add the user input from file into list wilson20 8 5,698 May-03-2020, 10:52 PM
Last Post: Larz60+
  Writing a function that changes its answer based on user input SirRavenclaw 2 3,612 Dec-21-2019, 09:46 PM
Last Post: Clunk_Head

Forum Jump:

User Panel Messages

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