Python Forum
Display text 3 words at a time
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Display text 3 words at a time
#1
Hi,
I want to display 3 words on screen at a time from some textfile/pdf. At a specified rate (user to select time 1/100 to 300 sec).

I also want to provide a pause button( eg ENTER) and a resume button (ENTER)

f = open("demofile.txt", "r") 
for x in f: print(x) input()
 f.close()
The speed of display and the pause / resume buttons are a problem. Request for any help

thanks
Reply


Messages In This Thread
Display text 3 words at a time - by algae - May-04-2020, 09:11 AM
RE: Display text 3 words at a time - by DPaul - May-04-2020, 03:00 PM
RE: Display text 3 words at a time - by algae - May-05-2020, 02:11 PM
RE: Display text 3 words at a time - by DPaul - May-10-2020, 06:31 AM
RE: Display text 3 words at a time - by algae - Jun-27-2020, 09:46 AM
RE: Display text 3 words at a time - by menator01 - Jun-27-2020, 10:25 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Scaling text QLabel following display mode windows '100%, 125% ...) VIGNEAUD 2 2,273 Jul-07-2021, 06:38 PM
Last Post: deanhystad
  Display MySQL data in QLlineEdit text boxes JayCee 1 4,134 Mar-26-2020, 03:55 PM
Last Post: JayCee
  Display and update the label text which display the serial value jenkins43 5 9,118 Feb-04-2019, 04:36 AM
Last Post: Larz60+
  Display more than one button in GUI to display MPU6000 Sensor readings barry76 4 3,919 Jan-05-2019, 01:48 PM
Last Post: wuf

Forum Jump:

User Panel Messages

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