question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

runfile('C:/Users/pavan kalyan/Desktop/untitled0.py', wdir='C:/Users/pavan kalyan/Desktop') i am not getting any output after this

See original GitHub issue

Issue Report Checklist

  • Searched the issues page for similar reports
  • Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
  • Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
  • Could not reproduce inside jupyter qtconsole (if console-related)
  • Tried basic troubleshooting (if a bug/error)
    • Restarted Spyder
    • Reset preferences with spyder --reset
    • Reinstalled the latest version of Anaconda
    • Tried the other applicable steps from the Troubleshooting Guide
  • Completed the Problem Description, Steps to Reproduce and Version sections below

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

  • Spyder version:
  • Python version:
  • Qt version:
  • PyQt version:
  • Operating System name/version:

Dependencies

PASTE DEPENDENCIES HERE

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
SofieLuffecommented, Jun 28, 2021

Thank u dalthviz! that was a great help

0reactions
dalthvizcommented, Jun 28, 2021

Hi @SofieLuffe in your case the thing is that you are defining a function so unless you call it you will not see any output (even if you run it as a code cell). To call it you run hello() in this case. Maybe what you want is to run the cell and see in the console the code that was run? If that’s the case you can check in preferences (Tools > Preferences or the 🔧 wrench button):

image

Hope the info above helps 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

there are no output after running this file. runfile('C:/Users ...
there are no output after running this file. runfile('C:/Users/lenovo/Desktop/ML/Part 2 Pre-Processing/Section 2. Part 1/temp.py', wdir='C:/Users/lenovo/Desktop ...
Read more >
I am having issues with getting the desired output on Spyder
(Spyder maintainer here) runfile is the command used by Spyder to run a file in the console. So every time you run files...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found