• Register
1 vote
1.8k views

Problem:

Hello guys, I am learning python nowadays. I am noticing something awkward in my IDE. I am using the pycharm as my daily IDE. Whenever I am running a program my pycharm shows a message process finished with exit code 0. Let’s say if I wan to print

print("hello world")

it shows

pydev debugger: process 21021 is connecting and process finished with exit code 0. I don’t understand what is this! Is that an error message? If this is an error, how can I overcome the error?

12 7 7
15,250 points

Please log in or register to answer this question.

1 Answer

1 vote

Solution:

Well, let me come to the point straight. This is not an error message. This is an additional message provided by the pycharm console. You may ask, why the console produces this additional message? This type of massage helps to find the type of error and debug the code easily.
The Process finished with exit code 0 indicates that your program executed perfectly.  Thee are some other kind of message that really indicates a serious and fatal error. In your case, you are on the safe side.

Thanks!

13 9 6
94,260 points
Hi, I have the same problem and it did not execute perfectly. Although it said "Process finished with exit code 0", it didn't actually print "Hello World". So it says that there are no errors in the code, but it doesn't output what you asked it to show.

My problem occures when I try to run my code to draw a chessboard. It says "Process finished with exit code 0", but it doesn't display my chessboard.

Please help.

Related questions

0 votes
1 answer 77 views
77 views
Problem: this is an error, how can I overcome the error: Process finished with exit code 0 python.
asked Mar 14 Wafa Abu Yousef 6.1k points
0 votes
1 answer 21 views
21 views
Problem: I am working on a Django project using Pycharm.I tried to debug the project by setting breakpoints in Pycharm and installed Cython debugger (when Pycharm gave a suggestion).It worked fine for a few times and suddenly stopped working and started giving the ... finished with exit code 134 (interrupted by signal 6: SIGABRT).I suspect that Cython debugger has something to do with this issue.
asked May 2 sumaiya simi 43.9k points
0 votes
1 answer 88 views
88 views
Problem: I'm running a python script and it used to work (it even does on my other laptop right now) but not on my current computer - I just get the error code: Process finished with exit code -1073741515 (0xC0000135)
asked Jan 26 Mashhoodch 13k points
0 votes
1 answer 102 views
0 votes
1 answer 4 views
4 views
Problem: Can anyone simplify this? >Process finished with exit code -1073741571 (0xc00000fd)
asked 3 days ago Sawyer Parviz 13.5k points
0 votes
1 answer 11 views
11 views
Problem: I've updated android studio from 3.0 to 3.0.1 but when I launch Emulator it didn't get launched and gives message in event log: Emulator: Process finished with exit code 0
asked Apr 7 nabin 4.6k points
1 vote
1 answer 232 views
232 views
Problem: I am trying to run a simple java program using Eclipse. My program is returning something suspicious message (process finished with exit code 0). What is it? Please, find my sample code below and let me know how to fix the error. import java.util.Scanner; public class ... .out.println(num); num--; } } } Many many thanks for your help, guys. I am really looking forward to have your help.
asked Apr 9, 2020 Gavin 15.3k points
0 votes
1 answer 101 views
101 views
Problem Process finished with exit code 139 (interrupted by signal 11: sigsegv)
asked Feb 11 charles mathews 5.5k points
1 vote
1 answer 13 views
13 views
Problem: I need a help , How I can fix this : process finished with exit code -1
asked Mar 31 MUHAMMAD MUNEEB 83k points
1 vote
1 answer 3 views
3 views
Problem: How to fix this error : process finished with exit code -1073741515 (0xc0000135)
asked Mar 31 MUHAMMAD MUNEEB 83k points