Python Forum

Full Version: Slice list
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi

Im receving through serial a number from 0 to 511 and a letter like:

1 A
432 B
23 C

and I need to asign them to different variables. I try to slice the list but is not always the same index to cut at...

Any help..
split()