Jump to content

GUI for Python interpreter

Go to solution Solved by Snowmirage,

Pycharm is fantastic and has a community edition

Also the Atom editor is great, you can get a lot of the functionality with the 1000's of plugins available for it

Hello everyone,


I currently use Microsoft VSCode as a python editor alongside Python IDLE for windows for smaller codes.

Now, recently I've found that writing a code in the interpreter is much faster for me as it's runtime becomes similar to my write time.
But the options that I know for python interpreter are Command prompt/Powershell or the Python IDLE (which I prefer). But I still miss the autocompletes of my VSCODE editor. Although the python IDLE interpreter provides with some basic descriptions of lists and functions, I'm looking for a better option.
Can any of you suggest a good app for it?
I know jupyter notebook is a good option but I don't like it very much because I don't know how to customise it.

Thanks.

Link to comment
https://linustechtips.com/topic/1213601-gui-for-python-interpreter/
Share on other sites

Link to post
Share on other sites

Recently came across this: https://codewith.mu/

 

Got highlighting, autocomplete, run, interactive mode and debug in a really simple basic interface...

F@H
Desktop: i9-13900K, ASUS Z790-E, 64GB DDR5-6000 CL36, RTX3080, 2TB MP600 Pro XT, 2TB SX8200Pro, 2x16TB Ironwolf RAID0, Corsair HX1200, Antec Vortex 360 AIO, Thermaltake Versa H25 TG, Samsung 4K curved 49" TV, 23" secondary, Mountain Everest Max

Mobile SFF rig: i9-9900K, Noctua NH-L9i, Asrock Z390 Phantom ITX-AC, 32GB, GTX1070, 2x1TB SX8200Pro RAID0, 2x5TB 2.5" HDD RAID0, Athena 500W Flex (Noctua fan), Custom 4.7l 3D printed case

 

Asus Zenbook UM325UA, Ryzen 7 5700u, 16GB, 1TB, OLED

 

GPD Win 2

Link to post
Share on other sites

6 hours ago, Kilrah said:

Recently came across this: https://codewith.mu/

 

Got highlighting, autocomplete, run, interactive mode and debug in a really simple basic interface...

How is this any different from VSCode?
I mean opening the link you gave I can only see an Editor. Whereas what I want is an interpreter (intereactive/shell mode) which has those functionalities.

Link to post
Share on other sites

Try it maybe?

When you click Run you get your program's output at the bottom and an interactive shell, when you click REPL you get the jupyter notebook style interface.

F@H
Desktop: i9-13900K, ASUS Z790-E, 64GB DDR5-6000 CL36, RTX3080, 2TB MP600 Pro XT, 2TB SX8200Pro, 2x16TB Ironwolf RAID0, Corsair HX1200, Antec Vortex 360 AIO, Thermaltake Versa H25 TG, Samsung 4K curved 49" TV, 23" secondary, Mountain Everest Max

Mobile SFF rig: i9-9900K, Noctua NH-L9i, Asrock Z390 Phantom ITX-AC, 32GB, GTX1070, 2x1TB SX8200Pro RAID0, 2x5TB 2.5" HDD RAID0, Athena 500W Flex (Noctua fan), Custom 4.7l 3D printed case

 

Asus Zenbook UM325UA, Ryzen 7 5700u, 16GB, 1TB, OLED

 

GPD Win 2

Link to post
Share on other sites

8 hours ago, Dujith said:

All that is said in this article is to install an interpreter to the VS Code.
It is already done in mine. And I have to use editor to get those autocomplete and other functionalities.
If I want to use the shell mode, I have to type python in the terminal which will open python in standard powershell.

Link to post
Share on other sites

2 minutes ago, Kilrah said:

Try it maybe?

When you click Run you get your program's output at the bottom and an interactive shell, when you click REPL you get the jupyter notebook style interface.

I mean my VSCode currently does exactly that. The reason I want to switch to the shell mode is that it is interpreting every line as I type which lessens the output time in the first run. Since python can be really sluggish sometimes ,currently I have to use libraries like numba to speed it up.  I would still have to use them even if I switch to the interactive/shell mode but not the first time.

Link to post
Share on other sites

It's called a repl.

 

Quick Google netted this https://github.com/prompt-toolkit/ptpython

 

                     ¸„»°'´¸„»°'´ Vorticalbox `'°«„¸`'°«„¸
`'°«„¸¸„»°'´¸„»°'´`'°«„¸Scientia Potentia est  ¸„»°'´`'°«„¸`'°«„¸¸„»°'´

Link to post
Share on other sites

3 hours ago, Snowmirage said:

Pycharm is fantastic and has a community edition

Also the Atom editor is great, you can get a lot of the functionality with the 1000's of plugins available for it

Don't know if PyCharm support such advanced interactive/shell mode with autocompletion. 

And I'm not looking for an editor. I'm quite happy with vscode. 

Link to post
Share on other sites

22 hours ago, tobeornottobealttfan said:

I know jupyter notebook is a good option but I don't like it very much because I don't know how to customise it.

You can open jupyter notebooks in vscode. It'll look like so:

image.thumb.png.f37ff66c64e05d5ef2c12d8fe71286e1.png

FX6300 @ 4.2GHz | Gigabyte GA-78LMT-USB3 R2 | Hyper 212x | 3x 8GB + 1x 4GB @ 1600MHz | Gigabyte 2060 Super | Corsair CX650M | LG 43UK6520PSA
ASUS X550LN | i5 4210u | 12GB
Lenovo N23 Yoga

Link to post
Share on other sites

2 hours ago, tobeornottobealttfan said:

That is cool.
Care me to guide to an article on how to do it?
Thanks.

There's not really much to it, just create a .ipynb file and open it with vscode.

FX6300 @ 4.2GHz | Gigabyte GA-78LMT-USB3 R2 | Hyper 212x | 3x 8GB + 1x 4GB @ 1600MHz | Gigabyte 2060 Super | Corsair CX650M | LG 43UK6520PSA
ASUS X550LN | i5 4210u | 12GB
Lenovo N23 Yoga

Link to post
Share on other sites

  • 2 months later...

My personal favourite is Spyder. It's the same interactive interpreter as Jupyter underneath, but there is a very convenient variable explorer (especially valuable for looking through Pandas dataframes). The interface and the general idea was mostly copied from RStudio, if you happened to use it, then you'll feel like home. Also, doesn't have all the weird complications like Pycharm.

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

×