Skip to content

Commit 6a4a694

Browse files
committed
Finished Python section
1 parent 9f1390e commit 6a4a694

5 files changed

Lines changed: 314 additions & 61 deletions

File tree

SUMMARY.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
# Summary
22

33
* [How the Internet works?](how_the_internet_works/README.md)
4-
* [Let's start with Python](try_python/README.md)
5-
* [Django - why you need a webframework?](django_-_why_you_need_a_webframework/README.md)
4+
* [Python installation](install_python/README.md)
5+
* [Introduction to Python](try_python/README.md)
6+
* [What is Django?](django_-_why_you_need_a_webframework/README.md)
67
* [Django installation](django_installation/README.md)
78
* [Next chapters](next_chapters/README.md)
89

how_the_internet_works/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@
55
We bet you use the Internet every day. But do you actually know what happens when you type an address like http://djangogirls.org in your browser and click 'Enter'?
66

77
First thing you need to understand is that website is just a bunch of files saved on a computer disk. Just like your movies, music or pictures.
8-
There is one part that it's unique for websites: they include computer code called HTML. If you're not familiar with programming, it can be hard
9-
to grasp at first, but your web browsers (like Chrome, Safari, Firefox or else) love HTML. Web browsers are designed to understand this code,
8+
There is one part that it's unique for websites: they include computer code called HTML.
9+
10+
If you're not familiar with programming, it can be hard to grasp at first, but your web browsers (like Chrome, Safari, Firefox or else) love HTML. Web browsers are designed to understand this code,
1011
follow the instructions and present all this files that your website is made of exactly the way you want them to be presented.
1112

1213
As every file, we need to store files somewhere on a computer disks. For the Internet, we use a special, powerful computers called servers. They don't have

install_python/README.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Let’s start with Python
2+
3+
Huh, it's exciting, right?! You'll write your first line of code in just minutes!
4+
5+
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.
6+
7+
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!
8+
9+
# Python installation
10+
11+
*This subchapter is based on awesome tutorials by Geek Girls Carrots (http://django.carrots.pl/)*
12+
13+
Django is written in Python. We need it to do anything in Django. Let's start with installing it!
14+
15+
### Windows
16+
17+
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.
18+
19+
### Linux
20+
21+
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:
22+
23+
$ python --version
24+
Python 3.4.0
25+
26+
If you don't have Python instaled or you want different version, you can install it as follows.
27+
28+
#### Ubuntu
29+
30+
You type in the console:
31+
32+
sudo apt-get install python3.4
33+
34+
35+
#### Fedora
36+
37+
Yout type in the console:
38+
39+
sudo yum install python3.4
40+
41+
### OS X
42+
43+
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.
44+
45+
----
46+
47+
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.
48+

0 commit comments

Comments
 (0)