This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Allows for tabbed editing within the pythonista editor | |
import ui | |
import editor | |
import sqlite3 as sql | |
import console | |
import os | |
from math import pi | |
open_tabs = {} | |
num_of_tabs = 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Allows for tabbed editing within the pythonista editor | |
import ui | |
import editor | |
import sqlite3 as sql | |
import console | |
import os | |
from math import pi | |
open_tabs = {} | |
num_of_tabs = 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Allows for tabbed editing within the pythonista editor | |
import ui | |
import editor | |
import sqlite3 as sql | |
import console | |
import os | |
from math import pi | |
open_tabs = {} | |
num_of_tabs = 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Allows for tabbed editing within the pythonista editor | |
import ui | |
import editor | |
import sqlite3 as sql | |
import console | |
import os | |
from math import pi | |
available_width = 500 | |
open_tabs = {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' This script allows you to copy a .py script to the iOS clipboard and then use Open In... | |
to have that script saved in Pythonista. This requires both the Workflow and Pythonista apps | |
and the workflow at https://workflow.is/workflows/8cdee57f79664205a6a565c9cbdb3d48 ''' | |
import clipboard | |
import console | |
import os | |
import sys | |
import editor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding: utf-8 | |
import ui | |
import os.path | |
import os | |
import clipboard | |
def loadFolder(sender): | |
selection = sender.items[sender.selected_row] | |
path = os.path.join(sender.path, selection) |