FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
JsObjects/JavaScript/change-dir.py at master · charliecalvert/JsObjects · GitHub
charliecalvert
/
JsObjects
Public
Notifications
You must be signed in to change notification settings
Fork
53
Star
22
Code
Issues
1
Pull requests
1
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
JsObjects
/
JavaScript
/
change-dir.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
13 lines (9 loc) · 352 Bytes
Breadcrumbs
JsObjects
/
JavaScript
/
change-dir.py
Copy path
File metadata and controls
13 lines (9 loc) · 352 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
import
os
# Get the current working directory
current_dir
=
os
.
getcwd
()
# Get the new working directory from the user
new_dir
=
"/home/ubuntu/Git/JsObjects/JavaScript/Firebase/ElfExpressSignIn"
# Change the current working directory to the new one
os
.
chdir
(
new_dir
)
# Print the new working directory
print
(
"The new working directory is:"
,
new_dir
)
Back
|
FazBrowse Home
|
New Git URL