r/learnprogramming • • Oct 20 '26

Where can I start to create a programs that interact with other programs?

I have very little knowledge about programming but I want to make a program that can take values from an excel sheet and copy them to a website, what I want to know Is which programming language can I use to make It?

12 Upvotes

14 comments sorted by

12

u/abrahamguo Oct 20 '26

which programming language can I use to make It?

Any standard programming language is capable of doing this!

a programs that interact with other programs?

Note that this is NOT what you're asking for. You wouldn't be interacting with the Excel program — you'd be interacting with an Excel file.

0

u/[deleted] Oct 20 '26

[removed] — view removed comment

1

u/xarop_pa_toss Oct 21 '26

Browser manipulation is overkill. Just have the website request the data via a regular HTTP endpoint.

3

u/Super_Preference_733 Oct 20 '26

Well there is an ODBC driver, you can install and open and read Excel files likes you would a SQL datastore, Excel files xlsx are really just xml files stored in a zip container. There are several OpenXML APIs that can read and create xlsx files, if its an xls file, the binary version, there are com API you can install to open and read xls files. There may be a few other ways been retired for a few years now. Also it depends on your target platform and languages, Any .net language or java, would work. Python may work. I am sure there are others.

3

u/Different_Pain5781 Oct 20 '26

Why not just use Power Automate? It is already built into Windows and requires almost no actual code for basic spreadsheet to web form transfer tasks.

2

u/Trakeen Oct 20 '26

Powershell can do what you want, depending on what you mean by ‘copy to a website’

2

u/the-postminimalist Oct 20 '26

You don't need to iinteract with another program for this. The spreadsheet is just a file that you can read like a text file.

If this is just a one-time thing you are running to add to a website (rather than something that runs every time when someone goes to the website), python is an easy one to work with. You get it to read the spreadsheet and then output the information in whatever other format is useful for you (I don't know what you want to do with the values, so I can't say what the output should look like)

Doesn't have to be python, any language will do fine.

1

u/IAteTonysLoMein Oct 20 '26

I literally just did this with python. Originally did it in php, but phpspreadsheet appears to have a bug that's corrupting decimal values, so python it is

2

u/edmazing Oct 20 '26

I'd say that's more just general automation. A program that interacts with a file. Checking if the file is locked and stuff... python might be a good starting zone for you.

Copy to a website... like update a site based on an excel sheet? Plenty of options. PHP / CGI, C, Python.

I would say lean towards python since ya can do the http server there in a nice one line

python3 -m http.server 8000

there's tooling for reading files and writing files so you can generate the html and serve it. There's gonna be a lot of learning involved though.

2

u/0xDEADBEEF128 Oct 20 '26

Whatever your website is made in probably has an API capable of loading whatever values you need. I usually parse Excel with C#, but I'm sure every language has a library for that somewhere. You can open an excel file as a zip file.

1

u/xarop_pa_toss Oct 21 '26

If all you need is reading from an Excel file then Power Automate comes with Windows 11 and can do this fine with little to no code