You are viewing a single comment's thread from:

RE: Python for STEEM ... anybody ?

in #busy5 years ago (edited)

Hello, @Felixxx. I am always interested in instructions. It doesn't matter what they talk about. In the context of the SteemWiki manuals seem to me basically interesting, at least for the content of a Wiki. If they are only reasonably useful and actually work, what is described in their content.

Out of a current personal dilemma I would like to ask you why I should work with Python and when I better use Javascript. Can you tell me some basic things about it? Then there are also the SQL interfaces for the Steem. I always wonder if it would be better to learn Python instead of deepening Javascript.

The problem for beginners is to decide again and again what to deal with. Instructions are available for many, even complete courses. The difficulty for me is which language to choose.

A basic article about all the languages you can use to access the Steem would be very interesting. You experts always start from the middle of the language. So there are already many articles about Python. But why do you choose one or the other language? You won't read anything about that on the whole Steem.

Translated with www.DeepL.com/Translator

Sort:  

But why do you choose one or the other language?

Preference.

If you want to learn the alphabet, it doesn't matter what letter you start with.

The main reason for using javascript would be that it runs client-side in a browser and almost everybody in the world has a browser. I am using Python because it is usually shorter and simpler, but the underlying concepts are the same across all languages, and especially here; The STEEM blockchain has a very limited set of operations and calls. With Python it is easier to read the source code (later chapter) to understand how the 'raw' API calls work.

If you want to learn the alphabet, it doesn't matter which letter you start with.

Ok, you are joking.... because there are many different alphabets. But maybe I understood it right anyway. When I use Python, I use this programming only on my own computer, for my own purposes. For example, if I need a special Steem statistic. If I want to run a program on client browsers, like a Steem-Condenser, I have to use Javascript.

Or can I install Python on the web server, run all Steem queries on it and then handle the output in the client HTML? Does that make sense? Does this make anything easier?

Translated with www.DeepL.com/Translator

There are frameworks for Python, too.
They would have to run on your webserver, like you wrote.

With JS you can let the user's computer do the work for you - they only download the script.

Hmmmmmm.... JS... Python... First I need Javascript, for the condenser. You don't know Javascript, I guess. We have already written about it. An endless circle.....
But I will remember @felixxx and Python. When it comes to that. What I have installed on the webserver I don't know anymore. I can't see through it for a long time.

I started steessenger, which is pure JS.
But I know very little about webdesign and html - so JS is not that useful to me.