Libraries

When calling for library there is different way of doing this .

import re
Then you need to specify the re.search to be able to use the search function.

from re import search
Then no need to use the re.search , you can use the search function without the re.

from re import search as magic
Then you can call the function search by using magic variable.

by creating a script that you would what to use the variable or function you can import it too.

from import_script from variable1, 2, 3

 

Leave a Comment