Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #105178

file -SAS

From Val Krem <valkrem@yahoo.com>
Newsgroups comp.lang.python
Subject file -SAS
Date 2016-03-18 05:02 +0000
Message-ID <mailman.300.1458277709.12893.python-list@python.org> (permalink)
References <299311696.695047.1458277333178.JavaMail.yahoo.ref@mail.yahoo.com>

Show all headers | View raw


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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

file -SAS Val Krem <valkrem@yahoo.com> - 2016-03-18 05:02 +0000

csiph-web