Created
October 4, 2020 14:20
-
-
Save abhishek-shrm/b64b40a04ec23d3099321460ec1bb053 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Extracting text from all the keys files | |
keys_text=dict.fromkeys(index,None) | |
for key_file in keys_list: | |
file=open(key_file,encoding='utf-8').read() | |
keys_text[int(key_file.split('.')[0].split('/')[-1])]=file | |
# Printing content of five files | |
dict(list(keys_text.items())[:5]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment