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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for auto_paste_from_script-1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24b746daa7c25080e27fbb92ba7d77cf7b93bf3bb8d379fb0313635e9fdeb699 |
|
MD5 | 6434106187d8b938596aad46fe0ca178 |
|
BLAKE2b-256 | e9cd6a55b4975390bcf5edbf56033db851512fdca8f27ec8f00f53c9f108eba4 |