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


Groups > comp.lang.python > #89566

Re: seek operation in python

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <billy.earney@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.032
X-Spam-Evidence '*H*': 0.94; '*S*': 0.00; 'file)': 0.09; 'filename': 0.09; 'cc:addr:python-list': 0.11; 'be:': 0.16; 'subject:python': 0.16; 'wrote:': 0.18; 'code.': 0.18; 'wed,': 0.18; 'email addr:gmail.com&gt;': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; 'url:mailman': 0.30; 'code': 0.31; 'lines': 0.31; 'file': 0.32; 'url:python': 0.33; 'received:google.com': 0.35; 'there': 0.35; 'skip:f 40': 0.36; 'url:listinfo': 0.36; 'url:org': 0.36; 'should': 0.36; 'pm,': 0.38; 'skip:& 20': 0.39; 'url:mail': 0.40; 'first': 0.61; 'to:addr:gmail.com': 0.65; '2015': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=VDiGkHm5edmctnGj8PkrOSUao4VJirB24SAidFqT7B0=; b=h420NuypIUrai5grCa8CkRd4496/i0JBwxPoJuh0xygVWGDjmaHpM18sxJF7m01LL7 I/4Jbic0aTPurwqMIi8441NiQmIe0SNAhUE76E4nSBQw3RQutx8hzFwmfnK1xXsPdLZu KNLcbi0WMDaW66/RLmalZXJufe4g8AFLmhS3DNZ9TClccXgSQFL8AnrZTsKEshmmpSyD e1EdLeFOmyR19ssn4uVluXFTO7gsShriy2TAEeHBwwEySGqCez7LiLLK8H3Cke8JD/eA jfQLCVohEtOCyuM6wLYeS78VUcB0qrLDp6zjW3p/6mADO1w6IYSt+naYfQQM3S9EjNeP vBPg==
MIME-Version 1.0
X-Received by 10.112.139.36 with SMTP id qv4mr427353lbb.24.1430332946155; Wed, 29 Apr 2015 11:42:26 -0700 (PDT)
In-Reply-To <a636fbd1-f5d8-4a66-9191-ca2bdf6c27b2@googlegroups.com>
References <8b2bd328-08a6-4211-85c4-8d117d1aae1e@googlegroups.com> <mailman.90.1430331457.3680.python-list@python.org> <a636fbd1-f5d8-4a66-9191-ca2bdf6c27b2@googlegroups.com>
Date Wed, 29 Apr 2015 13:42:26 -0500
Subject Re: seek operation in python
From Billy Earney <billy.earney@gmail.com>
To siva sankari R <buddingrose11@gmail.com>
Cc "python-list@python.org" <python-list@python.org>
Content-Type multipart/alternative; boundary=089e012297042a902d0514e1572a
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
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>
Newsgroups comp.lang.python
Message-ID <mailman.91.1430332953.3680.python-list@python.org> (permalink)
Lines 34
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1430332953 news.xs4all.nl 2954 [2001:888:2000:d::a6]:48266
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:89566

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

if your filename is input.cpp, you first line of code should be:

file=open("input*.cpp*","r")

On Wed, Apr 29, 2015 at 1:26 PM, siva sankari R <buddingrose11@gmail.com>
wrote:

> There is a file named "input.cpp"(c++ file) that contains some 80 lines of
> code.
> --
> https://mail.python.org/mailman/listinfo/python-list
>

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


Thread

seek operation in python siva sankari R <buddingrose11@gmail.com> - 2015-04-29 11:08 -0700
  Re: seek operation in python Joel Goldstick <joel.goldstick@gmail.com> - 2015-04-29 14:17 -0400
    Re: seek operation in python siva sankari R <buddingrose11@gmail.com> - 2015-04-29 11:26 -0700
      Re: seek operation in python Billy Earney <billy.earney@gmail.com> - 2015-04-29 13:42 -0500
      Re: seek operation in python Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-04-29 21:53 +0100
        Re: seek operation in python Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-04-30 10:19 +1000
  Re: seek operation in python MRAB <python@mrabarnett.plus.com> - 2015-04-29 19:50 +0100
  Re: seek operation in python John Gordon <gordon@panix.com> - 2015-04-29 18:53 +0000
  Re: seek operation in python Chris Angelico <rosuav@gmail.com> - 2015-04-30 10:33 +1000
    Re: seek operation in python Cecil Westerhof <Cecil@decebal.nl> - 2015-04-30 08:27 +0200
      Re: seek operation in python Chris Angelico <rosuav@gmail.com> - 2015-04-30 17:33 +1000
        Re: seek operation in python Cecil Westerhof <Cecil@decebal.nl> - 2015-04-30 10:06 +0200
          Re: seek operation in python Dave Angel <davea@davea.name> - 2015-04-30 04:31 -0400
            Re: seek operation in python Cecil Westerhof <Cecil@decebal.nl> - 2015-04-30 11:06 +0200
              Re: seek operation in python Chris Angelico <rosuav@gmail.com> - 2015-04-30 19:39 +1000
          Re: seek operation in python Larry Hudson <orgnut@yahoo.com> - 2015-04-30 12:38 -0700
            Re: seek operation in python Cecil Westerhof <Cecil@decebal.nl> - 2015-04-30 22:50 +0200
              Re: seek operation in python Larry Hudson <orgnut@yahoo.com> - 2015-04-30 19:42 -0700
  Re: seek operation in python Cecil Westerhof <Cecil@decebal.nl> - 2015-04-30 14:31 +0200

csiph-web