FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
Hello-Python/Intermediate/08_python_package_manager.py at main · Magicometa/Hello-Python · GitHub
Magicometa
/
Hello-Python
Public
forked from
mouredev/Hello-Python
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
Hello-Python
/
Intermediate
/
08_python_package_manager.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
39 lines (25 loc) · 683 Bytes
Breadcrumbs
Hello-Python
/
Intermediate
/
08_python_package_manager.py
Copy path
File metadata and controls
39 lines (25 loc) · 683 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
# Clase en vídeo: https://youtu.be/TbcEqkabAWU?t=24010
### Python Package Manager ###
# PIP https://pypi.org
# pip install pip
# pip --version
# pip install numpy
import
pandas
from
mypackage
import
arithmetics
import
requests
import
numpy
print
(
numpy
.
version
.
version
)
numpy_array
=
numpy
.
array
([
35
,
24
,
62
,
52
,
30
,
30
,
17
])
print
(
type
(
numpy_array
))
print
(
numpy_array
*
2
)
# pip install pandas
# pip list
# pip uninstall pandas
# pip show numpy
# pip install requests
response
=
requests
.
get
(
"https://pokeapi.co/api/v2/pokemon?limit=151"
)
print
(
response
)
print
(
response
.
status_code
)
print
(
response
.
json
())
# Arithmetics Package
print
(
arithmetics
.
sum_two_values
(
1
,
4
))
Back
|
FazBrowse Home
|
New Git URL