enow.com Web Search

Search results

  1. Results from the WOW.Com Content Network
  2. How do I open Python IDLE (Shell WIndow) in WIndows 10?

    stackoverflow.com/questions/43159488

    17. In Windows you will need to right click a .py, and press Edit to edit the file using IDLE. Since the default action of double clicking a .py is executing the file with python on a shell prompt. To open just IDLE: Click on that. C:\Python36\Lib\idlelib\idle.bat. edited Apr 1, 2017 at 17:01. answered Apr 1, 2017 at 16:49.

  3. starting Python IDLE from command line to edit scripts

    stackoverflow.com/questions/2345607

    2. first make sure you have location of idle in path. I am using "python3.5".So mine looks like this: C:\Program Files\Python35\Lib\idlelib.Yours may differ. use this following command: idle -r file_name.py to run the file or just idle file_name.py to edit. or start idle -r file_name.py ^&exit.

  4. Install python modules/package using IDLE on Windows

    stackoverflow.com/questions/27409192

    Click “Advanced system settings”. Go to the “Advanced” tab. Click “Environment Variables…”. Click variable called “Path” and click “Edit…”. Click “New”. Enter the path to the folder containing the executable you want on your PATH. For example, to add python33.exe, add: "C:\Python33\" or what your path to python33.exe is.

  5. Python IDLE won't start - Stack Overflow

    stackoverflow.com/questions/54059162

    If you did not already, try starting idle from a command prompt with python -i -m idlelib. If nothing happens before you see a prompt, try >>> dir() to see if anything was silently imported. If python itself will not run correctly, that would be your answer. You might also try running chkdsk (check disk), which you have to do as admin.

  6. How to run a python script from IDLE interactive shell?

    stackoverflow.com/questions/17247471

    1. To run a python script in a python shell such as Idle or in a Django shell you can do the following using the exec () function. Exec () executes a code object argument. A code object in Python is simply compiled Python code. So you must first compile your script file and then execute it using exec ().

  7. To set Ctrl + R to a hotkey to clear the shell: Just install AutoHotkey, put the above in a file called idle_clear.ahk, run the file, and your hotkey is active. I would recommend you to use Thonny IDE for Python. It's shell has "Clear Shell" option and you can also track variables created in a separate list.

  8. How to install NumPy using official python IDLE?

    stackoverflow.com/questions/67563547

    Press the Windows key on your keyboard. Type CMD and open Command Prompt. A black terminal should open up. Type 'pip install numpy' and hit enter. It should start the installation. After you see the "Successfully Installed" message, go back to your IDLE and try importing numpy, it should work. NOTE: In case you get a message saying "pip" is not ...

  9. Open the IDLE.app bundle: in the Python 3.11 folder in Applications, open the IDLE.app application bundle by right clicking it and selecting Show Package Contents. In Contents>Resources you will find idlemain.py. This is the "Bootstrap script for IDLE as an application bundle." You will need sudo to edit this file.

  10. Also, like others noted idle needs both tcl and tk folders to work. The simplest solution is to create symbolic links from virtualenv to the base Python installation like this. (2.7) c:\python\virtualenv\2.7\Lib>mklink /d tcl8.5 "c:\Program Files\Python\2.7\tcl\tcl8.5".

  11. Line numbers were added to the IDLE editor two days ago and will appear in the upcoming 3.8.0a3 and later 3.7.5. For new windows, they are off by default, but this can be reversed on the Setting dialog, General tab, Editor section. For existing windows, there is a new Show (Hide) Line Numbers entry on the Options menu. There is currently no hotkey.