I'm working on a bottle web app and need to import files (mostly .tpl template files)to use in conjunction with it. I know that pythonista was forced to remove support for "open in" functionality, but is there another way to import files? I'd be fine just typing the code in if I could change the file extension from .py or .txt, but it doesn't seem to allow that. Any help is greatly appreciated. Pythonista is allowing me to work on this project while I'm offline, riding a train. I love it!
Forum Archive
Importing other file types
smath
Jul 14, 2014 - 02:29
smath
Jul 12, 2014 - 05:20
Never mind. I just found that the developer has come up with a kick butt solution to this problem, posted in this thread:
https://omz-forums.appspot.com/pythonista/post/4995757044137984
Thanks @omz!
briarfox
Jul 12, 2014 - 15:09
As a hint I name all my .tpl files .tpl.txt so I can edit them in pythonista.
smath
Jul 14, 2014 - 02:29
Thanks, but I'm not having any trouble editing .tpl files themselves.