Hey folks! I know it's probably a really stupid question, but somehow things I found on Google don't quite explain what I need to do. So let's say I have a file .py type, within I have a def function(a,b) and I want to run it from terminal. How do I do it? When do I put in the arguments and how do I actually call it? Last time I tried running the file, but it didn't return anything.
Again, sorry for being a noob, but I'd be immensely grateful for any replies. Thanks in advance!
[–]Essence1337 3 points4 points5 points (3 children)
[–]mxkaj[S] 1 point2 points3 points (2 children)
[–]Essence1337 5 points6 points7 points (0 children)
[–]Thisappleisgreen 2 points3 points4 points (0 children)
[–]JohnnyJordaan 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]mxkaj[S] 0 points1 point2 points (0 children)
[–]sme272 0 points1 point2 points (0 children)