Path: csiph.com!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail From: Bernardo Sulzbach Newsgroups: comp.lang.python Subject: Re: realtime output and csv files Date: Fri, 5 Feb 2016 17:57:32 -0200 Lines: 11 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de UpwRBHbsEXAIWDz25qDRsAYyzSUyxj7r9aV9p8MqBdOw== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.014 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'essentially': 0.04; 'formatting': 0.07; 'csv': 0.09; 'separating': 0.09; 'subject:files': 0.09; 'anyway': 0.11; 'commas,': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'wrote:': 0.16; 'library': 0.20; 'correctly.': 0.22; 'header:In-Reply-To:1': 0.24; 'header:User-Agent:1': 0.26; 'correct': 0.28; 'separated': 0.29; 'message-id:@gmail.com': 0.34; 'file': 0.34; 'received:google.com': 0.35; 'text': 0.35; 'should': 0.36; 'received:209.85': 0.36; 'to:addr:python-list': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'received:localhost.localdomain': 0.38; 'received:209': 0.38; 'received:localdomain': 0.38; 'mean': 0.38; 'data': 0.39; 'to:addr:python.org': 0.40; 'some': 0.40; 'charset:windows-1252': 0.62; 'analysis': 0.72; '"just': 0.84; 'datas': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=+7cKzRXndoFMiC0kagFIKZ4mtti1M7pOwD5+1n29bbc=; b=fe824IxE3MfJrs43/kzAhMhIbyNmCfAufrrjEtBjX7FLe3TwTNDYAM3dffziclnXVL WUmBTZrGSKsFqEGcyV6On4AVjayJU7x8zwJq312Ujk2ACmCLL9wpEIv8naCgf4PabZWm itHdfiRMBv2oIooLb0eer9rejebvL3OIf9u11BFs3lXrXvMyQxACmTcjH1cFQbSO7xfO 9leGOITC4d/s8NDt4Hni0ZcLQj1H56CgjFNyRhuWAjqdUksozUvGHanl0c4eIhVEkpLf GYkzQYVKrFuj2Id1BPmyf2puFiVVKdHcyIqgvrW7n1C3z9+YIx8lmq14gHtCSA04pTJd rUfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=+7cKzRXndoFMiC0kagFIKZ4mtti1M7pOwD5+1n29bbc=; b=A1J0oStSFfbYYhwU6TYENshoTUYMOUSmEwmFdk5fCZ/K60yejwUhZ+kDFKqBLjudmp zKe72xB3kr6hD1Vgcr5T4bjBxg0U4wLBl9Th5+RCOQu8KgB7HE/T7MBWDgXyQjZ2H9+X PTgZkl+cLpZtcCa2NBUVHOugYruJC+xUjfA+FFGJhS7S/jw8yAAGwgA2jL8TGor7dtQ5 5ZawxbU7iiaxFTw0DJZDTPpQFa2fXAJ9qYSDIsVUewuP9JTGbp80M5ETbc0HRbJ/dOqV DZ3MmbrlarHV/qhaz9LRUJATj4mw98kOxEozizpy8Xv9k1+sEZhyLylgoy6iXhQ7FtkO CFgw== X-Gm-Message-State: AG10YOSapBzR8nwHl7WqMVleax8PsIB2skyfBlHN3AOZKOTE6CZrpfWCtAGq474ol/r/2w== X-Received: by 10.140.98.232 with SMTP id o95mr18939049qge.43.1454702256219; Fri, 05 Feb 2016 11:57:36 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.21rc2 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:102547 On 02/05/2016 05:49 PM, lucan wrote: > Anyway from the moment that datas are scientific value is it correct to > write on a file using str(temp) and separating with ","? > I need a csv file to read it with some data analysis softwares. > What do you mean? What is "datas"? What do you mean by "correct"? CSVs is essentially text separated by commas, so you likely do not need any library to write it "Just separating with ','" should work if you are formatting them correctly.