0
Can I import something inside a function?
If I have same function in un'other file, can I put ' import ... ' directly inside them just to not forget it in the code? My doubt is that it should cause problems for exemple when I call that function more times.
1 Odpowiedź
0
just have both files in the same directory.
you can then import one file to the other and use its functions/methods