def create_bootstrap_script(extra_text, python_version=''):
    filename = __file__
    if filename.endswith('.pyc'):
        filename = filename[:-1]
    f = open(filename, 'rb')
    content = f.read()
    f.close()
    py_exe = 'python%s' % python_version
    content = (('#!/usr/bin/env %s\n' % py_exe)
               + '## WARNING: This file is generated\n'
               + content)
    return content.replace('##EXT' 'END##', extra_text)
Creates a bootstrap script, which is like this script but with
dataset/ETHPy150Open ralfonso/theory/go-pylons.py/create_bootstrap_script