auto-paste-from-script-1.0
توضیحات
Package to execute lines from scripts into Python interpreters
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | auto-paste-from-script-1.0 |
| نام | auto-paste-from-script |
| نسخه کتابخانه | 1.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Andrea Schioppa |
| ایمیل نویسنده | andrej.schioppa@gmail.com |
| آدرس صفحه اصلی | https://github.com/salayatana66/auto-paste-from-script |
| آدرس اینترنتی | https://pypi.org/project/auto-paste-from-script/ |
| مجوز | - |
# auto-paste-from-script #
Utilities for interactively pasting script code into an interpreter.
Currently supports Python, R, Scala.
## Python Usage ##
``` python
from auto_paste_from_script import AutoPasteFromScript
myS = AutoPasteFromScript("script.py")
myS(5,10)
```
## R Usage ##
``` r
source("AutoPasteFromScript.R")
myS <- AutoPasteFromScript$new(fileName="this.R")
myS$exec(1,5)
```
## Scala Usage ##
``` scala
import auto.paste.from.script.AutoPasteFromScript
// $intp is the current interpreter
val myS = AutoPasteFromScript("filename.scala", $intp)
myS(1,5)
```
نحوه نصب
نصب پکیج whl auto-paste-from-script-1.0:
pip install auto-paste-from-script-1.0.whl
نصب پکیج tar.gz auto-paste-from-script-1.0:
pip install auto-paste-from-script-1.0.tar.gz