r/Python • • Aug 05 '19

Python's response to MATLAB

Post image
4.3k Upvotes

372 comments sorted by

View all comments

Show parent comments

405

u/Alexanderdaawesome Aug 05 '19

Because Python needs to type

import numpy as np

Before doing anything MATLAB can do.

0

u/[deleted] Aug 05 '19

[deleted]

82

u/[deleted] Aug 05 '19

You can write templates that do that for you, saving you literally seconds of drudgery!

3

u/MrValdez Philippines Aug 06 '19

Ok. So I copy paste this template to the end of my python file. Let me hold page down for a few seconds first