Python Forum
Help on locating strings somewhere in the screen
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help on locating strings somewhere in the screen
#1
The following code, taken as an example, shows the string in left upper corner while the time flows:
# ------- loctime.py -------------
import os,time
clear = lambda: os.system('cls')      
#
for i in range(0,100,1):
    clear()
    print ('Local time=', time.strftime("%H:%M:%S"))
    time.sleep(1)
What I wish is described here http://imgbox.com/3Kh8s4Ln
Thank you in advance

Without images my threads are strongly undocumented, so I do stop immediately to write in this forum. Good luck

User has been warned for this post. Reason: Post images
Reply
#2
FYI to anyone who might be looking at this thread at work - the image link is potentially NSFW. I didn't look at it long since it could result in an awkward conversation with my manager, but it definitely looked like the kind of thing that ought to be explained in natural language / output tags.
Reply
#3
(Mar-26-2019, 08:01 AM)samsonite Wrote: Without images my threads are strongly undocumented, so I do stop immediately to write in this forum. Good luck
Good luck.
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Trying to understand strings and lists of strings Konstantin23 2 761 Aug-06-2023, 11:42 AM
Last Post: deanhystad
  Splitting strings in list of strings jesse68 3 1,766 Mar-02-2022, 05:15 PM
Last Post: DeaD_EyE
  Finding multiple strings between the two same strings Slither 1 2,519 Jun-05-2019, 09:02 PM
Last Post: Yoriz
  Locating Grids in full page image KolGuy80 0 1,780 Mar-20-2019, 09:47 AM
Last Post: KolGuy80
  wn = turtle.screen() AttributeError: module 'turtle' has no attribute 'screen' Shadower 1 6,177 Feb-06-2019, 01:25 AM
Last Post: woooee
  lists, strings, and byte strings Skaperen 2 4,224 Mar-02-2018, 02:12 AM
Last Post: Skaperen

Forum Jump:

User Panel Messages

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