'Not Found The file 'top_stories.py' could not be found'
iCloud folder structure:
I'm still lost!
If I run the command this way around:
It opens the top_stories.py for editing but does not run it.
Maybe Actviator.app is not parsing the '&' character correctly (I'm trying to launch Pythonista from Activator.app -> run command)
I'm running a script in iOS terminal using the following command:
Pythonista opens and says this error message:
Not Found The file 'top_stories/top_stories' could not be found'
The script I want to run is located here within Pythonista:
It also doesn't work if I move top_stories.py to iCloud root folder:
My iCloud folder on my phone:
I'm not sure why my script is not being found. I'm launching Pythonista from a terminal application (jailbroken).
(local storage works, just not iCloud, how come?)
I've read the ui guide but I haven't found a solution to my problem.
Given my pyui in my_gui.pyui:
How can I access the ui elements in my separate my_ui.py file?
For example, I want pressing the 'Small' button to set the text of the text field to 'this is small'.
Right now I cannot make the button make changes to the text field element.
import ui import imgtagr import clipboard def small_tapped(sender): sender.title = 'cool' def medium_tapped(sender): pass def large_tapped(sender): pass def none_tapped(sender): pass def main(): ui.load_view('my_gui').present('sheet') main()