L
L
ludoman2015-09-09 15:17:10
Python
ludoman, 2015-09-09 15:17:10

Creation of a bot. Which programming language to choose?

Hello.
There is a need to create a bot.
The bot function is work according to a given algorithm:

collecting statistics from special sites / searching for matches in Live mode with the statistics I need / finding matches according to the specified parameters / when finding such matches so that there is an alert with full information about the match.

written perhaps not entirely accurate, but I hope the essence is understood :)
what programming language to choose for this task? given the fact that before that I was not familiar with programming. i.e. it will be my first programming language.
There is one point: in the future, ideas for creating web projects may appear, that is, I will study the language for more than one purpose of creating a bot.
python or javascrpit+node.js?
How do I understand that Python alone will not be enough for me in the future and javascript will have to be learned anyway?
If you take javascript + node.js, then it turns out that I can use, roughly speaking, knowledge of one language on the server / client?
If we compare Python and javascrpit + node.js, how much more difficult will the latter be to learn? and how long will it take to get to my destination? i.e. creating a bot.
Please comment on my questions and of course add what you think in general.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
S
slepowl, 2015-09-09
@slepowl

IMHO, in python you will solve your problem on average per month. In fact, these are the basics + a couple of libraries (request, urllib for a start, scrapy later). You will learn: basic concepts, algorithms, approaches (i.e. the basics of the basics). After that, you can take on Django or Flask. Then it will be easier to learn the same js (there is a foundation).
In the case of js + Node, it will also take you time to learn the framework. You will not collect the first script on your knee soon.
Personally, python was easier for me than js. So I started with him and I do not regret it. Right now I'm slowly learning js - it's much easier.

L
littleguga, 2015-09-09
@littleguga

Take it and do it.
Many people make the mistake of thinking that programming is a language. No, programming is an algorithm, and what you wrap it into is up to you.
Thought out the algorithm - go ahead! Try both and I'm sure you'll like one better than the other. And then make a choice in favor of the one you like.
Don't be afraid to try.
web project in python - django (of course, for the web you need to pull up html / css / js - but you can learn to the desired level (if the backend is in python) in 3 days (maximum a week)).

R
Rafael™, 2015-09-09
@maxminimus

Firstly, you just need to learn js.html.css.php - this is the foundation of web programming
At the initial stage, without frameworks, you need to be able to write simple bicycles in a pure language.
Next, watch how others make such bots - with or without frameworks,
and if you need to write a server in which some other language or work on some framework or library, then master them

P
p2mbot, 2015-09-10
@p2mbot

Node.js is a wonderful technology, everything works great there. But I wouldn't recommend it as a first language.
If your goal is to get into programming and learn the language, then python is a great option.
But if it is more important for you not to program itself, but to implement the work of the bot, then by choosing php, there will be more chances. that you meet at least some deadlines :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question