Home > other >  Consult the great god, python how to invoke different variables in the catalog file
Consult the great god, python how to invoke different variables in the catalog file

Time:12-04


As shown in the picture: you want to use in ys_login login_A file driver this variable, could you tell me how to call?

CodePudding user response:

A little bit more simple, the login_A. Py this file on ys_login the files in the same directory,
Then import the import login_A, using variable login_A. Driver

CodePudding user response:

my purpose is not how to use this variable, but if that happens, how to get access to different variables in the files in the directory

CodePudding user response:

See your screenshot is not already successfully imported login_A,
Didn't understand what you mean, or wait for the great god to answer it,
  • Related