Skip to content

Instantly share code, notes, and snippets.

Alberto ramsys

Block or report user

Report or block ramsys

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
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):
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]
You can’t perform that action at this time.