file -SAS

2016-03-19 Thread Val Krem via Python-list
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 mo

Re: file -SAS

2016-03-19 Thread Adam M
On Friday, March 18, 2016 at 1:38:24 AM UTC-4, Ben Finney wrote: > Val Krem via Python-list writes: > > > from sas7bdat import SAS7BDAT > > ImportError: No module named sas7bdat > > > > What did I miss? > > You missed telling us what 'sas7bdat' is, what you have already done to > install it, and

Re: file -SAS

2016-03-19 Thread Ben Finney
Val Krem via Python-list writes: > from sas7bdat import SAS7BDAT > ImportError: No module named sas7bdat > > What did I miss? You missed telling us what ‘sas7bdat’ is, what you have already done to install it, and why you think it should be available for Python to import. -- \“Putting