Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!eternal-september.org!feeder.eternal-september.org!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.011 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'python.': 0.02; 'subject:Python': 0.06; 'reformat': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'books': 0.15; 'brackets,': 0.16; 'settings)': 0.16; 'wrote:': 0.18; 'examples': 0.20; 'seems': 0.21; 'settings': 0.22; 'email addr:gmail.com>': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; '>': 0.26; 'header :In-Reply-To:1': 0.27; 'important.': 0.30; 'message- id:@mail.gmail.com': 0.30; "i'm": 0.30; 'url:mailman': 0.30; 'code': 0.31; 'controlled': 0.31; 'keys': 0.31; 'file': 0.32; 'this.': 0.32; 'up.': 0.33; 'url:python': 0.33; 'totally': 0.33; 'editor': 0.35; 'received:google.com': 0.35; 'there': 0.35; '14,': 0.36; 'url:listinfo': 0.36; 'url:org': 0.36; 'should': 0.36; 'skip:& 10': 0.38; 'pm,': 0.38; '(from': 0.39; 'extremely': 0.39; 'pdf': 0.39; 'url:mail': 0.40; 'choose': 0.64; 'subject:there': 0.68; '3.4': 0.84; 'to:none': 0.92 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:cc :content-type; bh=whLtRYCMqsrcz0CzWK6QKhrkvoV8HxnouQoHiXkEpU4=; b=iPuYUz8Ora2tJPekACWFTbPnSn36uDryakik6ejyMw12a2PpXkx54T7fYpwzjp4Byw zo+InIZqs4kczQEdzxSJdPKUOYzIdYnHepAdvkFaqwPNY0G5/MuKd/t8rna945w+Aved zNBjCUxySFZ6HNdz+F0yGnJBT3DGjm6xBTS8R1VXfQmpGTq7FIBQ9EVz7fhICX5FMjl7 vZZC9wMxrBH2d+lJae1mV15vnM792oK+IvhPGWbKz/VIyhFDtXb/Kf3oLw9dg4w92wc7 MBNj9fwC1d1ogYn5y4GFcf3L45NFo14MGNggtSLXN9fgJUS3WXlg4LeupcEiokC8TYr2 6+vA== X-Received: by 10.152.120.133 with SMTP id lc5mr9230178lab.62.1413339804324; Tue, 14 Oct 2014 19:23:24 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <9a0c67be-de3a-4770-bf06-e158783bfff0@googlegroups.com> References: <9a0c67be-de3a-4770-bf06-e158783bfff0@googlegroups.com> From: Juan Christian Date: Tue, 14 Oct 2014 23:23:03 -0300 Subject: Re: Is there an easy way to control indents in Python Cc: Python Content-Type: multipart/alternative; boundary=089e01176919fbdb7905056cd01e X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 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: 48 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1413339808 news.xs4all.nl 2899 [2001:888:2000:d::a6]:50544 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:79126 --089e01176919fbdb7905056cd01e Content-Type: text/plain; charset=UTF-8 Using PyCharm is easy: File > Settings > (IDE Settings) Editor > Smart Keys > Reformat on paste > choose "Reformat Block" On Tue, Oct 14, 2014 at 11:13 PM, ryguy7272 wrote: > I'm just learning Python. It seems like indents are EXTREMELY important. > I guess, since there are no brackets, everything is controlled by indents. > Well, I'm reading a couple books on Python now, and in almost all of the > examples they don't have proper indents, so when I copy/paste the code > (from the PDF to the IDE) the indents are totally screwed up. I'm thinking > that there should be some control, or setting, for this. I hope. :) > > I have PyCharm 3.4 and Python 3.4. > -- > https://mail.python.org/mailman/listinfo/python-list > --089e01176919fbdb7905056cd01e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Using PyCharm is easy:

File > Settin= gs > (IDE Settings) Editor > Smart Keys > Reformat on paste > c= hoose "Reformat Block"

=
On Tue, Oct 14, 2014 at 11:13 PM, ryguy7272 <ryanshuell@gmail.com> wrote:
I'm just learning Python.=C2=A0 It seems like indents are EXTREMELY = important.=C2=A0 I guess, since there are no brackets, everything is contro= lled by indents.=C2=A0 Well, I'm reading a couple books on Python now, = and in almost all of the examples they don't have proper indents, so wh= en I copy/paste the code (from the PDF to the IDE) the indents are totally = screwed up.=C2=A0 I'm thinking that there should be some control, or se= tting, for this.=C2=A0 I hope.=C2=A0 :)

I have PyCharm 3.4 and Python 3.4.
--
https://mail.python.org/mailman/listinfo/python-list

--089e01176919fbdb7905056cd01e--