Python Forum
Notepad vs anaconda spyder or python shell
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Notepad vs anaconda spyder or python shell
#1
I am running on windows 10, and i noticed when i save python script in spyder or a python IDE as .py and click on it it doesnt really run but when i save it in notepad .py it runs how it should. Anyone have any idea why or how i can resolve this issue? Id like to code, and test it in spyder or another python ide but not have to copy paste in notepad.
Reply
#2
And what happens if you press F5 in Spyder ?
Reply
#3
(Jun-22-2019, 04:43 PM)ShadowAlpha Wrote: i save python script /../ as .py and click on it it doesnt really run

Isin't it easier to run from terminal instead of clicking? You can invoke interactivity by using -i flag:

python -i some_script.py
I'm not 'in'-sane. Indeed, I am so far 'out' of sane that you appear a tiny blip on the distant coast of sanity. Bucky Katt, Get Fuzzy

Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Problems and doubts with Anaconda and Spyder newbieAuggie2019 9 4,795 Feb-07-2023, 12:56 PM
Last Post: snippsat
  Update Anaconda and Spyder?? Tuxedo 6 6,969 Feb-14-2021, 06:02 PM
Last Post: Tuxedo
  Python Shell As Preferred Mode For Integrated Terminal In Visual Studio Code adt 4 4,036 Sep-07-2019, 06:00 PM
Last Post: adt
  high light change made in notepad nadavrock 0 1,608 Jul-05-2019, 07:25 PM
Last Post: nadavrock
  Notepad++ with Python interpreter Truman 14 11,137 Feb-27-2019, 11:54 PM
Last Post: Truman
  clearing an interactive python interpreter/shell rootVIII 4 3,689 Jan-28-2019, 05:14 PM
Last Post: rootVIII
  Python / Spyder portable for Windows codekodo 0 7,290 Oct-24-2018, 03:04 AM
Last Post: codekodo
  embedding Python script in shell scripts Skaperen 5 8,264 Mar-23-2018, 01:07 AM
Last Post: Skaperen

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020