ide

Select code and run IDE/code editor for Python

Select code and run IDE/code editor for Python Question: Is there an IDE/code editor for Python that allows a user to highlight and run a portion of syntax on the window like how SAS allows it in its UI? I’m aware of code blocks in Jupyter Notebook but I would like to know if there’s …

Total answers: 1

Make PyQt syntax highlighting work when loading from .ui file

Make PyQt syntax highlighting work when loading from .ui file Question: If elements of a PyQt/PySide GUI are defined programmatically, then any IDE can easily understand what they are, do syntax highlighting, show suggested methods etc. For instance, it may look like this in VS Code: However, if the GUI is not defined programmatically, but …

Total answers: 1

Spyder IDE with python 3.10 seems freezing when click run button, but it works fine if run a single line beforehand running the entire script

Spyder IDE with python 3.10 seems freezing when click run button, but it works fine if run a single line beforehand running the entire script Question: I have truble with last version of Spyder 5.4.0 with last version of Python 3.10.6. Spyder version: 5.4.0 (conda) Python version: 3.10.6 64-bit Qt version: 5.15.2 PyQt5 version: 5.15.7 …

Total answers: 1

Pycharm Code Completion does not work in methods or functions

Pycharm Code Completion does not work in methods or functions Question: This is so weird… Code completion only works outside a method… Anyone know how to fix this? Asked By: Kevin || Source Answers: This is the way it should work, and it has nothing to do with being inside or outside a method or …

Total answers: 1

Why do 'return bool' show different results in command prompt vs IDE

Why do 'return bool' show different results in command prompt vs IDE Question: If I try the below code in command prompt , I get correct results, however, the same code using IDE(Atom) do not produce any results. def search_for_vowels(word): """Display any vowels found in an asked for word""" vowels = set(‘aeiou’) found = vowels.intersection(set(word)) …

Total answers: 1

Spyder 5 (Standalone) – Does not Start

Spyder 5 (Standalone) – Does not Start Question: Pretty newbe in Python programming and completely with Spyder IDE, am I trying to install the software on windows 10 64 but I cannot start it. It crashes at launch when the splashscreen shows "Loading toolbars" I tried to start the software through the terminal using: python …

Total answers: 1

Execute Python code line by line, like VBA?

Execute Python code line by line, like VBA? Question: I’m new to python and I’m having fun. So far I’ve only been on the road in VBA and SQL, but one thing bothers me. Is there no feature that goes through the code line by line like in VBA? This has always helped me a …

Total answers: 3

How can I run selected lines in Spyder 4?

How can I run selected lines in Spyder 4? Question: In previous versions of Spyder, you can select lines in the editor, and only run those selected lines. In Spyder 4, when you select lines and press Ctrl+Enter it executes runcell(0, ‘/your/dir/file.py’) which runs the whole code. How can I run just the lines which …

Total answers: 4