[Tutor] Pygame environment
DL Neil
PyTutor at danceswithmice.info
Sun Apr 26 19:33:07 EDT 2020
On 26/04/20 9:42 PM, Cravan wrote:
> Hi could I ask if I want to implement an ai in my code how should I pass on my current environment to it? Would import (e.g. import * from blah.py) be sufficient? Or do I have to type env = python.learning.environment in order to do so?
Probably insufficient information to offer advice. What do you mean by
"current environment"? System, application, command-line configurations,
...???
Python's way of 'combining' modules is import. The usual pattern is to
have a 'main' program which "calls" functions and uses classes that have
been import-ed from other modules.
--
Regards =dn
More information about the Tutor
mailing list