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 | RSS feed

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.

Built Distribution

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page