Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GUI on screen shows brackets and commas. #49

Closed
James100000 opened this issue Nov 18, 2017 · 1 comment
Closed

GUI on screen shows brackets and commas. #49

James100000 opened this issue Nov 18, 2017 · 1 comment

Comments

@James100000
Copy link

James100000 commented Nov 18, 2017

I am more then satisfied with this working example, the program works beyond expectation.

Is there any way of stopping the print out on the screen from showing brackets, commas.

Any input would be most appreciated.

Thanks

``from guizero import App, Text

def update_writing():

A = 50

B = 60

C = 70

D = ("WORLD",A,B,C,"HELLO")

writing.set(D)

app.after(200, update_writing)

app = App(height=2000, width=2000, bgcolor="black")

writing = Text(app, text="", color="red", size=100)

app.after(200, update_writing)

writing.pack(fill="none", expand=True)

app.display()
``

@James100000
Copy link
Author

James100000 commented Nov 19, 2017

Problem solved from Stack overflow

``
from guizero import App, Text

def update_writing():

A = 50

B = 60

C = 70

lst = ['WORLD',A,B,C,'HELLO'] # This line added

D = (' '.join((str(x) for x in lst))) # This line added

writing.set(D)

app.after(200, update_writing)

app = App(height=2000, width=2000, bgcolor="black")

writing = Text(app, text="", color="red", size=100)

app.after(200, update_writing)

writing.pack(fill="none", expand=True)

app.display()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant