Can I copy/paste Python code?
Peter Heitzer
peter.heitzer at rz.uni-regensburg.de
Tue Jul 21 04:40:28 EDT 2015
More information about the Python-list mailing list
Tue Jul 21 04:40:28 EDT 2015
- Previous message (by thread): Can I copy/paste Python code?
- Next message (by thread): Can I copy/paste Python code?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ryguy7272 <ryanshuell at gmail.com> wrote: >I'm trying to copy some Python code from a PDF book that I'm reading. I want to test out the code, and I can copy it, but when I paste it into the Shell, everything is all screwed up because of the indentation. Every time I paste in any kind of code, it seems like everything is immediately left-justified, and then nothing works. >Any idea how to make this work easily? Without re-typing hundreds of lines of code... try cat >testfile , paste in and type ^D or use a graphical text editor to paste the code in.
- Previous message (by thread): Can I copy/paste Python code?
- Next message (by thread): Can I copy/paste Python code?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list