0

You can get variables by:

from <file> import <var/class/function>

but it does not read the entire file.

import <file>

then what?

gz200
  • 1
  • 2
  • Does this answer your question? [Use 'import module' or 'from module import'?](https://stackoverflow.com/questions/710551/use-import-module-or-from-module-import) – Tzane Nov 08 '21 at 07:01
  • show some code, error. also try from file import * – cerofrais Nov 08 '21 at 13:12

0 Answers0