[Tutor] Import tabular data file and assign to variables

RenderPipe renderpipe at speedpost.net
Thu Sep 16 20:00:50 CEST 2004


ahh! very cool thanks


> here try this instead
> 
> for line in data:
>         rs  = line.strip().split()
>         print rs
> 
> this should give you what you want.  For additional information
> .split() 
> automaticly splits on whitespace, anywhite space, the reason this may
> 
> not be working right is because what you think is \t is actually 
> spaces.  Good luck
> 
> 
> 		
> __________________________________
> Do you Yahoo!?
> New and Improved Yahoo! Mail - Send 10MB messages!
> http://promotions.yahoo.com/new_mail 


More information about the Tutor mailing list