Skip to content

Instantly share code, notes, and snippets.

View Shoeboxam's full-sized avatar

Michael Shoemate Shoeboxam

View GitHub Profile
#!/usr/bin/env python
from gimpfu import *
import os
import os.path
import glob
import sys
# This adds the suffix to the end of the file
def modify_path(image, insertion):
@raprasad
raprasad / config-path.md
Created January 7, 2019 19:58
config temp path

Code to get the D3M temp directory accessible by TA2/TA2

from os.path import join
from tworaven_apps.configurations.utils import \
    (get_latest_d3m_config,)

d3m_config = get_latest_d3m_config()
if not d3m_config: