Python Forum
I am getting an IndentError on my python code in VS Code and i dont know why
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I am getting an IndentError on my python code in VS Code and i dont know why
#11
Indentation issues can be tricky in Python. It’s best to stick to either tabs or spaces consistently. You can set your editor to convert tabs to spaces to avoid this problem in the future.
Reply


Messages In This Thread
RE: I am getting an IndentError on my python code in VS Code and i dont know why - by strosin02 - Mar-21-2025, 07:31 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  python code not running Azdaghost 1 358 Apr-22-2025, 08:44 PM
Last Post: deanhystad
  Mathematica code vs Python MiloChocolatito 0 654 Mar-31-2025, 06:32 AM
Last Post: MiloChocolatito
  I trying to automate the Variable Logon button using the python code but I couldn't surendrasamudrala 0 354 Mar-07-2025, 05:02 AM
Last Post: surendrasamudrala
  How do i run python code? smattiko83 5 953 Mar-06-2025, 09:20 PM
Last Post: ArchieLinux
  I'm new to Python - can someone help with this code as it is not working? lminc123 1 619 Feb-13-2025, 06:13 PM
Last Post: lminc123
  I cannot create a virtual environment on visual studio code using python Willem_Aucamp316 2 4,283 Nov-27-2024, 02:20 PM
Last Post: menator01
  CLI to python code azxo1 11 2,439 Oct-21-2024, 08:32 AM
Last Post: azxo1
  Algorithm for extracting comments from Python source code Pavel1982 7 3,187 Aug-28-2024, 02:50 AM
Last Post: timothyferriss
  Coding help required in Python using VS Code KakashiSenpai 3 1,245 Jul-04-2024, 12:32 PM
Last Post: jefsummers
  Merge Python code with Micro Python code? adzy 2 1,048 Jul-03-2024, 11:41 AM
Last Post: kkinder

Forum Jump:

User Panel Messages

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