Guest User

Untitled

a guest
Jul 22nd, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. observeEvent(input$action,{
  2. #py_run_file("add.py")
  3. task3 <- import("tss")
  4. task3$add(5, 10)
  5. })
  6.  
  7. def sub(x, y):
  8. return x + y
  9.  
  10. def add(x, y):
  11. return x + y
  12.  
  13. Warning: Error in py_get_attr_impl: AttributeError: module 'tss' has no attribute 'add'
  14. 80: <Anonymous>
Add Comment
Please, Sign In to add comment