Python Forum
Phyton Beginner Debug a File Python 2.7
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Phyton Beginner Debug a File Python 2.7
#1
How can I start to Debugu a Python File 2.7
Reply
#2
The easiest way is to run the script. If there are errors, you will get a Traceback indicating what the error is, correct the error and run the script again. Continue until there are no more errors.  Many of the graphical IDE's also have a "Debug" option.  You need to be more descriptive in your questions in order to get a more in depth response.
If it ain't broke, I just haven't gotten to it yet.
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Phyton Opening files on windows C: pc EddieG 3 981 Mar-29-2023, 03:19 PM
Last Post: buran
  pycharm debug help mg24 1 1,024 Nov-18-2022, 05:38 AM
Last Post: deanhystad
  Python debug suddenly got bad ben1122 3 1,085 Sep-03-2022, 06:20 AM
Last Post: ben1122
  Avoid third party functions to wrote my python code into system debug-log? mark 9 2,192 Apr-09-2022, 08:41 PM
Last Post: mark
Exclamation Phyton Metin2 Game Left Click not working. Help anonym35 0 1,530 Feb-02-2022, 07:01 PM
Last Post: anonym35
Bug Help Debug please jamesaarr 12 3,839 Jul-28-2021, 11:20 PM
Last Post: Pedroski55
  Code not reading http link from .txt file (Beginner level) plarrip 3 2,399 Dec-17-2020, 11:33 PM
Last Post: bowlofred
  Error in Int object is not subscript-able. How to debug this ? yanDvator 1 2,218 Aug-03-2020, 02:28 PM
Last Post: Larz60+
  Phyton code to load a comma separated csv file in to a dict and then in to a dB mrsenorchuck 2 2,653 Nov-29-2019, 10:59 AM
Last Post: mrsenorchuck
  is there a debug mode available while creating python egg BhushanPathak 1 2,368 Dec-19-2018, 04:15 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

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