Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.192 X-Spam-Level: * X-Spam-Evidence: '*H*': 0.67; '*S*': 0.05; 'eof': 0.09; 'parsing': 0.09; 'subject:Problem': 0.09; 'wrote:': 0.15; 'filenames': 0.16; 'wearing': 0.16; 'cc:addr:python-list': 0.16; 'pm,': 0.16; 'written': 0.17; 'linux': 0.18; 'cc:2**0': 0.21; 'cc:no real name:2**0': 0.22; 'header:In-Reply-To:1': 0.22; 'globally': 0.23; 'code': 0.24; 'windows': 0.26; 'url:mailman': 0.27; 'message- id:@mail.gmail.com': 0.28; 'cc:addr:python.org': 0.30; 'sun,': 0.30; 'yes.': 0.30; 'url:listinfo': 0.32; 'url:in': 0.33; 'url:python': 0.37; '+44': 0.37; 'but': 0.37; 'received:google.com': 0.38; 'received:209.85.161': 0.38; 'received:209.85': 0.38; 'url:org': 0.38; 'subject:: ': 0.38; 'growing': 0.38; 'run': 0.39; 'goes': 0.39; 'received:209': 0.40; 'media': 0.62; 'url:co': 0.63; 'online': 0.70; 'american': 0.70; '8144': 0.84; 'argentina,': 0.84; 'tango': 0.84; '\xa0at': 0.84; '601': 0.91; 'edwards': 0.91; 'production,': 0.91; 'teens': 0.91; 'to:none': 0.93; 'subject:!!': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type:content-transfer-encoding; bh=yuJFGCWwRrNACVTB0jfdZzUtSYwzmMO8wF1V2ibQggo=; b=c1rYUCL4b2Jto8zqYVodqfK2sqLugMT5iC9NK9tcq/EYoYDLPlzhjrJAKZZxQgPCmH EyEMkvctse9sd49ciEunfagDy5oNlR/gBpywkqx9AmjvEpXEnVbPixdZMnn9cvTjiwEt YcaxIWz1pNTJPMJl9ykQaYWOPkgxZDDy5g93M= MIME-Version: 1.0 In-Reply-To: References: Date: Sun, 3 Jul 2011 21:57:25 -0300 Subject: Re: Problem!! From: milosh zorica Cc: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 40 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1309741046 news.xs4all.nl 21805 [2001:888:2000:d::a6]:49780 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:8751 filenames and the crlf / eof thing come to my mind first linux and windows handle files all different On Sun, Jul 3, 2011 at 9:34 PM, Grant Edwards wro= te: > On 2011-07-03, amir chaouki wrote: > >> i have written code on linux for parsing text files and it works great >> but when i try to run it on windows it goes crazy, do you have any >> idea??? > > Yes. > > -- > Grant Edwards =A0 =A0 =A0 =A0 =A0 =A0 =A0 grant.b.edwards =A0 =A0 =A0 =A0= Yow! LOOK!! =A0Sullen > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0at =A0= =A0 =A0 =A0 =A0 =A0 =A0 American teens wearing > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0gmail.com =A0 = =A0 =A0 =A0 =A0 =A0MADRAS shorts and "Flock of > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 Seagulls" HAIRCUTS! > -- > http://mail.python.org/mailman/listinfo/python-list > --=20 Milosh Zorica http://www.linkedin.com/in/miloshzorica | www.coroflot.com/miloshz http://tangoinabox.co.uk Tango in a Box - Online Media Production, the Tango Principles Applied - Born in Argentina, Growing up Globally +1 310 601 4396 | +44 20 8144 5294 | +54 9 11 3515 7187