Skip to content

Instantly share code, notes, and snippets.


Alberto ramsys

View GitHub Profile
ramsys / gist:5419469
Created Apr 19, 2013
Script in python that print the hex value from a base4 string passed by argument
View gist:5419469
import sys
import base64
#import binascii
#Controlamos que tenga argumento
print 'usage: <DigestValue>'
base64string = sys.argv[1]
ramsys / gist:5419656
Created Apr 19, 2013
Create a xml file from a csv file
View gist:5419656
import csv
#import sys
from xml.etree import ElementTree
from xml.dom import minidom
csvFileName = "Distribuidoras.csv"
xmlFileName = "distribuidoras.xml"
def unicode_csv_reader(utf8_data, dialect=csv.excel, **kwargs):
You can’t perform that action at this time.