Skip to content

Commit a3f6b98

Browse files
committed
Python installation part moved to "Let's start with Python" chapter.
1 parent 60323e8 commit a3f6b98

2 files changed

Lines changed: 62 additions & 0 deletions

File tree

django_installation/README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,30 @@ You can download Python for Windows from website https://www.python.org/download
1212

1313
### Linux
1414

15+
It is very probable, that you already have Python installed out of the box. To check if you have it installed (and which version it is), you type in a console:
16+
17+
$ python --version
18+
Python 3.4.0
19+
20+
If you don't have Python instaled or you want different version, you can install it as follows.
21+
1522
#### Ubuntu
1623

24+
You type in the console:
25+
26+
sudo apt-get install python3.4
27+
28+
1729
#### Fedora
1830

31+
Yout type in the console:
32+
33+
sudo yum install python3.4
34+
1935
### OS X
36+
37+
You need to go to the website https://www.python.org/download/releases/3.4.0/ and install the appropriate package for you operating system.
38+
39+
----
40+
41+
If you have any doubts or something went wrong and you have no idea what to do next - please ask your coach! Sometimes things are not going smoothly and it's better to ask for help someone with more experience.

try_python/README.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,46 @@ Huh, it's exciting, right?! You'll write your first line of code in just minutes
44

55
But first, let me tell you what Python is. Python is a very popular programming language that can be used to write websites, games, science, graphics, and many, many more. Python was conceived in the late 1980s and it's main goal is to be readable by human beings (not only machines!) that's why it looks much simpler than other programming laungages. That also makes it easy to learn, but don't worry, Python is also really powerful!
66

7+
## Python Installation
8+
9+
*This subchapter is based on awesome tutorials by Geek Girls Carrots (http://django.carrots.pl/)*
10+
11+
Django is written in Python. We need it to do anything in Django. Let's start with installing it!
12+
13+
### Windows
14+
15+
You can download Python for Windows from website https://www.python.org/download/releases/3.4.0/. After downloading ***.msi** file, you should execute it (double-click on it) and follow the instructions there. It is important to remember the path (the folder) where we installed the Python. It will be needed later.
16+
17+
### Linux
18+
19+
It is very probable, that you already have Python installed out of the box. To check if you have it installed (and which version it is), you type in a console:
20+
21+
$ python --version
22+
Python 3.4.0
23+
24+
If you don't have Python instaled or you want different version, you can install it as follows.
25+
26+
#### Ubuntu
27+
28+
You type in the console:
29+
30+
sudo apt-get install python3.4
31+
32+
33+
#### Fedora
34+
35+
Yout type in the console:
36+
37+
sudo yum install python3.4
38+
39+
### OS X
40+
41+
You need to go to the website https://www.python.org/download/releases/3.4.0/ and install the appropriate package for you operating system.
42+
43+
----
44+
45+
If you have any doubts or something went wrong and you have no idea what to do next - please ask your coach! Sometimes things are not going smoothly and it's better to ask for help someone with more experience.
46+
747
## Python Prompt
848

949
To start tinkering with Python, we need to open up a *prompt* on your computer. On Mac OS X you can do this by launching `Terminal` application (It's in Applications → Utilities). On Windows you need to go to Start menu → All Programs → Accessories → Command Prompt. On Linux, it's probably under Applications → Accessories → Terminal.

0 commit comments

Comments
 (0)