diff options
author | 2022-05-09 00:58:48 +0530 | |
---|---|---|
committer | 2022-05-09 00:58:48 +0530 | |
commit | c834968135039ed80afd4f07a98f1b74ef81c143 (patch) | |
tree | 5423cbe1313ed128f717a45cc95a091830905932 | |
parent | f2e53e7defe0e6832d51178e02c3ec7538c1886c (diff) | |
download | zara-c834968135039ed80afd4f07a98f1b74ef81c143.tar.gz zara-c834968135039ed80afd4f07a98f1b74ef81c143.tar.bz2 zara-c834968135039ed80afd4f07a98f1b74ef81c143.zip |
Update Nasa.py
-rw-r--r-- | Nasa.py | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -45,9 +45,9 @@ def NasaNews(Date): f.write(Image_r.content)
- Path_1 = "E:\\Y O U T U B E\\J A R V I S S E R I E S\\H O W T O M A K E J A R V I S\\" + str(FileName)
+ Path_1 = "E:\\Zara\\" + str(FileName)
- Path_2 = "E:\\Y O U T U B E\\J A R V I S S E R I E S\\H O W T O M A K E J A R V I S\\DataBase\\NasaDataBase\\" + str(FileName)
+ Path_2 = "E:\\Zara\\DataBase\\NasaDataBase\\" + str(FileName)
os.rename(Path_1, Path_2)
@@ -64,7 +64,7 @@ def Summary(Boby): value = random.choice(list__)
- path = "E:\\Y O U T U B E\\J A R V I S S E R I E S\\H O W T O M A K E J A R V I S\\DataBase\\NasaDataBase\\Images Used\\" + str(value) + ".jpg"
+ path = "E:\\Zara\\DataBase\\NasaDataBase\\Images Used\\" + str(value) + ".jpg"
os.startfile(path)
@@ -127,9 +127,9 @@ def MarsImage(): with open(img,'wb') as file:
file.write(p.content)
- Path_1 = "E:\\Y O U T U B E\\J A R V I S S E R I E S\\H O W T O M A K E J A R V I S\\" + str(img)
+ Path_1 = "E:\\Zara\\" + str(img)
- Path_2 = "E:\\Y O U T U B E\\J A R V I S S E R I E S\\H O W T O M A K E J A R V I S\\DataBase\\NasaDataBase\\MarsImage\\" + str(img)
+ Path_2 = "E:\\Zara\\DataBase\\NasaDataBase\\MarsImage\\" + str(img)
os.rename(Path_1,Path_2)
|