Python Forum
Printing string at specific position on terminal - not showing
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Printing string at specific position on terminal - not showing
#1
Hello,

I am studying Python and currently working on matrix.
I want to print an empty matrix and pointing the position of each matrix element by a dot.

When I launch the script I get arrow pointing the left of my terminal screen.
I guess the "dot" are on the left.

←[1;1H.
←[1;18H.
←[1;7H.
←[1;24H.
←[1;12H+
←[1;30H=

What am I missing ?
Is it my code which is wrong ?

Stackoverflow link with issue + code detailled

Please, could someone help me ?
I am blocked.

Thank you in advance

Best Regards

Mathieu
Reply
#2
Please post details here, not link to another forum.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Printing a string containing newlines meijeru 3 69 Mar-23-2026, 03:20 AM
Last Post: deanhystad
  Get the string after a specific char JanJan 5 1,800 Apr-30-2025, 05:04 AM
Last Post: snl_9527
  Printing specific values out from a dictionary mcoliver88 6 3,856 Apr-12-2023, 08:10 PM
Last Post: deanhystad
  Printing a raw string with a folder separator at the end, duplicates the separator krulah 5 3,123 Nov-28-2022, 12:41 PM
Last Post: snippsat
  printing a string in reverse Skaperen 2 2,718 Nov-20-2021, 05:08 AM
Last Post: ghoul
Question [SOLVED] Delete specific characters from string lines EnfantNicolas 4 4,091 Oct-21-2021, 11:28 AM
Last Post: EnfantNicolas
  printing an string instead of a expression Underscore 2 3,135 Oct-11-2021, 03:10 PM
Last Post: deanhystad
  Dynamic Printing With Python Terminal MrTim 2 5,045 Jul-06-2021, 04:00 PM
Last Post: MrTim
  How to extract specific key value pair from string? aditi06 0 3,767 Apr-15-2021, 06:26 PM
Last Post: aditi06
  Printing a specific line from a JSON serpiente 4 10,410 Mar-14-2021, 07:27 PM
Last Post: buran

Forum Jump:

User Panel Messages

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