Jump to content

Stuck in Python....HELP

Go to solution Solved by madknight3,

I'm using the GUI version of IDLE, this is really annoying because everytime I make a mistake I can't undo or delete and my code looks so messy, I'll check out pycharm some day, thanks!

 

I'm not sure you can take back lines you've already fully entered. You might find using the built in text editor to be more enjoyable to code multi-line programs in.

 

Go File -> New File (or Ctrl + N). Then you should get a new window where you can code in. You can save the program as a file and then run the code with Run -> Run Module (or F5).

Alright before I begin I just want to say I am a beginner with Python so I know some of you are probably shaking your heads at this question but here it is, I'm using Python IDLE 2.7.9 and I'm just wondering why I cant undo/delete any of my lines. I've tried everything but it doesn't seem to work (ctrl+z etc.) I've seen people do it in videos and somehow can't get it to work....any help would be appreciated.

Link to comment
https://linustechtips.com/topic/324558-stuck-in-pythonhelp/
Share on other sites

Link to post
Share on other sites

Are you using the command line or GUI version of IDLE? My GUI version has all the expected commands (undo, redo, cut, copy, paste, etc) with their usual configurations. Command line is a little different.

 

Also as a side note, I'd recommend switching to PyCharm for your Python coding needs.

Link to comment
https://linustechtips.com/topic/324558-stuck-in-pythonhelp/#findComment-4408910
Share on other sites

Link to post
Share on other sites

Are you using the command line or GUI version of IDLE? My GUI version has all the expected commands (undo, redo, cut, copy, paste, etc) with their usual configurations. Command line is a little different.

 

Also as a side note, I'd recommend switching to PyCharm for your Python coding needs.

I'm using the GUI version of IDLE, this is really annoying because everytime I make a mistake I can't undo or delete and my code looks so messy, I'll check out pycharm some day, thanks!

Link to comment
https://linustechtips.com/topic/324558-stuck-in-pythonhelp/#findComment-4408936
Share on other sites

Link to post
Share on other sites

I'm using the GUI version of IDLE, this is really annoying because everytime I make a mistake I can't undo or delete and my code looks so messy, I'll check out pycharm some day, thanks!

 

I'm not sure you can take back lines you've already fully entered. You might find using the built in text editor to be more enjoyable to code multi-line programs in.

 

Go File -> New File (or Ctrl + N). Then you should get a new window where you can code in. You can save the program as a file and then run the code with Run -> Run Module (or F5).

Link to comment
https://linustechtips.com/topic/324558-stuck-in-pythonhelp/#findComment-4409023
Share on other sites

Link to post
Share on other sites

I'm not sure you can take back lines you've already fully entered. You might find using the built in text editor to be more enjoyable to code multi-line programs in.

 

Go File -> New File (or Ctrl + N). Then you should get a new window where you can code in. You can save the program as a file and then run the code with Run -> Run Module (or F5).

Thanks a lot that helps!

Link to comment
https://linustechtips.com/topic/324558-stuck-in-pythonhelp/#findComment-4409090
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×