Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions #100Viz/13 - Rap Bruto/notebooks/pos_counter.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,14 @@ def limpiador(token, minuscula = True):
if __name__ == "__main__":

filepath_out, filename = contador(filepath = sys.argv[1],)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lines 88-96 refactored with the following changes:

  • Replace unused for index with underscore

print("#"*70)
print("_"*70)
print(f"Limpiando el archivo {filename}")
for i in tqdm(range(5_000_000)):
pass
print("_"*70)
print(f"Guardando el archivo {filepath_out}")
for i in tqdm(range(5_000_000)):
for _ in tqdm(range(5_000_000)):
pass
print("#"*70)