without
Of course it's up to you. There are people that use PyCharm for one reason or another.
knn(sys.argv)
you don't need it. And again - if you put it at the top it will work, but if your knn.py is properly structured, the second line should go in 'if __name__ == '__main__':
block(Mar-13-2020, 08:47 AM)Pavel_47 Wrote: Concerning IDLE alternative for Linux ... probably PyCharmdid you read my second post? I used PyCharm in the past, but currently using VSCode on both Linux and Windows and I like it very much. PyCharm is too heavy compared to VSCode. For third time - look at the tutorial.
Of course it's up to you. There are people that use PyCharm for one reason or another.
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs