Python Forum
"Switch-to-spreadsheet" entry. Feasible in Python?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
"Switch-to-spreadsheet" entry. Feasible in Python?
#1
My situation:

Know almost nothing about coding, and I need to do this...

Hit a switch or button (in this case a switch) outside of the keyboard, and make this input go into the computer, through a piece of (hopefully uncomplicated) software and end up making an entry into a spreadsheet.

For example:

Hit a switch. It types "a" into a cell on a spreadsheet. Hit another switch. It types "b" into another cell. And so on. Just like a key on a keyboard, except its a switch not on the keyboard, and it bypasses the keyboard and goes straight into the computer. But where? As far as I can see, onto the software that has to be built, which would then transfer it to the spreadsheet.

I've tried using the JoyToKey program but I've found it has some pretty severe problems at least in my case, so I'm thinking I may one day have to somehow develop something on my own.

My question:

Would Python be a good option to try to develop this in? I've read its one of the easier programming things to learn, which really catches the attention of someone like me who basically knows nothing. If you think Python is NOT the thing to use, can you recommend a better possibility for me?

Thanks!
Reply
#2
You can create a program with that functionality simply with assembly language. It would help you create a keyboard on a your actual keyboard. Actually, I am suggesting assembly language because we have learned this technique in that language during my curriculum. I am not aware of any method that can help you do it with python.
Reply
#3
Your question is very vague and general, but it should be possible to take input from game controler and process it as per your needs.
https://www.google.com/search?q=game+controller+python

I refer to game controller, because you mention JoyToKey, answer will depend on actual switch hardware you use.
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Returning Column and Row Data From Spreadsheet knight2000 0 413 Oct-22-2023, 07:07 AM
Last Post: knight2000
  Editing spreadsheet/csv BSDevo 6 973 Sep-01-2023, 05:47 PM
Last Post: BSDevo
  Looking to automate updating a spreadsheet with image from email cubangt 2 944 Feb-14-2023, 03:43 PM
Last Post: cubangt
  Import XML file directly into Excel spreadsheet demdej 0 803 Jan-24-2023, 02:48 PM
Last Post: demdej
  updating Google spreadsheet with gspread mgallotti 0 1,049 Sep-30-2022, 11:26 PM
Last Post: mgallotti
  Modify LibreOffice's ods spreadsheet Pavel_47 0 1,146 Jul-13-2022, 11:28 AM
Last Post: Pavel_47
  Python create a spreadsheet with column and row header ouruslife 4 1,552 Jul-09-2022, 11:01 AM
Last Post: Pedroski55
  Searching for URLs and printing the corresponding row from an Excel spreadsheet johnbernard 0 1,263 Aug-20-2021, 06:43 PM
Last Post: johnbernard
  best way to use switch case? korenron 8 2,934 Aug-18-2021, 03:16 PM
Last Post: naughtyCat
  How do I do this? Switch Case? mstichler 4 2,502 Jun-05-2020, 10:27 AM
Last Post: snippsat

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020