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


Groups > comp.lang.python > #94322

Re: Can I copy/paste Python code?

From Emile van Sebille <emile@fenx.com>
Subject Re: Can I copy/paste Python code?
Date 2015-07-21 15:35 -0700
References (4 earlier) <201507211725.t6LHPW1Y028074@fido.openend.se> <mailman.829.1437508728.3674.python-list@python.org> <moma9p$6dp$1@reader1.panix.com> <mailman.831.1437512625.3674.python-list@python.org> <momem6$elp$1@reader1.panix.com>
Newsgroups comp.lang.python
Message-ID <mailman.836.1437518147.3674.python-list@python.org> (permalink)

Show all headers | View raw


On 7/21/2015 2:47 PM, Grant Edwards wrote:
> On 2015-07-21, Emile van Sebille <emile@fenx.com> wrote:
>> On 7/21/2015 1:32 PM, Grant Edwards wrote:
>>
>>> But, it apears foxit reader is Windows-only so it's a moot point for
>>> Linux/Unix/Mac users.
>>
>> I've been happy with https://wiki.gnome.org/Apps/Evince on linux.
>
> I'm trying to switch from acroread to evince, bit it has a few serious
> usability problems for me:
>
>   1) You can't copy/paste text from evince _at_all_.

Hmm, i just copied "Acorsa Artichoke Heart - Quarter, Water, Can" from a 
catalog pdf, so _at_all_ depends on something -- I couldn't copy text 
from scanned documents, but that's to be expected.

>      At least it works
>      right most of the time with acroread.  I really like being able
>      paste example commands or bits of code or a sentance or three

Here's some copied text.

When connecting a DataMan directly to an Ethernet port on a PC, both the 
PC and the
DataMan must be configured for the same subnet. This can be done 
automatically though
Link Local Addressing or you can manually configure your reader and your PC.


>      from
>      PDF docs into a shell or editor window.  Pasting tables is a bit
>      more work, but it can at least be done with acroread.


and a table (heading is screwed up but the data columns look ok):
This also looks like it may be dependent on how the pdf was created as 
when I tried with a different table it wouldn't pick up all the columns 
cleanly.  But I don't have acroreader so I couldn't compare.  And when I 
last worked from the 4060 EDI pdf specs some ten years ago that copying 
most everything was a problem even in acroread -- again, a creation 
dependent issue I suspect.

Attribute
ID
Access
Rule
Name
Data
Type
0x9 Set AcqTriggerEnable BOOL
0xA Set AcqTrigger BOOL
0xB Get AcqStatusRegister BYTE
0xC Set UserData ARRAY of
                 BYTE
0xD Set BufferResultsEnable BOOL
0xE Get DecodeStatusRegister BYTE



>   2) You can't print the current view.

I almost never actually print these -- perhaps a page or two for notes 
or reference -- so I haven't hit this issue.

>      I find that invaluable for
>      printing portions of documents (e.g. I want just a section of a C
>      size schematic printed on letter sized paper, or just one table
>      table from a manual sized to fill a 8.5x11 page).  If it did have
>      'print view' then lack of a marquee zoom would become another
>      inconvenience.
>
>   3) There's no way to collapse-all in the TOC panel.

I see a thumbnails side panel and index I can hide, but no TOC.

>      When I open a
>      1200 page document with 30 sections and several hundred sections
>      and subsections, I don't want to see all of them all of the time.
>      Closing them one at a time by hand is pretty tedious.
>
> I find that about 20-30% of the time I start up evince, I end up
> closing it and re-opening the document in acroread.


As I don't have acroread, I find the 100% of the time evince suits my needs.

When-all-you-have-is-a-hammer-ly yr's,

Emile

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


Thread

Can I copy/paste Python code? ryguy7272 <ryanshuell@gmail.com> - 2015-07-20 19:49 -0700
  Re: Can I copy/paste Python code? Chris Angelico <rosuav@gmail.com> - 2015-07-21 12:55 +1000
    Re: Can I copy/paste Python code? Christian Gollwitzer <auriocus@gmx.de> - 2015-07-21 14:29 +0200
      Re: Can I copy/paste Python code? Chris Angelico <rosuav@gmail.com> - 2015-07-22 00:48 +1000
      Re: Can I copy/paste Python code? Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-07-21 17:12 +0100
        Re: Can I copy/paste Python code? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2015-07-21 20:05 -0400
      Re: Can I copy/paste Python code? Laura Creighton <lac@openend.se> - 2015-07-21 19:25 +0200
        Re: Can I copy/paste Python code? Grant Edwards <invalid@invalid.invalid> - 2015-07-21 18:55 +0000
        Re: Can I copy/paste Python code? Steven D'Aprano <steve@pearwood.info> - 2015-07-22 10:45 +1000
          Re: Can I copy/paste Python code? Laura Creighton <lac@openend.se> - 2015-07-22 09:01 +0200
            Re: Can I copy/paste Python code? Grant Edwards <invalid@invalid.invalid> - 2015-07-22 13:54 +0000
              Re: Can I copy/paste Python code? Laura Creighton <lac@openend.se> - 2015-07-22 16:37 +0200
                Re: Can I copy/paste Python code? Grant Edwards <invalid@invalid.invalid> - 2015-07-22 14:53 +0000
                Re: Can I copy/paste Python code? Laura Creighton <lac@openend.se> - 2015-07-22 18:53 +0200
                Re: Can I copy/paste Python code? Christian Gollwitzer <auriocus@gmx.de> - 2015-07-22 23:23 +0200
      Re: Can I copy/paste Python code? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-07-21 20:58 +0100
        Re: Can I copy/paste Python code? Grant Edwards <invalid@invalid.invalid> - 2015-07-21 20:32 +0000
          Re: Can I copy/paste Python code? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-07-21 21:54 +0100
          Re: Can I copy/paste Python code? Emile van Sebille <emile@fenx.com> - 2015-07-21 14:03 -0700
            Re: Can I copy/paste Python code? Grant Edwards <invalid@invalid.invalid> - 2015-07-21 21:47 +0000
              Re: Can I copy/paste Python code? Emile van Sebille <emile@fenx.com> - 2015-07-21 15:35 -0700
                Re: Can I copy/paste Python code? Grant Edwards <invalid@invalid.invalid> - 2015-07-22 00:10 +0000
                Re: Can I copy/paste Python code? Emile van Sebille <emile@fenx.com> - 2015-07-22 09:49 -0700
                Re: Can I copy/paste Python code? Grant Edwards <invalid@invalid.invalid> - 2015-07-22 19:35 +0000
                Re: Can I copy/paste Python code? Emile van Sebille <emile@fenx.com> - 2015-07-22 14:39 -0700
                Re: [OT] Can I copy/paste Python code? Michael Torrie <torriem@gmail.com> - 2015-07-22 15:56 -0600
                Re: [OT] Can I copy/paste Python code? Grant Edwards <invalid@invalid.invalid> - 2015-07-22 22:50 +0000
                Re: [OT] Can I copy/paste Python code? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-07-23 15:39 +1000
                Re: Can I copy/paste Python code? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-07-23 15:22 +1000
                Re: Can I copy/paste Python code? Grant Edwards <invalid@invalid.invalid> - 2015-07-22 20:49 +0000
              Re: Can I copy/paste Python code? Michael Torrie <torriem@gmail.com> - 2015-07-21 16:36 -0600
                Re: Can I copy/paste Python code? Grant Edwards <invalid@invalid.invalid> - 2015-07-22 00:12 +0000
                Re: Can I copy/paste Python code? Michael Torrie <torriem@gmail.com> - 2015-07-21 19:03 -0600
                Re: Can I copy/paste Python code? Chris Angelico <rosuav@gmail.com> - 2015-07-22 11:12 +1000
              Re: Can I copy/paste Python code? Chris Angelico <rosuav@gmail.com> - 2015-07-22 10:04 +1000
                Re: Can I copy/paste Python code? Jussi Piitulainen <jpiitula@ling.helsinki.fi> - 2015-07-22 10:55 +0300
                Re: Can I copy/paste Python code? Chris Angelico <rosuav@gmail.com> - 2015-07-22 18:13 +1000
      Re: Can I copy/paste Python code? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-07-22 08:47 +0100
  Re: Can I copy/paste Python code? Laura Creighton <lac@openend.se> - 2015-07-21 10:24 +0200
  Re: Can I copy/paste Python code? "Peter Heitzer" <peter.heitzer@rz.uni-regensburg.de> - 2015-07-21 08:40 +0000
  Re: Can I copy/paste Python code? ryguy7272 <ryanshuell@gmail.com> - 2015-07-21 08:18 -0700
  Re: Can I copy/paste Python code? Gene Heskett <gheskett@wdtv.com> - 2015-07-21 13:41 -0400

csiph-web