-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetting_up_working_environment.py
67 lines (48 loc) · 1.29 KB
/
setting_up_working_environment.py
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
###############################################
# Sayılar (Numbers) ve Karakter Dizileri (Strings)
###############################################
print("Hello world")
print("Hello AI Era")
print(9)
9.2
type(9.2)
type("Mrb")
###############################################
# Atamalar ve Değişkenler (Assignments & Variables)
###############################################
a = 9
a
b = "hello ai era"
b
c = 10
a * c
a * 10
d = a - c
###############################################
# Virtual Environment (Sanal Ortam) ve (Package Managment) Paket Yönetimi
###############################################
# Sanal ortamların listelenmesi:
# conda env list
# Sanal ortam oluşturma:
# conda create –n myenv
# Sanal ortamı aktif etme:
# conda activate myenv
# Yüklü paketlerin listelenmesi:
# conda list
# Paket yükleme:
# conda install numpy
# Aynı anda birden fazla paket yükleme:
# conda install numpy scipy pandas
# Paket silme:
# conda remove package_name
# Belirli bir versiyona göre paket yükleme:
# conda install numpy=1.20.1
# Paket yükseltme:
# conda upgrade numpy
# Tüm paketlerin yükseltilmesi:
# conda upgrade –all
# pip: pypi (python package index) paket yönetim aracı
# Paket yükleme:
# pip install pandas
# Paket yükleme versiyona göre:
# pip install pandas==1.2.1