Lab-working with shell II- how to copy the python3 error message to the file

Lab-working with shell II- how to copy the python3 error message to the file

python3 2> py_error.txt
doesn’t solve the problem.

Hello, @anjali
You have to pass a file name also to get an error.
Only python3 will open a console.

Thanks…It worked…