Added python magic