autocomplete

How to accept only the next word in PyCharm GitHub copilot suggestion

How to accept only the next word in PyCharm GitHub copilot suggestion Question: I would like to be able to accept only the next word of a github Copilot suggestion instead of the full suggestion. This is possible with VS Code as documented here. Is there a way to do this in PyCharm too? Asked …

Total answers: 1

Python code boilerplate generation/editing like in Sublime for VS Code

Python code boilerplate generation/editing like in Sublime for VS Code Question: In a Sublime .py file when you type the letter c you get a suggestion for a new class. Press Tab and you get with the multicursor adequately set. How do you do this in VS Code? The py plugin with IntelliSense only fills …

Total answers: 1

How to click 'View' button using Selenium on Wunderground Historical Weather page

How to click 'View' button using Selenium on Wunderground Historical Weather page Question: I’m trying to access the "View" button on the "https://www.wunderground.com/history" website using Selenium in Python but I’m unable to do so. I’ve tried multiple methods including: ActionChains("actions.move_to_element(button_view).click().perform()") browser.find_element(By.ID, ‘dateSubmit’).click() wait.until(EC.element_to_be_clickable((By.ID, ‘dateSubmit’))) actions.move_to_element(button_view).double_click(button_view) but none of them seems to work. Interestingly, when I …

Total answers: 1

Python IDE autocomplete missing some methods from AppDaemon plugin class

Python IDE autocomplete missing some methods from AppDaemon plugin class Question: I’m trying to use autocomplete for the Hass class from the Python AppDaemon package. Autocomplete is showing some of the inherited methods from the superclass such as get_state(), but some methods are missing, such as log() and get_entity(). This behavior is the same in …

Total answers: 2

Tkinter Text Autofill

Tkinter Text Autofill Question: I am trying to make a simple and personal IDE for python using tkinter. I have seen it done before and have everything form syntax highlighting to a built in terminal but have the problem of no autofill. I know that you can have autofill in entry’s with many methods out …

Total answers: 2

Vscode keras intellisense(suggestion) not working properly

Vscode keras intellisense(suggestion) not working properly Question: Intellisense works fine on importing phrase But when it comes with chaining method, it shows different suggestions Python & Pylance extensions are installed. Asked By: user8659363 || Source Answers: did you try clearing the cache on your system? Answered By: ALEX1A From this issue on github try adding …

Total answers: 6

How to implement Autocomplete functionality in tkinter?

How to implement Autocomplete functionality in tkinter? Question: I am trying to make a autocomplete functionality for selecting fonts where the rest of the text must be selected apart from the text inserted by the user. How to implement Autocomplete functionality in tkinter ? Asked By: Ghanteyyy || Source Answers: Imports import string from tkinter …

Total answers: 1

How to autocomplete my python functions in bash?

How to autocomplete my python functions in bash? Question: I am working on a HPC-Linux-cluster and need to conduct a lot of Post Processing of data with python functions and scripts. My current workflow looks like the following: cd to folder where my data is. The intended python function/script is also saved in this folder …

Total answers: 2

Get pytest autocompletion in zshell

Get pytest autocompletion in zshell Question: This question may be better suited for superuser — if that’s the case let me know and I’ll shift it. I use zsh and frequently run pytest from the command line. A very common situation is that I need to run a specific test (or a subtest of a …

Total answers: 2

Why isn't PyCharm's autocomplete working for libraries I install?

Why isn't PyCharm's autocomplete working for libraries I install? Question: PyCharm’s autocomplete isn’t working for installed libraries. I have the following code: from boto.emr.connection import EmrConnection conn = EmrConnection(aws_keys.access_key_id, aws_keys.secret_key) I want the editor to tell me what methods I have available to me when I press Ctrl+Space. The boto library is installed in my …

Total answers: 2