moviepy
moviepy copied to clipboard
get rid of unpythonic imports!
from moviepy import *
--> import moviepy
Could you explain what do you mean with this? You can import moviepy as you want.
https://stackoverflow.com/questions/2386714/why-is-import-bad
@mondeja I believe @chiboreache is refering to the example in the readme and those in the examples/
folder which use from moviepy import *
.
I understand that this is not a great pattern to promote, but it makes the code more concise, in particular in the readme. It could be fixed in the example files, but I never went around to doing it.
Ah sure, it seems that patterns like import moviepy as mp
or import moviepy as mpy
(to distinguish from matplotlib imports) would improve that.