#Hello i need help about my python code

7 messages · Page 1 of 1 (latest)

tiny cliff
#

what have you tried?

#

also could you use code blocks? 🙂

stoic violet
#

I tried a few codes but they didn't work, I don't have that codes

tiny cliff
#

it's also not entirely clear what your program does, but it looks like when you hit control+c it opens an excel book, iterates over the excel document(until it runs out of stuff to paste over?) and pastes data from the text variable from your clipboard.

#

you'll probably need to define some global or at least shared state between the handler show_clipboard and the handler for f2

stoic violet
#

when I press ctrl c, the program pastes the text I copied into excel, after paste 3 times on the same row, it goes to the bottom row , I want it to go down 2 row when I press f2

tiny cliff
#

ok yeah so you'll need to have some kind of shared state, a global variable or something