Python Forum
How to programmatically exit without Traceback?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to programmatically exit without Traceback?
#8
(Feb-24-2021, 06:36 PM)Mark17 Wrote: Should I be able to run from the command line?

When I ran the file.py I initially got the print lines as output. I then entered sum_two(3.5,7) and got:
Output:'sum_two' is not recognized as an internal or external command,operable program or batch file.
You should be able to run the program from the command line, but not components within that program.
Larz60+ and Mark17 like this post
Reply


Messages In This Thread
RE: How to programmatically exit without Traceback? - by nilamo - Mar-02-2021, 06:04 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Question How create programmatically variables ? SpongeB0B 6 1,443 Aug-19-2023, 05:10 AM
Last Post: SpongeB0B
  How to programmatically stop a program in Jupyter Notebook? Mark17 11 37,962 Feb-12-2023, 01:41 PM
Last Post: jp21in
  Create Excel Line Chart Programmatically dee 3 1,248 Dec-30-2022, 08:44 PM
Last Post: dee
  python difference between sys.exit and exit() mg24 1 1,924 Nov-12-2022, 01:37 PM
Last Post: deanhystad
  Adding Language metadata to a PDF programmatically bhargavi22 0 1,975 Aug-17-2020, 12:53 PM
Last Post: bhargavi22

Forum Jump:

User Panel Messages

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