Advertisement
python_notes

Install IDLE for Python 2 & 3

Aug 11th, 2014
467
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.51 KB | None | 0 0
  1. # Install IDLE for Python 2 & 3
  2.  
  3.  
  4. Python 2 IDLE
  5.  
  6. sudo apt-get install idle  
  7.  
  8.  
  9. Now to run Idle type in terminal
  10.  
  11. idle  name_of_script.py
  12.  
  13. or to start a blank shell type in
  14.  
  15. idle
  16.  
  17.  
  18.  
  19. ----> The above will install IDLE for python2 only so for Python3 type the instructions accordingly below.
  20.  
  21.  
  22.  
  23. Python 3 IDLE install instructions
  24.  
  25.  
  26. sudo apt-get install idle3
  27.  
  28.  
  29. Now to run Idle using python3 environment type in terminal
  30.  
  31. idle3  name_of_script.py
  32.  
  33. or to start a blank shell type in
  34.  
  35. idle3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement