Skip to content

Commit cfed34e

Browse files
committed
Directory
1 parent 34a8ec0 commit cfed34e

File tree

4 files changed

+358
-0
lines changed

4 files changed

+358
-0
lines changed

00-Copy1.Directory.ipynb

Lines changed: 179 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,179 @@
1+
{
2+
"cells": [
3+
{
4+
"cell_type": "code",
5+
"execution_count": 1,
6+
"metadata": {},
7+
"outputs": [],
8+
"source": [
9+
"import os\n"
10+
]
11+
},
12+
{
13+
"cell_type": "code",
14+
"execution_count": 2,
15+
"metadata": {},
16+
"outputs": [
17+
{
18+
"data": {
19+
"text/plain": [
20+
"'/home/angicia/Workspace/PythonML/Basic-exercises-on-Machine-Learning-with-Python'"
21+
]
22+
},
23+
"execution_count": 2,
24+
"metadata": {},
25+
"output_type": "execute_result"
26+
}
27+
],
28+
"source": [
29+
"os.getcwd()"
30+
]
31+
},
32+
{
33+
"cell_type": "code",
34+
"execution_count": 3,
35+
"metadata": {},
36+
"outputs": [
37+
{
38+
"data": {
39+
"text/plain": [
40+
"b'/home/angicia/Workspace/PythonML/Basic-exercises-on-Machine-Learning-with-Python'"
41+
]
42+
},
43+
"execution_count": 3,
44+
"metadata": {},
45+
"output_type": "execute_result"
46+
}
47+
],
48+
"source": [
49+
"os.getcwdb()"
50+
]
51+
},
52+
{
53+
"cell_type": "code",
54+
"execution_count": 9,
55+
"metadata": {},
56+
"outputs": [
57+
{
58+
"name": "stdout",
59+
"output_type": "stream",
60+
"text": [
61+
"Getting Adress\n",
62+
"/home/angicia/Workspace/PythonML/Basic-exercises-on-Machine-Learning-with-Python\n"
63+
]
64+
}
65+
],
66+
"source": [
67+
"print(\"Getting Adress\")\n",
68+
"print(os.getcwd())"
69+
]
70+
},
71+
{
72+
"cell_type": "code",
73+
"execution_count": null,
74+
"metadata": {},
75+
"outputs": [],
76+
"source": [
77+
"print(os.getcwd())"
78+
]
79+
},
80+
{
81+
"cell_type": "code",
82+
"execution_count": 12,
83+
"metadata": {},
84+
"outputs": [
85+
{
86+
"name": "stdout",
87+
"output_type": "stream",
88+
"text": [
89+
"Change Directory\n"
90+
]
91+
}
92+
],
93+
"source": [
94+
"print(\"Change Directory\")\n",
95+
"os.chdir('/home/angicia/Workspace/')"
96+
]
97+
},
98+
{
99+
"cell_type": "code",
100+
"execution_count": 13,
101+
"metadata": {},
102+
"outputs": [
103+
{
104+
"name": "stdout",
105+
"output_type": "stream",
106+
"text": [
107+
"/home/angicia/Workspace\n"
108+
]
109+
}
110+
],
111+
"source": [
112+
"print(os.getcwd())"
113+
]
114+
},
115+
{
116+
"cell_type": "code",
117+
"execution_count": 14,
118+
"metadata": {},
119+
"outputs": [
120+
{
121+
"name": "stdout",
122+
"output_type": "stream",
123+
"text": [
124+
"Change Directory\n"
125+
]
126+
}
127+
],
128+
"source": [
129+
"print(\"Change Directory\")\n",
130+
"os.chdir('/home/angicia/Workspace/PythonML/Basic-exercises-on-Machine-Learning-with-Python')"
131+
]
132+
},
133+
{
134+
"cell_type": "code",
135+
"execution_count": 15,
136+
"metadata": {},
137+
"outputs": [
138+
{
139+
"name": "stdout",
140+
"output_type": "stream",
141+
"text": [
142+
"/home/angicia/Workspace/PythonML/Basic-exercises-on-Machine-Learning-with-Python\n"
143+
]
144+
}
145+
],
146+
"source": [
147+
"print(os.getcwd())"
148+
]
149+
},
150+
{
151+
"cell_type": "code",
152+
"execution_count": null,
153+
"metadata": {},
154+
"outputs": [],
155+
"source": []
156+
}
157+
],
158+
"metadata": {
159+
"kernelspec": {
160+
"display_name": "Python 3",
161+
"language": "python",
162+
"name": "python3"
163+
},
164+
"language_info": {
165+
"codemirror_mode": {
166+
"name": "ipython",
167+
"version": 3
168+
},
169+
"file_extension": ".py",
170+
"mimetype": "text/x-python",
171+
"name": "python",
172+
"nbconvert_exporter": "python",
173+
"pygments_lexer": "ipython3",
174+
"version": "3.7.3"
175+
}
176+
},
177+
"nbformat": 4,
178+
"nbformat_minor": 2
179+
}

09.Directory.ipynb

Lines changed: 179 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,179 @@
1+
{
2+
"cells": [
3+
{
4+
"cell_type": "code",
5+
"execution_count": 1,
6+
"metadata": {},
7+
"outputs": [],
8+
"source": [
9+
"import os\n"
10+
]
11+
},
12+
{
13+
"cell_type": "code",
14+
"execution_count": 2,
15+
"metadata": {},
16+
"outputs": [
17+
{
18+
"data": {
19+
"text/plain": [
20+
"'/home/angicia/Workspace/PythonML/Basic-exercises-on-Machine-Learning-with-Python'"
21+
]
22+
},
23+
"execution_count": 2,
24+
"metadata": {},
25+
"output_type": "execute_result"
26+
}
27+
],
28+
"source": [
29+
"os.getcwd()"
30+
]
31+
},
32+
{
33+
"cell_type": "code",
34+
"execution_count": 3,
35+
"metadata": {},
36+
"outputs": [
37+
{
38+
"data": {
39+
"text/plain": [
40+
"b'/home/angicia/Workspace/PythonML/Basic-exercises-on-Machine-Learning-with-Python'"
41+
]
42+
},
43+
"execution_count": 3,
44+
"metadata": {},
45+
"output_type": "execute_result"
46+
}
47+
],
48+
"source": [
49+
"os.getcwdb()"
50+
]
51+
},
52+
{
53+
"cell_type": "code",
54+
"execution_count": 9,
55+
"metadata": {},
56+
"outputs": [
57+
{
58+
"name": "stdout",
59+
"output_type": "stream",
60+
"text": [
61+
"Getting Adress\n",
62+
"/home/angicia/Workspace/PythonML/Basic-exercises-on-Machine-Learning-with-Python\n"
63+
]
64+
}
65+
],
66+
"source": [
67+
"print(\"Getting Adress\")\n",
68+
"print(os.getcwd())"
69+
]
70+
},
71+
{
72+
"cell_type": "code",
73+
"execution_count": null,
74+
"metadata": {},
75+
"outputs": [],
76+
"source": [
77+
"print(os.getcwd())"
78+
]
79+
},
80+
{
81+
"cell_type": "code",
82+
"execution_count": 12,
83+
"metadata": {},
84+
"outputs": [
85+
{
86+
"name": "stdout",
87+
"output_type": "stream",
88+
"text": [
89+
"Change Directory\n"
90+
]
91+
}
92+
],
93+
"source": [
94+
"print(\"Change Directory\")\n",
95+
"os.chdir('/home/angicia/Workspace/')"
96+
]
97+
},
98+
{
99+
"cell_type": "code",
100+
"execution_count": 13,
101+
"metadata": {},
102+
"outputs": [
103+
{
104+
"name": "stdout",
105+
"output_type": "stream",
106+
"text": [
107+
"/home/angicia/Workspace\n"
108+
]
109+
}
110+
],
111+
"source": [
112+
"print(os.getcwd())"
113+
]
114+
},
115+
{
116+
"cell_type": "code",
117+
"execution_count": 14,
118+
"metadata": {},
119+
"outputs": [
120+
{
121+
"name": "stdout",
122+
"output_type": "stream",
123+
"text": [
124+
"Change Directory\n"
125+
]
126+
}
127+
],
128+
"source": [
129+
"print(\"Change Directory\")\n",
130+
"os.chdir('/home/angicia/Workspace/PythonML/Basic-exercises-on-Machine-Learning-with-Python')"
131+
]
132+
},
133+
{
134+
"cell_type": "code",
135+
"execution_count": 15,
136+
"metadata": {},
137+
"outputs": [
138+
{
139+
"name": "stdout",
140+
"output_type": "stream",
141+
"text": [
142+
"/home/angicia/Workspace/PythonML/Basic-exercises-on-Machine-Learning-with-Python\n"
143+
]
144+
}
145+
],
146+
"source": [
147+
"print(os.getcwd())"
148+
]
149+
},
150+
{
151+
"cell_type": "code",
152+
"execution_count": null,
153+
"metadata": {},
154+
"outputs": [],
155+
"source": []
156+
}
157+
],
158+
"metadata": {
159+
"kernelspec": {
160+
"display_name": "Python 3",
161+
"language": "python",
162+
"name": "python3"
163+
},
164+
"language_info": {
165+
"codemirror_mode": {
166+
"name": "ipython",
167+
"version": 3
168+
},
169+
"file_extension": ".py",
170+
"mimetype": "text/x-python",
171+
"name": "python",
172+
"nbconvert_exporter": "python",
173+
"pygments_lexer": "ipython3",
174+
"version": "3.7.3"
175+
}
176+
},
177+
"nbformat": 4,
178+
"nbformat_minor": 2
179+
}

0 commit comments

Comments
 (0)