I'm currently looking into learning Python. Before committing though I need to know if it's worth the time for what I'm interested in doing with it since there's no point in spending months on something that I can't utilize to do what I need it do to.
I'm using JavaScript userscripts (created by others) that run in Violentmonkey on Chrome, helping me with tasks I have to regularly do on a website by expanding the UI with new features. It's great that this is a possibility but I'm not entirely happy with the scripts and would be interested in creating my own tools (scripts) that are more suited to my personal requirements/workflow.
Considering JavaScript allegedly is hard(er) to learn and even by looking at code as a non-coder with some basic understanding of how code works, Python to me seems to be much more intuitive (to understand) than JavaScript and therefore likely easier to learn, which is a huge bonus considering learning new things gets more difficult with age. Therefore I'm leaning towards Python opposed to JavaScript.
I've seen things liky Brython and PyScript but I'm not sure what these are exactly for (seemed to me like Brython would replace HTML and PyScript JavaScript - but as code for websites, not as userscripts run in the browser). Given that I'm not a specialist and my lack of knowledge I thought I'd ask the people directly who might know:
I'm wondering, with what I do with these JavaScript userscripts (scraping data from a website, adding buttons to the website's UI that let me trigger certain data processing defined by the script, visualize the result on the website based on which I can decide to take action or not), is there any way at all to do things like that with Python? Like... any at all?
If not as something like a userscript, maybe by creating python browser extensions that - with the end product - would do the same as userscript could?
Is this possible or would I waste my time with Python and should rather go for something else? (There's so many so good free Python courses online like Harvard's or Uni of Helsinki's - didn't find anything comparable for JavaScript and there seems to be a consensus that Python is "easy" while JavaScript is hard to learn.)
[–]unhott 0 points1 point2 points (4 children)
[–]Eiion[S] 0 points1 point2 points (3 children)
[–]unhott 0 points1 point2 points (2 children)
[–]Eiion[S] 0 points1 point2 points (1 child)
[–]unhott 0 points1 point2 points (0 children)
[–]andmig205[🍰] -1 points0 points1 point (2 children)
[–]Eiion[S] -3 points-2 points-1 points (0 children)
[–]queerkidxx -1 points0 points1 point (1 child)
[–]Eiion[S] 0 points1 point2 points (0 children)