I am using a workflow in Editorial to generate and preview html code.
In my code, I have a textarea (embedded in two div, if this matters) and I need to get the text of the textarea when the user "clicks" on a specific button.
In the same script, I can successfully use document.getElementById(obj).style.display or document.getElementById(obj).name, so the problem is in "value".
Any hints? Any way to get the textarea content?
The current version of Pythonista (1.5) comes with Sympy 0.7.4.1, but I need version 0.7.5.
I have downloaded the newest version of the module using the script installsympy at https://gist.github.com/henryiii/9011826 and I can see a sympy folder in Pythonista.
How can I import the newest version?
"import sympy" imports the builtin version, and renaming the folder to something like sympy2 and then importing it gives me conflict errors.
What is the right way to do this? absolute_import?
If I try:
from . import sympy
Traceback (most recent call last): File "<string>", line 1, in <module> ValueError: Attempted relative import in non-package
Thanks for the reply JonB.
Using sys.path.append does not solve the problem.
Honestly I am a bit in the dark (i.e. am a complete newbie), so I run sys.path.append('.'), sys.path.append('..') and sys.path.append('sympy'), not knowing which one was the right one (and killing Pythonista each time to stay on the safe side).
In all cases,
import sympy sympy.__version__
What am I doing wrong?
Thanks for your bibtex workflow, I happily use it with Papers 3 for iOS (which can now export bib files).
It is part of my academic writing together with my md->html_tex workflow. If interested, my workflow is able to create html and tex files taking care of local and remote images, tables, formulas, etc.
The html file can then be opened in another app or uploaded to a web service (e.g. for students or collaborators), while the tex project is zipped with the images and can be then be imported in TexPad or TexWriter.
Both papers and presentations are supported. For presentations, deck is required (either locally or on the remote server) for html files and beamer is used for tex files.