Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Bodnár Zsombor
python-kszkepzes
Commits
aecc6517
Commit
aecc6517
authored
Mar 26, 2019
by
Bodor Máté
Browse files
v0.07
parent
f6bd5ea0
Changes
1
Hide whitespace changes
Inline
Side-by-side
PITCHME.md
View file @
aecc6517
...
...
@@ -41,6 +41,29 @@ Note:
KÉP: https://cdn-images-1.medium.com/max/800/0
*
_e09A-2xg4x7PG_
A.
---
### Tökéletes?!
+++
### Tökéletes?!
NEM!
+++
### Tökéletes?!
-
Lassú, nagyon lassú
-
Zabálja a ramot
-
Csak futási hiba
Note:
+++
Kép: https://benchmarksgame-team.pages.debian.net/benchmarksgame/faster/gpp-python3.html
Note:
https://en.wikipedia.org/wiki/N-body_simulation
---
### Csomagok
-
Webfejlesztés:
...
...
@@ -81,35 +104,28 @@ KÉP: https://cdn-images-1.medium.com/max/800/0*_e09A-2xg4x7PG_A.
-
geoplotlib
Note:
---
### Hátrányok
-
Lassabb, mint egy lefordított program
Note:
---
### Pip
```
pip install colorama
```
-
csomagkezelő
-
egy helyen van minden
-
könnyen használható
-
globálisan felrakhatók a csomagok
Note:
-
könnyen használható
-
C++ ban jóval nehezebb
+++
```
pip install colorama
```
---
### Virtualenv
...
...
@@ -118,15 +134,32 @@ Note:
-
pipenv
```
cmd
python -m venv venv
```
```
cmd
venv\Scripts\activate.bat
```
```
bash
python3
-m
venv venv
```
```
bash
source
venv
\b
in
\a
ctivate.bat
```
---
### Hello World!
+++
```
python
print
(
"Hello World!"
)
```
---
+++
```
python
from
colorama
import
init
...
...
@@ -146,7 +179,6 @@ print('back to normal now')
```
python
#!/usr/bin/python3
import
sys
try
:
...
...
@@ -161,29 +193,7 @@ print "' When finished"
while
file_text
!=
file_finish
:
file_text
=
raw_input
(
"Enter text: "
)
if
file_text
==
file_finish
:
# close the file
file
.
close
break
file
.
write
(
file_text
)
file
.
write
(
"
\n
"
)
file
.
close
()
file_name
=
input
(
"Enter filename: "
)
if
len
(
file_name
)
==
0
:
print
(
"Next time please enter something"
)
sys
.
exit
()
try
:
file
=
open
(
file_name
,
"r"
)
except
IOError
:
print
(
"There was an error reading file"
)
sys
.
exit
()
file_text
=
file
.
read
()
file
.
close
()
print
(
file_text
)
```
Note:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment