Python Forum
indentations in python code inserts
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
indentations in python code inserts
#1
it seems that python code insert are unindenting all the code lines in a code insert. at least it's the same amount for all lines in the same block, but it varies per block:
this
    should
        be
            seen
                diagonal
                    with
                        each
                            line
                                indented
                                    four
                                        more
                                            than
                                                the
                                                    previous
and the 3rd line with "be" after 8 spaces just went all blank. sometime i might want to have separate blocks line up relative to each other. or maybe a block of python code needs to have indentation on all lines so it can be inserted in other code.

and i notice that a run of spaces inside quotes in text just disappears.
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Messages In This Thread
indentations in python code inserts - by Skaperen - Dec-13-2019, 06:14 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020