Reference for flexx.pyscript¶

The pyscript module provides functionality to compile Python code to JavaScript. We call Python code aimed to translated this way “PyScript”.

  • PyScript introduction
    • Quick intro
    • Goals
    • PyScript is just JavaScript
    • Pythonic
    • Caveats
    • PyScript is valid Python
    • Performance
    • Support
    • Other functionality
  • PyScript API
  • PyScript quick user guide
    • The basics
    • Slicing and subscriping
    • String formatting
    • Assignments
    • Comparisons
    • Truthy and Falsy
    • Function calls
    • Imports
    • If statements
    • Looping
    • Comprehensions
    • Defining functions
    • Defining classes
    • Exceptions
    • Globals and nonlocal
    • Python Builtins
    • The isinstance function (and friends)
    • hasattr, getattr, setattr and delattr
    • Creating sequences
    • List methods
    • Dict methods
    • Str methods
    • Using JS specific functionality
  • PyScript examples

Related Topics

  • Documentation overview
    • Previous: Event examples
    • Next: PyScript introduction

このページ

  • ソースコードを表示

クイック検索

©2015-2017, Flexx contributors. | Powered by Sphinx 1.4.8 & Alabaster 0.7.9 | Page source