Is there a way to import renpy directly in python instead of using renpy.exe?

Question:

I want to make a game in python that I can then import on an html page.
All in all, it’s a visual novel with python games in it.
Is there a way to import the renpy library directly in python or should I do the opposite and import the python games in the renpy script?

import renpy
label start:

    return
Asked By: A human

||

Answers:

Renpy isn’t a python library so the answer is no, you can’t.

Answered By: Warisul
Categories: questions Tags: ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.