Skip to content

Instantly share code, notes, and snippets.

View amithkk's full-sized avatar
:octocat:
Hello There ^_^

Amith KK amithkk

:octocat:
Hello There ^_^
View GitHub Profile
import csv
import itertools
import os
from openpyxl import Workbook, load_workbook
from openpyxl.utils.exceptions import IllegalCharacterError
OUTFILE = 'Weather_Data.xlsx'
if os.path.isfile(OUTFILE):
#!/usr/bin/python3
"""
KMZGEN - Python Script to generate kmz with thumbnails from a .csv file
GNU GPL v3 - http://github.com/amithkk
"""
import os
from PIL import Image, ImageDraw, ImageFont
for (i = 0; exp[i]; ++i)
{
// If the scanned character is an operand (number here),
// push it to the stack.
if (isdigit(exp[i]))
push(stack, exp[i] - '0');
// If the scanned character is an operator, pop two
// elements from stack apply the operator
else
### Keybase proof
I hereby claim:
* I am amithkk on github.
* I am amithkk (https://keybase.io/amithkk) on keybase.
* I have a public key whose fingerprint is 261F 45B9 E372 D041 557A 8039 AFDA 3780 22DE 2311
To claim this, I am signing this object:
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-menu/core-submenu.html">
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../core-input/core-input.html">
<link rel="import" href="../speech-mic/speech-mic.html">
<polymer-element name="my-element">
<template>
@amithkk
amithkk / test.py
Created December 18, 2011 11:23
Divisibilty test
i=2
cfl=2
print "What is the number to compute?",
cno=int(raw_input(">"));
while i>0:
cfl=cfl+1
i= cno%cfl
print cno,"is exactly divisible by",cfl