basics
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
basics [2023/09/08 06:15] – appledog | basics [2023/09/11 12:17] (current) – appledog | ||
---|---|---|---|
Line 2: | Line 2: | ||
TO a large extent this will depend on what language is introduced first. | TO a large extent this will depend on what language is introduced first. | ||
- | At times I have used CBM BASIC, PHP, Python or other languages to teach. The language | + | At times I have used CBM BASIC, PHP, Python or other languages to teach. The language |
< | < | ||
Line 9: | Line 9: | ||
c = a + b | c = a + b | ||
- | if c >= a: | + | if c > a: |
print(" | print(" | ||
else: | else: | ||
- | print(" | + | print(" |
</ | </ | ||
- | == Reccomended | + | That is pretty much the only reason why Python is useful. You can start learning without getting confused by boilerplate code like ''"# |
+ | |||
+ | == Recommended | ||
+ | === Just Get PyCharm | ||
+ | Just get [[PyCharm]]. PyCharm is good. | ||
+ | |||
+ | === The Command Line | ||
+ | You won't loose much time with an editor like nano. You can use Linux, Mac, or WSL on Windows. Using the terminal can be almost as fast as using an IDE. I recommend an IDE because it is just faster. There is no need to use a general editor for a special document type. Still, I have taught kids using a text editor in a terminal and it does not impact their learning. | ||
+ | |||
+ | === Online IDE | ||
You can run python in the browser at websites such as: | You can run python in the browser at websites such as: | ||
* [[online-python.com]] | * [[online-python.com]] | ||
* [[https:// | * [[https:// | ||
- | You can of course also use the shell and an editor like %%nano%%. | + | I don't recommend |
- | However, since PyCharm is free and runs on Linux, Mac and Windows, you should | + | All else considered, if you can, just use PyCharm. |
basics.1694153710.txt.gz · Last modified: 2023/09/08 06:15 by appledog