basics
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
basics [2023/09/08 06:05] – created 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(" |
</ | </ | ||
+ | |||
+ | That is pretty much the only reason why Python is useful. You can start learning without getting confused by boilerplate code like ''"# | ||
+ | |||
+ | == Recommended Environment | ||
+ | === 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: | ||
+ | * [[online-python.com]] | ||
+ | * [[https:// | ||
+ | |||
+ | I don't recommend an online environment, | ||
+ | |||
+ | All else considered, if you can, just use PyCharm. |
basics.1694153107.txt.gz · Last modified: 2023/09/08 06:05 by appledog