Skip to content

Instantly share code, notes, and snippets.

View ace139's full-sized avatar
🏠
Working from home

Soumyo Dey ace139

🏠
Working from home
View GitHub Profile
@ace139
ace139 / folder_splitter.py
Last active April 20, 2017 11:14 — forked from zupo/folder_splitter.py
Split a folder with many files into subfolders with N files.Usage: python folder_splitter.py path/to/target/folder
# -*- 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
@ace139
ace139 / Job Description
Last active April 14, 2017 13:32
Software Intern for RORODATA, Vizag
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.
@ace139
ace139 / alphabet_counter.py
Created September 8, 2016 22:49
Counting alphabets in a file
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))