0

I have a Python 2.7 program with Pygame 2.7 which I wanted to embed into a website. How would you do this?

1 Answer 1

1

You wouldn't. Pygame isn't a web based technology for games. If that's one of your main platforms, look into HTML5 based frameworks instead (or a platform that can export its runtime and content to HTML5).

Sign up to request clarification or add additional context in comments.

2 Comments

Would it be possible to compile it into a Windows executable file and then embed it onto a website? Thanks.
You can ask your users to download the executable file, but no, your users wouldn't (.. shouldn't, etc.) run untrusted code from a regular executable.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.