Skip to content

Instantly share code, notes, and snippets.

View davtoh's full-sized avatar

David Toro davtoh

View GitHub Profile
@davtoh
davtoh / directory.py
Created August 26, 2015 16:37
directory class for mutable string
__author__ = 'Davtoh'
import os,inspect,functools
import shutil
def getPath(filename=__file__):
"""get standard path from filename"""
body,base = os.path.splitext(filename)
if base != "":
body = os.path.dirname(body)
@davtoh
davtoh / RRtoolbox_ConfigFile.pkl
Last active August 26, 2015 16:47
subproduct of my tesis project Implementation of algorithms for the restoration of retinal images
€}q(U _CONFIGFILEqcdirectory
directory
q}q(UispathqˆUreprq]q(}q(UnoteqU
don't change!q hˆh]q
U1C:\Users\Davtoh\Dropbox\PYTHON\projects\RRtoolboxq auUConfigFile.pklq eu…q
�qhbU
_init_toolqh}q(hU2contents of __init__.py file in TOOLPATH directoryqh‰h]q(U3
__author__ = 'Davtoh'
import sys
sys.path.append('q}q(hˆh]qUC:\Users\Davtoh\Desktop\RRtoolsqauU')qeUfilenameqU __init__.pyqu…q�qhbUTOOLPATHqhh…q�qhbUMAINPATHqhh…q �q!hbUTEMPPATHq"h}q#(hˆh]q$(hUtempq%eu…q&�q'h#bUTESTPATHq(h}q)(hˆh]q*U-C:\Users\Davtoh\Dropbox\PYTHON\projects\tesisq+au…q,�q-h)bU LIBRARYPATHq.h}q/(hˆh]q0(hUlibq1eu…q2�q3h/bu.