| 1 | initial version |
This ended up working for me, both in command line, and notebook:
cmd_folder = os.path.dirname(os.path.abspath('/home/william/pyserial-2.5/serial'))
if cmd_folder not in sys.path:
sys.path.insert(0, cmd_folder)
import serial
I found the solution here.
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.