copy-paste

why can i not use ctrl + v with a virtual event tkinter text widget python

why can i not use ctrl + v with a virtual event tkinter text widget python Question: i use a tkinter text widget and i have copied the script in this answer to bind a event for every change the text widget. the code for the text widget: """I found this script here: https://stackoverflow.com/questions/40617515/python-tkinter-text-modified-callback""" import …

Total answers: 1

Copy text in python and paste by Ctrl + V in webdriver

Copy text in python and paste by Ctrl + V in webdriver Question: I have one site where I can’t enter a password using send_keys , I have to use Ctrl+V there. But I don’t know how this can be done, because I have Passwords, where all passwords are stored and I need to take …

Total answers: 3

How to copy a folder into an existing folder using python

How to copy a folder into an existing folder using python Question: I am new to python, and am currently trying to copy a folder ‘foo’ (potentially with some files/folders inside) into another existing folder ‘bar’. After this, there should be a new path created that should look something like this "…bar/foo/*". By copying ‘foo’ …

Total answers: 2

t for excel pasting into new cells

t for excel pasting into new cells Question: Basic question I want to paste large lists into excel however they all paste into the same cell how can I get them to paste into different cells. As an example the website https://www.doogal.co.uk/BatchGeocoding.php with the settings: Tabs(for direct pasting into Excel) on input addresses off UK …

Total answers: 1

Python tkinter (copy/paste not working with other languages)

Python tkinter (copy/paste not working with other languages) Question: I found out that whenever i switch the language from english to russian tkinter stops reacting to Ctrl+C, Ctrl+V or Ctrl+X. It still works when i switch back to english, even if the text is in russian. I tried all code snippets i could find on …

Total answers: 3

Copy/Paste multiple items from QTableView in pyqt4?

Copy/Paste multiple items from QTableView in pyqt4? Question: We can select multiple items(partial rows and partial columns) from QTableView using self.tableView.setSelectionMode(QAbstractItemView.ExtendedSelection), but after selecting some rows and columns(partial and partial) if I do CTRL+C and paste it in notepad it only pastes one item(one value from the tableView)? My Code: tab_table_view = QtGui.QWidget() self.Tab.insertTab(0, tab_table_view, …

Total answers: 5

Copying and merging directories excluding certain extensions

Copying and merging directories excluding certain extensions Question: I want to copy multiple directories with identical structure (subdirectories have the same names) but different contents into a third location and merge them. At the same time, i want to ignore certain file extensions and not copy them. I found that the first task alone can …

Total answers: 3

Making a collage in PIL

Making a collage in PIL Question: I. Am. Stuck. I have been working on this for over a week now, and I cannot seem to get my code to run correctly. I am fairly new to PIL and Python as a whole. I am trying to make a 2×3 collage of some pictures. I have …

Total answers: 2

Python command line: ignore indentation

Python command line: ignore indentation Question: I am new to Python. In short: During scripting I continuously want to test small bits and pieces of my programs by copying/pasting some line(s) of code from my text editor to the command line Python interpreter. When these lines are indented (for example because they are part of …

Total answers: 4