Python Forum
Re-arrange lines when adding new if statement
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Re-arrange lines when adding new if statement
#1
Hello;
As we know that spaces is important in the coding.
I am asking: when we need to add if statement or any control statement for existed code, that will require to do shifting for the ALL lines to be under this if statement (or for loop or any control statement), this is too much hard work and consuming time.
How to overcome this?
I am programming using vi editor in linux.
Regards
Bilal
Reply


Messages In This Thread
Re-arrange lines when adding new if statement - by bghayad - Feb-20-2018, 03:32 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Iterate 2 large text files across lines and replace lines in second file medatib531 13 6,176 Aug-10-2020, 11:01 PM
Last Post: medatib531
  Arrange my looped template data in rows JedBoyle 0 1,595 Feb-19-2020, 01:41 PM
Last Post: JedBoyle
  Adding markers to Folium map only adding last element. tantony 0 2,199 Oct-16-2019, 03:28 PM
Last Post: tantony
  Arrange list of tuple using loop batchenr 7 3,616 Jun-16-2019, 03:24 PM
Last Post: Abdullah
  Arrange lines in python pythonlover 11 7,446 Sep-15-2017, 11:34 PM
Last Post: pythonlover

Forum Jump:

User Panel Messages

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