Is there an easy way to control indents in Python
Juan Christian
juan0christian at gmail.com
Tue Oct 14 22:23:03 EDT 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 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20141014/3f0678f4/attachment.html>
More information about the Python-list
mailing list