Created
April 23, 2022 11:21
-
-
Save islem-esi/eada733bb90adf8eab2001cbd0ab6866 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
rootdir = "PATH TO THE DIRECTORY OF THE PROJECT YOU CLONED FROM GITHUB" | |
files_code = load_all_files(root_dir) | |
tokenized_data = [] | |
for d in files_code: | |
try: | |
tokenized_data.append(tokenize_python(d)) | |
except: | |
print('error') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment