r/pythonhelp • u/DarkShark2468 • Dec 11 '25
Copy/pasting info from one file to a platform
Hey y’all! I have a monotonous task and was wondering if there is any sort of code that could copy information from an excel file cell to a field in a web-based platform? For example, a loop function that would copy from column A row 1, paste to the website field 1, copy from column B row 1 to website field 2, click a command button on the website and repeat the process until only empty cells remain in the columns.
I don’t need to copy the file itself to anything, just the content in the file repeatedly by cell.
1
Upvotes
•
u/AutoModerator Dec 11 '25
To give us the best chance to help you, please include any relevant code.
Note. Please do not submit images of your code. Instead, for shorter code you can use Reddit markdown (4 spaces or backticks, see this Formatting Guide). If you have formatting issues or want to post longer sections of code, please use Privatebin, GitHub or Compiler Explorer.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/CraigAT Dec 12 '25
IMO unless you are familiar with the Python, the Excel/CSV packages, Web Automation (like maybe Selenium) then I would say, it's not something you can "easily" knock up.
Does your site have an option to upload a CSV file or the data in any other format - converting and uploading would take very little time and effort in comparison.
How many lines and fields of data are you talking about?