Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
python-kszkepzes
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bodzsoaa
python-kszkepzes
Commits
aecc6517
Commit
aecc6517
authored
Mar 26, 2019
by
Bodor Máté
Browse files
Options
Downloads
Patches
Plain Diff
v0.07
parent
f6bd5ea0
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
PITCHME.md
+48
-38
48 additions, 38 deletions
PITCHME.md
with
48 additions
and
38 deletions
PITCHME.md
+
48
−
38
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
:
...
...
@@ -162,28 +194,6 @@ 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:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment