Skip to content

Instantly share code, notes, and snippets.

package main
import (
"bytes"
"fmt"
"math"
"strings"
"time"
"github.com/coreos/etcd/raft"
package main
import (
    "fmt"
    "os"
    "syscall"
)
func main() {
# File Transfer for Pythonista
# ============================
# This script allows you to transfer Python files from
# and to Pythonista via local Wifi.
# It starts a basic HTTP server that you can access
# as a web page from your browser.
# When you upload a file that already exists, it is
# renamed automatically.
# From Pythonista's settings, you can add this script
# to the actions menu of the editor for quick access.