Last active
June 21, 2022 07:42
-
-
Save scubamut/4352a3e1c7d3d354fb830f4e2a127a1e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
if 'ziptrader36' in sys.path[1]: | |
active_kernel = 'ziptrader36' | |
elif 'zipline-reloaded' in sys.path[1]: | |
active_kernel = 'zipline-reloaded' | |
else: | |
active_kernel = 'not ziptrader36 or zipline-reloaded' | |
print(active_kernel) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment