Closed GoogleCodeExporter closed 9 years ago
This is a good point -- currently, the inline Python code must be an
expression, not a statement or a block. This precludes stuff like imports. It
would be nice to support longer programs that look like function bodies
(wherein import statements would be allowed). But we'll need an idea for how to
distinguish between the two forms.
For this purpose, however, you might want to look at the "replace" config
option (which does character substitutions like this).
Original comment by adrian.sampson
on 4 Jan 2013 at 3:24
Pull request at: https://github.com/sampsyo/beets/pull/72
Original comment by florent....@gmail.com
on 5 Jan 2013 at 11:15
Merged! Thanks.
Original comment by adrian.sampson
on 6 Jan 2013 at 1:51
Original issue reported on code.google.com by
florent....@gmail.com
on 4 Jan 2013 at 12:05