This file contains 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 string | |
import sys | |
from random import choice | |
def __main__(*args, **kwargs): | |
try: | |
size = args[0][1] | |
choiceable = string.letters*2 + string.digits*3 + string.punctuation |
This file contains 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/env python | |
import os | |
import psycopg2 | |
import MySQLdb | |
PG = { | |
'name' : 'moodle_rvt_sociales', | |
'user' : 'diegueus9', | |
'pass' : 'fuseki', | |
'host' : 'localhost', |