H
H
hope_4412021-06-16 09:10:40
Python
hope_441, 2021-06-16 09:10:40

How to pass data between two python scripts?

I am developing a simple game engine on Pygame - Something like Pywrignt. Is it possible from script "b" to pass the value of variable "c" to script "a" (Where Pygame runs)? Am I using the Subprocess/Subprocess Popen module?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
H
HemulGM, 2021-06-16
@hope_441

Data can be passed through a pipe
https://ru.wikibooks.org/wiki/Tutorial_Python/Process...

D
Developer, 2021-06-16
@samodum

- Via files
- Via DB
- Via intermediate server
- Via message queue
...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question