![]() |
|
|
|
#1
|
|||
|
|||
|
That's exactly it
I got 'hi\n' Any chance there's a simple way to remove the trailing parts? |
|
#2
|
|||
|
|||
|
You can use the following to strip trailing newline, space, and null byte characters:
Code:
v = e.raw_data.rstrip('\n\0 ')
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Interface between Matlab and Vizard | Shweta | Vizard | 8 | 06-30-2014 09:40 AM |
| Iinterface between MATLAB and Vizard | suraj | Vizard | 7 | 07-17-2012 09:02 AM |
| MATLAB and vizard | xingtzu | Vizard | 1 | 01-15-2008 10:25 AM |
| Matlab and Vizard | brystewa | Vizard | 1 | 09-18-2006 03:11 PM |
| MATLAB and Vizard | eagleman | Vizard | 4 | 06-10-2005 11:42 AM |