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 <ryanshu...@gmail.com> 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
>
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to