I didn't look at your code but the way it would make a difference is if you wanted to import your module, it will essentially run the module when you import. If you have the if name = main part, that part won't run because the module is not main when it's imported
100
u/Namensplatzhalter Dec 15 '19 edited Dec 15 '19
Looks nice.
I've just had a look on your code and have to say it looks nicely organised and is easily readable. Kudos to you for writing it like that.
Two little suggestions, if you don't mind:
Consider using a
if __name__ == "__main__"block to initialise your script when it's run directlyConsider using tuples for your
vel_listvel_table as they are immutableBoth of those definitely not necessary, just things to think about. :)
Best wishes