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.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

auto_paste_from_script-1.0-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file auto_paste_from_script-1.0-py3-none-any.whl.

File metadata

  • Download URL: auto_paste_from_script-1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.34.0 CPython/3.6.7

File hashes

Hashes for auto_paste_from_script-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 24b746daa7c25080e27fbb92ba7d77cf7b93bf3bb8d379fb0313635e9fdeb699
MD5 6434106187d8b938596aad46fe0ca178
BLAKE2b-256 e9cd6a55b4975390bcf5edbf56033db851512fdca8f27ec8f00f53c9f108eba4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page