Your needs may be better served by the ast module:
import ast
a = ast.parse('print(i + len("AA") + j + len("BBB"))')
print ast.dump(a)
>>>
Module(body=[Print(dest=None, values=[BinOp(left=BinOp(left=BinOp(left=Name(id='i',
ctx=Load()), op=Add(), right=Call(func=Name(id='len', ctx=Load()), args=[Str(s='AA')],
keywords=[], starargs=None, kwargs=None)), op=Add(), right=Name(id='j', ctx=Load())),
op=Add(), right=Call(func=Name(id='len', ctx=Load()), args=[Str(s='BBB')], keywords=[],
starargs=None, kwargs=None))], nl=True)])
pydoc -k profile. BTW: "Help me." sounds a bit rude, "Please help me." would be more polite, but both are not needed here at SX.