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


Groups > comp.lang.python > #105178

file -SAS

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Val Krem <valkrem@yahoo.com>
Newsgroups comp.lang.python
Subject file -SAS
Date Fri, 18 Mar 2016 05:02:13 +0000 (UTC)
Lines 21
Message-ID <mailman.300.1458277709.12893.python-list@python.org> (permalink)
References <299311696.695047.1458277333178.JavaMail.yahoo.ref@mail.yahoo.com>
Reply-To Val Krem <valkrem@yahoo.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 7bit
X-Trace news.uni-berlin.de Qh88s8J4kLh+1oDR59lXWQQ2qj1NE+wZ6fG9W87l3kkg==
Return-Path <valkrem@yahoo.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.028
X-Spam-Evidence '*H*': 0.95; '*S*': 0.00; 'importerror:': 0.05; 'that?': 0.05; 'subject:file': 0.07; 'val': 0.07; '###': 0.09; 'received:io': 0.16; 'received:psf.io': 0.16; 'row': 0.16; 'all,': 0.20; 'to:name:python-list@python.org': 0.20; 'trying': 0.22; 'import': 0.24; 'module': 0.25; 'error': 0.27; 'print': 0.30; 'file': 0.34; 'header:Received:8': 0.35; 'to:addr:python-list': 0.36; 'received:66': 0.38; 'to:addr:python.org': 0.40; 'received:98.139.212': 0.66; 'received:98.137': 0.67; 'header :Reply-To:1': 0.67; 'received:98.136': 0.70; 'received:gq1.yahoo.com': 0.72; 'received:mail.gq1.yahoo.com': 0.72; 'message-id:@mail.yahoo.com': 0.84; 'received:bullet.mail.gq1.yahoo.com': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1458277498; bh=GfDhxRuPOzGPyCkOp/Mqn9cfWGjUaXiSoxdJqmTfCZs=; h=Date:From:Reply-To:To:Subject:References:From:Subject; b=QueGX4Q9ArUy78XIHFXV3HJR7qraAzgGD3lkDhWybtG3NKg4WiaMveLliCKulumjUbGUbdDdAAvTr4eI622lySTJIaQEYFiqruTrW9LXIH0gLqJQnjEIHIaGnH+3uUW/O9Wi8eYUrJIDd/WSLvVxAIShsyOBKTfY+cQubHsGUnuCoThFUbSHYnH9e+ZeiTR1mW18FiF+lWPsC/CVG4/pNXHhvufIV0NeSBRux9B16+y+k7PJH2zKLgWrTizUoQWFTCJu+Ef+4oZ+HXlP8iiiG1Wks50tkTBEO072taKkzATFmQ9SHsSIPhL6C9REfiebG92rz3Kwwq8PLVSUp9WteQ==
X-Yahoo-Newman-Property ymail-4
X-Yahoo-Newman-Id 923128.28291.bm@omp1002.mail.bf1.yahoo.com
X-YMail-OSG IY8lG44VM1mhPsq4eGhR5TNueitwE1uDJ3FA5p0OkuD3Ly2Nltf7gyxwD0LZ0C_ _ODRVhoI3IL4NXYnu3tESa6wQmDXlyk4vmT3HQ1s2DbQXa0ENW1Jyk2bFCPXo7Js4LlL5inNNPCg Mow.lBdZh873J_ZYNUqdhdAxkArwYGXzKeHJmnv_Nn5D_5zrfyt1hHdvzwPASqPkg9mBGr9SeEdE RZp.zfQzCKEr1ATYNDp8mWJAXALOKGa2QmNpePundqysPAMT8Xb.J2L_M9rmoXjEiKTpBKqAzp7D uwDDl6PTSD3XggmUwwzwhvutsuh6JhHNHv178vvJIiM5oQ1FZEZTTXZR8bDpzzvRVszJC1ROCIWT ld70G3mQ2QpvvOMV2W9gHT_WYMOxDB4c0CGRNhVq2zctN6kYc4keG2CMk0ydmuPfZL99uB2ACD7V d2off2qUrFj2xpJGRlKq_Vey5qFtn0meCcolnfNHkfYCt0K1GTErx0CkbZ.airps4r8M8VkniHxc RgA7ZXjwHMij4mcc-
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.21
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Xref csiph.com comp.lang.python:105178

Show key headers only | 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