-
Notifications
You must be signed in to change notification settings - Fork 1
/
installing.html
87 lines (69 loc) · 4.09 KB
/
installing.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang=""> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang=""> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" lang=""> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang=""> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>DC Python Lab</title>
<meta name="description" content="DC Python Lab landing page">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="/css/style.css" />
</head>
<body>
<!--[if lt IE 8]>
<p class="browserupgrade">You are using an <strong>outdated</strong>
browser. Please <a href="http://browsehappy.com/">upgrade your browser</a>
to improve your experience.</p>
<![endif]-->
<h1 class="white-background padded centered">
Resources: Installing Python
</h1>
<div class="white-background padded offset-left">
<h2>First, the Command Line</h2>
<p>
When learning Python you'll probably come across many references to
the Command Line. What is it? How do you use it?
</p>
<p>
The answers to many of these questions can be found <a href="http://lifehacker.com/5633909/who-needs-a-mouse-learn-to-use-the-command-line-for-almost-anything">here</a>. On Mac or Linux you're already set with Terminal or bash. To find Terminal on a Mac, look in the Utilities folder in Applications, or search for Terminal. Many versions of Windows come with Powershell, but you can also download it <a href="https://www.microsoft.com/en-us/download/details.aspx?id=42554">here.</a>
</p>
<h2>Installing Python</h2>
<h4>Windows</h4>
<p>
Windows requires you to install Python, which can be confusing if you're new to programming.
Below are a few guides to help you through the process:
</p>
<ul>
<li>Download <a href="http://continuum.io/downloads#all">Anaconda</a>, a Python distribution that comes with many of the most popular packages for analytics as well as Spyder, an interactive environment similar to what you're used to if you've used SaS, Stata, SPSS, or R Studio.</li>
<li><a href="http://www.howtogeek.com/197947/how-to-install-python-on-windows/">How-to-Geek's Guide to Installing Python</a>, which includes screen shots documenting the steps, if you prefer visual guides.</li>
<li><a href="https://docs.python.org/2/using/windows.html#installing-python">The official Python Documentation</a>, which has a couple of helpful links.</li>
</ul>
<h4>Mac</h4>
<p>
An older version of Python comes pre-installed with MacOS. All you need
to do is open the Terminal application and type the following:
<code>
python
</code>
This will start Python in interactive mode, and everything else you type
in the terminal window will be treated as Python code.
</p>
<p>In order to install a more up-to-date Python, look into <a href="https://brew.sh">Homebrew</a>.</p>
<h4>Linux</h4>
<p>This depends on the Linux distribution you're using, but it will most likely be installed.</p>
<h3>Text Editors</h3>
<p>There are quite a few to choose from, but some of the most popular include:</p>
<ul>
<li><p><a href="https://www.sublimetext.com/">Sublime Text</a>(Mac, Windows, Linux)</p></li>
<li><p><a href="https://code.visualstudio.com">Visual Studio Code</a>(Mac, Windows, Linux)</p></li>
<li><p><a href="https://atom.io/">Atom</a>(Mac, Windows, Linux)</p></li>
<li><p>If you're using Windows, <a href="http://notepad-plus-plus.org/">Notepad++</a> is a great option.</p></li>
<li><p>Experienced programmers might enjoy <a href="http://www.gnu.org/software/emacs/">Emacs</a> or <a href="http://www.vim.org/index.php">Vim</a></p></li>
</ul>
<footer class="padded centered">
© 2018 DC Python
</footer>
</body>
</html>