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
# get first column(from file with ':' delimeter) and write into output.csv | |
cut -f1 -d':' input.csv >> output.csv | |
# get from first up to five column from dataset.csv | |
cut -f1-5 -d',' dataset.csv | |
# regex for json-type html parsing | |
\:(?:[^\:]*)@\C+ | |
# get first column from output.csv | |
awk -F, '!seen[$1]++' output.csv >> uuu.csv |
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
import time | |
import sys | |
animation = "|/-\\" | |
for i in range(100): | |
time.sleep(0.1) | |
sys.stdout.write("\r" + animation[i % len(animation)]) | |
sys.stdout.flush() |