- Code: Select all
import weeble as wee
from nee import shrubbery, water_effect
from knights import lancelot as brave, arthur as king
I want to extract the library names, not their aliases (as).
I was planning to wrestle with the regex, but I'm assuming someone has already done this before
I should also check that it is not commented out - either at the beginning of the line, or somewhere in the middle.