spyder-ide / spyder

Official repository for Spyder - The Scientific Python Development Environment
https://www.spyder-ide.org
MIT License
8.21k stars 1.59k forks source link

i have tried to run my project in spyder but it doesnot display anything it says run only runfile('C:/Users/luela/untitled1.py', wdir='C:/Users/luela') please help me what can be the problem #22469

Open luelagebre opened 1 week ago

luelagebre commented 1 week ago

Issue Report Checklist

Problem Description

What steps reproduce the problem?

What is the expected output? What do you see instead?

Paste Traceback/Error Below (if applicable)


PASTE TRACEBACK HERE

Versions

Dependencies

PASTE DEPENDENCIES HERE
ccordoba12 commented 1 week ago

Hey @luelagebre, thanks for reporting. You need to print something in your code to see a result in the console.

For instance, if you run this code

1+1

you will only see the runfile command. However, if you run

print(1+1)

then you'll see 2 in the console.

Let us know if that helps you to solve your problem.