Pasting numbers into python so that they may be used as an array
If I’m reading what you are trying to do correctly, in VS Code, you can do essentially what @sundance suggested by holding Alt and dragging your cursor down the different lines to get a multiline cursor.
Currently I have a large amount of numbers that I am copy and pasting from excel from a column into python and they paste as such:
12
13
14
15
16
...
Each number is on a seperate line.
Currently I am having to backspace in front of a number so that it jumps to the previous line then I insert commas between each number so that I can use this array in my code. These numbers come in quantities of hundreds and it is easier currently to copy and paste into excel and then into python versus saving an excel file with these numbers and referencing the excel file in my script. I am using visual studio code for my editor and I tried alt+v and that didnt work(read that as a shot). Let me know if there is an easy way to get my copy and pasted column into a useable array. Thanks