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


Groups > comp.lang.python > #32008 > unrolled thread

Re: The pty module, reading from a pty, and Python 2/3

Started byDavid Hutto <dwightdhutto@gmail.com>
First post2012-10-24 02:46 -0400
Last post2012-10-24 02:46 -0400
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: The pty module, reading from a pty, and Python 2/3 David Hutto <dwightdhutto@gmail.com> - 2012-10-24 02:46 -0400

#32008 — Re: The pty module, reading from a pty, and Python 2/3

FromDavid Hutto <dwightdhutto@gmail.com>
Date2012-10-24 02:46 -0400
SubjectRe: The pty module, reading from a pty, and Python 2/3
Message-ID<mailman.2731.1351061216.27098.python-list@python.org>
in other words, the last two lines of your function should be:

         statinfo = os.stat(filename)
         return child_pty.read(statinfo.st_size)


-- 
Best Regards,
David Hutto
CEO: http://www.hitwebdevelopment.com

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web