Import API key from file

This commit is contained in:
AquaMorph committed 2021-06-28 13:28:15 -04:00
1 parent e09c9afa39
commit 4d256d6aa4
2 files changed
+8

No files matched your search

+2
View File
@@ -1,3 +1,5 @@
youtube.key
# ---> Python
# Byte-compiled / optimized / DLL files
__pycache__/
+6
View File
@@ -0,0 +1,6 @@
# Read YouTube API Key
def getYouTubeAPIKey():
return open('youtube.key', 'r').read()
print(getYouTubeAPIKey())
exit(0)