0

Can I import multiple var's from a module and use another names for all of them?

Example: from module import a, b, c as d, e, f Can I do something like that?

10th Jan 2019, 2:45 AM
DonLarry
DonLarry - avatar
2 Answers
+ 3
Yes, you can. Do it like this: from module import var1 as a, var2 as b, var3 as c
10th Jan 2019, 3:25 AM
Diego
Diego - avatar
0
Expand on your idea please
10th Jan 2019, 3:13 AM
MyIQis150
MyIQis150 - avatar