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
<div class="accordion" id="accordion2"> | |
<div class="accordion-group"> | |
<div class="accordion-heading"> | |
<a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapse1"> | |
LABEL 1 | |
</a> | |
</div> | |
<div id="collapse1" class="accordion-body collapse in"> | |
<div class="accordion-inner"> | |
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 yaml | |
import re | |
import os | |
# definire il path rispetto allo script | |
dbPath = os.path.dirname(os.path.realpath(__file__)) + '/../config/databases.yml' | |
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 | |
def readCsv(path): | |
csvfile = open(path,'rb') | |
reader = csv.reader(csvfile) | |
# salto la prima riga | |
#reader.next() | |
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/python | |
# -*- coding: utf-8 -*- | |
import MySQLdb as mdb | |
import MySQLdb.cursors | |
class dbDevConfiguration: | |
host = "localhost" |
NewerOlder