Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 617 Bytes

README.md

File metadata and controls

29 lines (23 loc) · 617 Bytes

Robert's Python Library

Python code a functions for copying into other programs.

Libraries

Drop into Colab

!git clone --depth=1 git://0x365/py-tools py_tools
!rm -rf ./py_tools/.git
!pip install -r requirements.txt
from py_tools.commons import *

Paths

import os

save_location = os.path.join(os.path.dirname(os.path.abspath(__file__)), ".." ,"data", "sats")
if not os.path.exists(save_location):
    os.makedirs(save_location)
    # or
    raise Exception("This file does not exist")