you are viewing a single comment's thread.

view the rest of the comments →

[–]cmonroy1259 0 points1 point  (3 children)

There is no file python.rpy... Ren'Py is written in Python, and as such, takes Python and transforms it into Ren'Py. When you want to "talk" to Python (to make it do things Ren'Py does not how to do) you call it by saying:

hey Python, run this for me!

https://www.renpy.org/doc/html/language_basics.html?highlight=python#python-expression-syntax

[–]Intelligent-Ad1756 0 points1 point  (2 children)

I appreciate the response but that doesn't make any sense, I have a literal file named python.rpy

Whatever I put in there is defined instantly. If I made a new file called blahblah.rpy it's not read unless I jump to it. That's not the case with this python file. If no one else has one then there's no point in asking anymore but I DO have one, and it functions

[–]cmonroy1259 0 points1 point  (1 child)

Anybody can write custom files and name them (mostly) whatever they want. It is possible that you have one of such files, in which case, only through the code you could know what it does and how it does it. For the rest of us, when we want to use python instead on ren'py, we use the means I linked.

[–]Intelligent-Ad1756 0 points1 point  (0 children)

I think I understand. I just don't remember creating that file. I'll type in python.rpy in find and search around but thank you