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 issueIssue 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
(orpip
, 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:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank u dalthviz! that was a great help
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):Hope the info above helps 😃