Changes

Jump to: navigation, search

OPS435 Python Lab 1

48 bytes added, 17:16, 15 May 2017
Part 2 - SETTING UP YOUR PYTHON ENVIRONMENT FOR OPS435 LABS
#<ol><li value="8">Issue the following command to install git:<source>
yum install git # Install git command line tool
</source></li>:#<li>IPython will be one of the tools we will use the most. Lets install it. You will learn more about it in the next section:<source>
yum install python-ipython # Install ipython for python2.7
pip3.4 install ipython # Install ipython for python3.4
</source></li>:#<li>Issue the following commands in your Ipython shell to check your work for this section:<source>
cd ~/ops435/lab1/
pwd #confirm that you are in the right directory
ls CheckLab1.py || wget matrix.senecacollege.ca/~acoatley-willis/CheckLab1.py
python ./CheckLab1.py -f -v lab0b
</source></li>:#<li>Before moving on to the next step, make sure you identify and correct any and all errors in "lab1a.py". When the check script tells you everything is "ok", you may proceed to the next step.</li></ol>
<blockquote><blockquote>{{Admon/important|style="padding-left:25px"|Selecting a Text Editor|There are a wide range of text editors for the python language and just about any of them will do. As long as you get basic syntax highlighting and automatic indenting out of the application you are good to go. This section will go over a number of different text editors, showing off a few different text editors so students may find their favourite. There are no wrong answers here, give them all a try and use your favourite.<br><blockquote>'''Vim'''<br>As a system administrator you have probably spent a ton of time inside vim. Well vim is just as powerful and useful when you get to programming, all the shortcuts and commands you've learned over the years will help you edit programs efficiently. On top of what you already know, it might be time to customize vim a little more for programming. Vim can actually be modified to become a full programming environment with all the features you you'd expect.</blockquote><blockquote>'''Atom'''<br>"A hackable text editor for the 21st Century". This text editor is a powerful tools that comes with everything your need right out of the box. Atom allows for deep customization from everything from complete functionality changes to just changing the theme. Definitely worth checking out, especially for python development.</blockquote><blockquote>'''Sublime'''<br>Insert discussion here</blockquote>}}</blockquote></blockquote>
13,420
edits

Navigation menu