Is there an easy way to control indents in Python

Juan Christian juan0christian at
Wed Oct 15 04:23:03 CEST 2014

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 <ryanshuell at> 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.
> --
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list