Skip to main content

Package to execute lines from scripts into Python interpreters

Project description

auto-paste-from-script

Utilities for interactively pasting script code into an interpreter. Currently supports Python, R, Scala.

Python Usage

from auto_paste_from_script import AutoPasteFromScript

myS = AutoPasteFromScript("script.py")

myS(5,10)

R Usage

source("AutoPasteFromScript.R")

myS <- AutoPasteFromScript$new(fileName="this.R")

myS$exec(1,5)

Scala Usage

import auto.paste.from.script.AutoPasteFromScript

// $intp is the current interpreter
val myS = AutoPasteFromScript("filename.scala", $intp)

myS(1,5)

Project details


Release history Release notifications

This version

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for auto-paste-from-script, version 1.0
Filename, size File type Python version Upload date Hashes
Filename, size auto_paste_from_script-1.0-py3-none-any.whl (2.7 kB) File type Wheel Python version py3 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page