line sensor python support