About 2,540,000 results
Open links in new tab
  1. How to run a python script from IDLE interactive shell?

    Feb 16, 2014 · 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.

  2. How do I open Python IDLE (Shell WIndow) in WIndows 10?

    I am just starting to learn Python and I am using Windows 10. I downloaded and installed Python 3.4.3. But everytime I open Python from my Desktop or from C:\\Python\\python.exe it just opens a black

  3. How do you add breakpoints to a Python program in IDLE?

    Jun 6, 2011 · Completing the answer supplied by the OP: after setting the breakpoint - you must turn on IDLE Shell's debug mode (using debug --> debugger). When you run the program, press "Go" in the debug window that opens up and IDLE will stop at the breakpoint. IDLE Shell is the window that appears when you hit F5 to run your Python script.

  4. Install python modules/package using IDLE on Windows

    I've downloaded & installed 3 versions of Python from python.org, but still it seems that the packages are not installed. Can anyone tell me how to install modules using IDLE on Windows 7. Versions I have - 2.7.8, 3.3.5, 3.4.2.

  5. Difference Between Python's IDLE and its command line

    Apr 17, 2021 · In the start menu, you can instead select 'Idle ...'. Unless you have previously selected a different startup option, python run Idle code which uses the tkinter module which used tcl/tk to run a graphical user interface that somewhat imitates the console. The tkinter/tk gui handles key and mouse input and displays output.

  6. starting Python IDLE from command line to edit scripts

    Jun 9, 2017 · IDLE main entry point Run IDLE as python -m idlelib So with python -m idlelib <script_to_edit> you will be able to open and edit the script with idle. I haven't checked with previous versions but it could be the same comand

  7. python - How to make IDLE window more readable? Font too …

    Apr 14, 2016 · Your 'window' tag isn't specific enough to know what you're asking about. If you mean the python IDE, please use the python-idle tag. Otherwise use a tag telling us which tool/platform/whatever your question is about. –

  8. How can I run IDLE for Python 3 in a Conda environment?

    Dec 4, 2024 · To install another version of Python (e.g., Python 3.5.2), when using Anaconda for one version of Python (e.g., Python 2.7), you can do the following on the Anaconda prompt: First, create a new Conda environment and install Python 3.5.2 with anaconda: conda create -n py352 python=3.5.2 anaconda

  9. IDLE background color in python - Stack Overflow

    Oct 11, 2015 · Open IDLE ; Go to "OPTIONS" in the top tab ; Select "Configure IDLE" Select "Highlights" from top horizontal tab ; Select "Background" radio button just above the image of IDLE on the left hand side ; On the right hand side under "Highlight Theme" click on "IDLE Classic/IDLE Dark/IDLE New" as per your preference ; Click Apply and Then Click OK ...

  10. Python IDLE won't start - Stack Overflow

    Jan 6, 2019 · So I found idle at C:\Users\jlamm\AppData\Local\Programs\Python\Python310\Lib\idlelib\idle.pyw and typed that (using the full path in my command) in to the command prompt. It worked and provided an icon I could pin to the taskbar. I also noticed that (C:\Users\jlamm.idlerc) is a Python folder that does …