Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (13 sloc) 388 Bytes
#!/usr/bin/env python
import sys
import MySQLdb
import os
import gc
## the splitting function
def split_with_comma(name):
filename = name.split(',')
return filename[0],filename[1],filename[2],filename[3],filename[4],filename[5],
##---------------------------------------##
os.chdir('/home/saad/learning/static/pdf')
path = os.path.join('static','pdf')
print os.listdir(os.getcwd())
Something went wrong with that request. Please try again.