Informatics2-2018/Lab01
A MathWikiből
(Változatok közti eltérés)
a |
a |
||
1. sor: | 1. sor: | ||
− | [[Informatics2-2018/Lab00|previous]] [[Informatics2-2018|up]] [[Informatics2-2018/Lab02|next]] | + | [[Informatics2-2018/Lab00|previous]] [[Informatics2-2018#Labs|up]] [[Informatics2-2018/Lab02|next]] |
− | + | ||
= Running python = | = Running python = | ||
28. sor: | 27. sor: | ||
** Try any of the '''Lab 01''' exercises! | ** Try any of the '''Lab 01''' exercises! | ||
− | [[Informatics2-2018/Lab00|previous]] [[Informatics2-2018|up]] [[Informatics2-2018/Lab02|next]] | + | [[Informatics2-2018/Lab00|previous]] [[Informatics2-2018#Labs|up]] [[Informatics2-2018/Lab02|next]] |
A lap jelenlegi, 2018. február 14., 18:34-kori változata
Tartalomjegyzék |
Running python
On leibniz
- Type
python
into the terminal (konsole)- type
exit()
to exit.
- type
- start a Spyder (GUI graphical user interface)
- notebook: type the following into the terminal:
ipython notebook --port=##### --no-browser --ip=127.0.0.1
where ##### is a custom integer between 9000 and 20000. Then see localhost:#####
in your internet browser.
Own machine
Install Anaconda, version 2.7 is needed! It is advised to put it in the PATH.
- from terminal:
python
oripython
- it comes with Spyder
- Notebook: type
jupyter notebook
into terminal- exit with Ctrl+C
Exercises
- Try the notebook from the lecture.
- Start Sypder and write a short (but annoyingly polite) welcoming program.
- Try the welcoming program from terminal!
- Log in to cloudcoder and change your initial password.
- Try any of the Lab 01 exercises!