Run python in browser with pyscript | pyscript tutorial

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024

Комментарии • 7

  • @ricksegalCanada
    @ricksegalCanada 4 месяца назад +1

    Thanks for putting in the effort to make this video. It was super helpful and very much appreciated.

  • @adamice3022
    @adamice3022 5 месяцев назад

    Great tutorial, much better examples than any articles or even the pyscript website itself. I've created a Wordle game with a team for a school project using the pygame package. The displays are all done through pygame. I know that in order to display text or even matplotlib figures, you simply just use display() from pyscript. But what would I do when the display is done by the call of a pygame function? When I run our main.py, it opens up the game through pygame, but when I open the local website/server it says my title, and nothing happens. I would like for the game to open in the browser itself, but if it just opened up another window to the game that would be okay too. It could be possible that I'm not waiting long enough, but I have a feeling it's more than that. Also, we have a subdirectory called design that holds images and textures. Do I need to include that somewhere in the config or not at all? Sorry to bombard you with questions.

  • @m_sitso
    @m_sitso 4 месяца назад +1

    u r the video who made it work

  • @venkataphanikailashlanka8955
    @venkataphanikailashlanka8955 10 месяцев назад +1

    I tried but it;s giving error in the html page!

    • @learningsoftwareskills
      @learningsoftwareskills  10 месяцев назад

      Hi, what was the error. Please see the code for this video at nagasudhir.blogspot.com/2023/10/run-python-in-browser-with-pyscript.html
      Hope this helps, cheers 👍