Extract imports from Python script
att_from_pyscript.Rd
This function is inspired by att_from_rscript()
in the attachment
package. It assumes that Python imports start on line 1, are not separated
by any empty lines, and that an empty line exists between imports and code.