B4X FEED PyScript in your webpage using ABMaterial as an example

اطلاعات موضوع

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: PyScript in your webpage using ABMaterial as an example است. این موضوع تا کنون 40 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع PyScript in your webpage using ABMaterial as an example
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
40
پسندها
0
آخرین ارسال توسط PracticalSoft
Jun 6, 2020
11,559
4,422
Hello.

Today I would like to present how to combine PyScript with B4X. I have taken ABMaterial as an example.
First, let's start what PyScript is. In the simplest way, it is the execution of non javascript (JS) programming language code in a client-side browser. Pyscript allows us to run Python code. The solution is very young (few months) in 'alpha' version but it has already got the developer community very, very interested. You can already find many solutions and future applications on the web. Some say that it could be the successor of JS.
A great advantage of pyscript is the use of one of the most powerful Python libraries and solutions. The second one is that the page code, libraries, custom modules are downloaded on the client side and run there. No server-side or client-side Python environment is needed. That's it in a nutshell.

Where to start. First you need to add in the <head> section the JS script responsible for downloading the data you need. I used in ABMaterial in...



 

عقب
بالا