Upload
others
View
9
Download
0
Embed Size (px)
Citation preview
BashandIPythonNotebook
CourtesybyMa5hiasHaimel
WhatisBash
• Bourne-againshell– Linux/OSXoperaBngsystem(OS)(default)– InteractwithOSusingcommands– Command->similartomouseclick– Sendcommandoncommand-line(“blackbox”)
• BashScript– Listofcommandsinafile
Bashbasics
echo pwd(printworkingdirectory)
cd(changedirectory)
Bashbasics
ls(listitemsincurrentfolder)
ls-l(listinlongformatwithmoredetails)
Bashhelp
> manls
Bashhelp
> cp--help
IPythonNotebook
• IPython– commandshellforinteracBvecompuBng– mulBpleprogramminglanguages
• IPythonNotebook– Web-basedinteracBvecomputaBonalenvironment
– CombinedocumentaBon,codeandresults
IpythonNotebook
• StartIPythonnotebookfromcommandline?> ipython--help
IpythonNotebook
• StartIPythonnotebookfromcommandline?> ipython--help
IpythonNotebook
• StartIPythonnotebookfromcommandline!> ipythonnotebook
IPythonnotebook
• StartIPythonnotebookfromcommandline> ipythonnotebook