These are chat archives for spyder-ide/public
python your_script_name.py
unable to do that here
Why not? Simply copy and pasting the image didn't work?
Ctrl-Vin the Gitter textbox? I've done it on lots of other websites too with no problem. What OS are you running?
baseor a custom one).
its not running at all
You mean when run with
python in the same Anaconda environment as Spyder?
even the scripts which work fine
aren't running
Scripts which work fine where aren't running where? Please be specific and explicit if you want to get accurate help.
okay. i have upgraded spyder and anaconda too. but its just weird that program is exiting without any error
Its still not clear what this actually entails—how do you mean, "exiting"? What specific behavior is this? Do any variables appear in the Variable Explorer (after disabling the "hide unsupported types" from the gear menu)? Are you able to interact with them in the Console? What do you expect your program to do that it isn't? How, specifically, does your program behave differently in Spyder vs. another interpreter in the same Python/Anaconda environment? Does the program involve anything GUI-based (that's the main scenario where you're likely to see any difference with Spyder)? These are all questions for you to ask yourself and work through on your own in debugging your code and understanding how your expectations line up with what's actually happening, rather than anything to actually answer directly to me (since again, it appears this problem really doesn't have much to do with Spyder).
import this), particularly the mantra "Explicit is better than implicit`` which is particularly important when asking for help.
Source Fix indentions
This is very misleadingly named (I actually opened the original issue about it, and others have brought it up since). All that does is convert mixed tabs and spaces to all spaces.
5 spaceswhich explains your original problem. However, if you are sure you've set it to 4 spaces but yet pressing
Tabfrom the left margin gives you three spaces, then that's a bug and should presumably be reported.