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
# -*- coding: utf-8 -*- | |
# @author: Peter Lamut | |
# Modified to use in Python 3 by @ace139 | |
import argparse | |
import os | |
import shutil | |
N = 10 # the number of files in seach subfolder folder |
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
Software Engineer Intern – Backend/Frontend | |
We are looking for an experienced python engineer to join our team at Rorodata, | |
a data analytics startup based in Hyderabad. We offer interesting work at the | |
intersection of data science, infrastructure and microservices. | |
We are looking for curious engineering interns. We offer an opportunity to work with | |
the best minds in software technology and data science. As an intern, you will be working | |
on well-defined problems. Your contribution will be part of the product. | |
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
d = dict() | |
with open('lipsum.txt') as f: | |
for line in f: | |
for i in line: | |
if i.isalpha(): | |
d[i.upper()] = d.get(i.upper(), 0) + 1 | |
for key, val in sorted(d.items()): | |
print("%s : %d" % (key, val)) |