This file contains hidden or 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 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): |
This file contains hidden or 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
| #!/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 |
This file contains hidden or 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
| 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 |
This file contains hidden or 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
| ### 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: |
This file contains hidden or 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
| <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> |
This file contains hidden or 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
| 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 |
NewerOlder