17 Answers
New AnswerFirsly you defined an url without assigne it to a variable >>> url("https://images.app.goo.gl/YLWg8o2c192DNyck7", "Bonephoto.jpg") And next the way you did in next line it will only if there is a picture named "Bonephoto.jpg" in the directory in witch your code run. >>> img = ImageTk.PhotoImage(Image.open("Bonephoto.jpg")) Try this : >>> imgUrl = url("https://images.app.goo.gl/YLWg8o2c192DNyck7", "Bonephoto.jpg") >>> img = ImageTk.PhotoImage(Image.open(imgUrl))
Hope it helps - https://stackoverflow.com/questions/48504746/importerror-libtk8-6-so-cannot-open-shared-object-file-no-such-file-or-direct
Me too, Carlos Santiago Reina Also, I need your answer from the question, please, help me.
Claro que hay un error, Carlos Santiago Reina. Te olvidaste de la n después del \. Ubah Chinedu Run it in Pydroid
estas intentando renderizar un HTML como imagen https://code.sololearn.com/c45L0j9qA6ga/?ref=app
Carlos Santiago Reina You must ask it as a separate question. Don't comment in other discussions That said, here's what I would do: for i in range(1,10): print(f'{i}.')
Yo probe 2 opciones y ls segunda salio bien: 1: print (1. \2. \3 etc......) Pero me dio error asi q tuve q hacerla: 2: print ("""1. 2. 3. 4. 5. 6. 7. 8. 9.""") Proba esta ultima, used number 2
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message