What I’m trying to do:
Do some very basic testing with python-pptx library
What I’ve tried and what’s not working:
Created a new/blank app using the new editor
set the environment to Python 3.1 beta
I’m getting an error on the server module that simply says:
SyntaxError: invalid syntax (sm_main.py, line 5)
** at sm_main, line 5
*
** called from Form2, line 16
*
and I see that it’s simply the import statement… wonder what I’m doing wrong…
import anvil.tables as tables
import anvil.tables.query as q
from anvil.tables import app_tables
import anvil.server
import python-pptx
@anvil.server.callable
def gen_pptx():
print("We're in the main server module")
Clone link:
share a copy of your app