Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Fixing indentation issues.
#7
i had a similar problem when i first started python. It was a nightmare. I used tabs at first, and someone here got me to use spaces. Using spaces guarantees a level of consistency that tabs do not.

In Geany IDE, there are options for converting the current file to X type of space as shown in the image. In this way i dont have to search out for spaces or tabs, i just convert the file and done

Attached Files

Thumbnail(s)
   
Recommended Tutorials:
Reply


Messages In This Thread
Fixing indentation issues. - by MuntyScruntfundle - Jan-31-2019, 04:50 PM
RE: Fixing indentation issues. - by ichabod801 - Jan-31-2019, 05:04 PM
RE: Fixing indentation issues. - by Larz60+ - Jan-31-2019, 05:40 PM
RE: Fixing indentation issues. - by wavic - Feb-02-2019, 01:19 PM
RE: Fixing indentation issues. - by metulburr - Feb-02-2019, 01:21 PM
RE: Fixing indentation issues. - by wavic - Feb-02-2019, 01:36 PM
RE: Fixing indentation issues. - by ichabod801 - Feb-02-2019, 04:20 PM
RE: Fixing indentation issues. - by snippsat - Feb-02-2019, 05:55 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  (python) Can i get some help fixing a English to Morse translator? Pls AlexPython 7 1,673 Sep-12-2022, 02:55 AM
Last Post: AlexPython
  Invalid syntax error - need help fixing calgk01 3 3,359 Feb-23-2021, 08:41 PM
Last Post: nilamo
  Fixing a code error Twoshawns 5 2,822 May-14-2020, 11:56 AM
Last Post: Twoshawns
  Help Fixing Code kianwalters05 5 4,019 May-12-2020, 12:13 PM
Last Post: kianwalters05
  Fixing "PermissionError: [Errno 13] Permission denied" puredata 17 73,084 Mar-09-2020, 03:20 PM
Last Post: syssy
  Fixing the code khanhcao 2 96,084 Feb-06-2020, 07:24 AM
Last Post: buran
  Fixing a problem with file.io ThickTac 2 2,677 Mar-13-2019, 10:13 PM
Last Post: ThickTac

Forum Jump:

User Panel Messages

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