modify python code box