file -SAS

Val Krem valkrem at yahoo.com
Fri Mar 18 01:02:13 EDT 2016


Hi all,

I am trying to read sas7bdat file using the following



from sas7bdat import SAS7BDAT

with SAS7BDAT('test.sas7bdat') as f:
for row in f:
         print row   ### I want print the first 10 row. how can I do that?


I got error message of 


from sas7bdat import SAS7BDAT
ImportError: No module named sas7bdat

What did I miss?
Val



More information about the Python-list mailing list