Technology Blog Posts by Members
cancel
Showing results for 
Search instead for 
Did you mean: 
Hello guys, hope you are doing well.

 

The first scripting language I had tried was "Python". But what if I try to execute it directly from BAS?

With full of hope in my heart, I have created a folder under 'projects':


 

Then I run this command: "sudo apt-get install python3"


python install command


 

I tried several things to resolve. But no luck.

"Dear reader, help me in this. ?. Please comment if you have any quick-fix for this."


 

Just then I found a thing. NODE-Python. ????

 

Installed it in the folder: "npm install python"


 

Let's see what we can do with this.

Take the Source-code from here(Git Link).

Place your folder should look like -


folder-structure


 

The next thing is "npm app.js".

Now write whatever you want and press enter to check. Enjoy Py-ing.

This is what I have tried.


execute your py code like this


 

After sometime:

BAS got crashed


 

Anyways, please opine by leaving a comment below.

I will try to update the below Git link if I get any success.

Py OR Die (Git Link) - https://github.com/sabarna17/py_or_die_bas

Happy 'Py-ing', Happy 'BAS-ing'.
4 Comments
Labels in this area