Is Brython entirely client-side?

后端 未结 4 470
温柔的废话
温柔的废话 2021-02-04 04:17

I have a piece of code written in Python. I would like to put that code in a webpage. Brython seems like the simplest way to glue the two things together, but I don\'t have a se

4条回答
  •  粉色の甜心
    2021-02-04 05:08

    Yes, brython is entirely cliant-side. Yes, you can use it with Dropbox. What you need to do is copy a public link to the brython.js file and place it in your html file's head tag, where the default text is:

    
        
    
        
    
            
    
            
    
        
    
    
    

    And this is the example they give on their page. note You don't need to have the html file on your dropbox, it can be anywhere with internet access.

提交回复
热议问题