save - Saving Python code in Anaconda -
i having problems saving python code in anaconda. write code, go file save file saved when open empty, no code. read idle not save code, erases when close anaconda.
i have searched in books, youtube tutorials , nothing. not find topic. can find advanced topics, 1 no.
thank help!
best,
tiberiu
this depends on os on. can speak experience. highly recommend using pycharm ide.
but more fundamentally that, lets talk saving files. on mac os x or ubuntu 14.04 (or like), lets want create python file. 1 way following in terminal:
nano hello.py
this opens text editor instructions use on bottom of screen. on windows do:
notepad hello.py
in both cases write code. lets content was:
#content of hello.py print "hello world!"
then need save file , execute python. brings python issue.
once have installed anaconda, , assuming there no other python installations on computer. anaconda python should active python on system.
suffice there other ways of saving files rather using idle. have found pycharm better ide writing python code.
to address idle issue more directly once type in terminal/command prompt idle
launch idle session, idle shell open up. perhaps trying save this, in case save shell session.
so go file - new - save. should work without problem (it on system). luck! hope helps.
Comments
Post a Comment