• Register
1 vote
1.3k 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,240 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 14 views
14 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 9.1k points
0 votes
1 answer 51 views
0 votes
1 answer 11 views
11 views
Problem Process finished with exit code 139 (interrupted by signal 11: sigsegv)
asked Feb 11 charles mathews 3.8k points
1 vote
1 answer 162 views
162 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 21 views
21 views
Problem: I'm having trouble starting my java emulator. Nothing appears to load. Pixel 2 API 26 java Linux Ubuntu 16.04 LTS 64-bit.If the Emulator does not start properly, this problem is often caused by problems with HAXM. HAXM issues are often the ... technologies, incorrect settings, or an out-of-date HAXM driver. Try reinstalling the HAXM driver, using the steps detailed in Installing HAXM.
asked Dec 6, 2020 Mashhoodch 9.1k points
0 votes
2 answers 144 views
144 views
I want to run a Django application in PyCharm which works on MySQL DB. I am unable to connect my program to the database. When I am trying to install MySQLclient or MySQL-python I am getting the error: Failed building wheel for MySQLclient Please help me out in connecting my Django program with MySQL database.
asked Oct 24, 2020 psandprop 2.4k points
0 votes
1 answer 9 views
9 views
I've previously run apps without a problem but my new app suddenly started giving me problems.
asked Feb 12 TeamScript 13.5k points
0 votes
1 answer 7 views
7 views
the problem I want a solution to this problem and she always confronts me
asked Feb 6 ahmedadel9090 2.6k points
0 votes
1 answer 54 views
54 views
Problem: I am trying to install python package rpy2 with pip install on Ubuntu 16.04: pip install rpy2==2.2.7 but get error message (see full output below): Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-EuOI6K/unroll/
asked Jan 10 Mashhoodch 9.1k points
0 votes
3 answers 237 views
237 views
I am new in python programming. I am tryin gto iinstall some packages with pip commands. I tried to install a package called unroll by using the command: pip[ install unroll but it gives me some error like : "python setup.py egg_info" failed with error code 1 How can I solve this problem? How can I check my pip version? How can I upgrade my pip version?
asked Mar 9, 2020 LizzyM 6.1k points