I am in the process of rediscovering python after a dire cardiac episode.
Used to be very active under my favored nickname vegaseat, not 'seat' but 'eat'!
Got tired of the arbitrary jolts from MS and Windows 11 and switched totally to
LinuxMint. Actually, my commercial grade 'HP 17 laptop' came with it installed

So here I am using python again! Installation of python3 and all its modules via
the Linux 'Software Manager' has been super easy. My problem right now is finding
the best IDE. I am using 'IDLE' of course, but am smitten with 'SublimeText' and
above all the 'Spyder' IDE. IDLE works reliably, but sophisticated SPYDER hangs up
on simple things like backslashes. SublimeText does not like the backslash character
and does not handle the python user input statement at all.

Has any Dani-Web member discovered how to solve these kind of headaches?

Recommended Answers

All 10 Replies

I use vscode on Windows and there is an official port to linux as well. You can download it here.

The LinuxMint 'Software Manager' offers VSCodium install via Flatpak (Flathub)
Shows up under Programming
I like the looks and feel, nice and reliable so far
However:
Cannot find already installed modules like PIL, tkinter?

I'm pretty sure you can get those through vscode and it has integrated terminal that allows you to run pip in the same environment to get anything else. This has been well trusted in many enterprise environments and integrates well with cloud and GitHub

commented: Long time, no see. Welcome back. +16

Likely glitches are caused by Sublime Text. Whereas Python is its default. It basically builds and runs the code inside an unbuffered panel for output and it doesn't have an interactive stdin input(). Generally, the app will fail completely vs a hang. If you use Backslashes in string literals...these are also parsed (namely an escape sequence) within the output panel. Onto Spyder's Ipython: This reies on Qt-GUI bindings. Hangs tend to occur when a backslash from Qt keyboard event mapping, this will conflict with Mint desktop manager (window). The console view, generally its a string escape bug/bugs in view. Personally, I'd go with VSCodium:Lightweight, Telemetry free. This has a full integrated linux terminal which makes it awesome. Use software manager to install in Mint. PyCharm...hands down awesome too, its a dedicated IDE.

Thanks for the many helpful answers!
python -m pip install 'needed-package'
worked well (except with tkinter) in the VSCodium terminal!
for some odd reason the normal Python distribution is stripped of 'tkinter' when using Linux. So I will start using pyqt6 as my main GUI. I am very familiar with earlier versions of Qt. Version 6 has seen major improvements, will be fun to explore all of it!

Thanks again DanWeb members, you are a nice family...VegasEat

Consider the question solved!

If you are interested I've been using wxPython for my GUI apps. wxPython is the Python interface for wxwidgets which is cross platform. Any app built using wxPython renders controls using the host OS so apps will always look like they are built on the platform hosting them.

commented: Still thought BeOS was a contender, that and OS/2. +16

Use Visual Studio Code. It works fine in all Linux distributions and has excellent Python extension. Read article 'Python in Visual Studio Code'.

commented: Look up to see what is VSCodium . +16

I dusted off my old Windows11 PC and used it for a while to chase the spiders out of it. Slow is the word! It is haunted by a pop-up software that ironically was to prevent pop-up ads. In the process I found out that the IDLE IDE has a nice dark mode, very soothing to my eyes!

I'm a Java/Kotlin/JVM guy so have been a long time user of the JetBrains suite of IDE tools. When I do have to do some Python then I find PyCharm to be very agreeable.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.