py-game [files] works with config= but not with <py-config>? #2349
-
When using py-game, I was not able to find a way to make files load into the local Python environment using in the index.html file, but after looking at some of the test scripts at the GitHub site, the config= with TOML file works. For example: <script type="py-game" src="main.py" config="./config.toml"></script> Recognizing that py-game is experimental (appreciated!), is this intentional or should I put together a bug report with example code to see if I'm just missing something? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Solved without context so here I am trying to explain the what and the why:
To me, having two completely different script types help explaining why one can be multiple times on the same page and the other doesn't, but it's true that so far |
Beta Was this translation helpful? Give feedback.
don't get me wrong, I never meant to say py-game is not gaining market interest, probably quite the opposite, I am saying our
<script type="py-game">
is not bringing in too much to the plate and often that confuses developers ... I was talking about the PyScript stript type, not about the wonder that ispy-game-ce
package as dependency.