class Python extends AnyRef
A class for extracting the necessary configuration properties for embedding a specific Python interpreter into an appication
- Alphabetic
- By Inheritance
- Python
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- lazy val executable: Try[String]
Absolute path to the Python interpreter executable
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- lazy val ldflags: Try[Seq[String]]
Provides the recommended linker options for embedding this Python interpreter into another application, mostly extracted from the outputs of
Provides the recommended linker options for embedding this Python interpreter into another application, mostly extracted from the outputs of
pythonX.Y-config --ldflagsforpython3.7 andpythonX.Y-config --ldflags --embedforpython3.8+ - lazy val nativeLibrary: Try[String]
Name of the
libpythoncorresponding to this Python interpreter, e.g.python3.8,python3.7m - lazy val nativeLibraryPaths: Try[Seq[String]]
Provides a list of possible locations for the
libpythoncorresponding to this Python interpreter - final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def scalapyProperties: Try[Map[String, String]]
Provides the system properties necessary for setting up ScalaPy with this Python interpreter
Provides the system properties necessary for setting up ScalaPy with this Python interpreter
import me.shadaj.scalapy.py Python("/usr/local/bin/python3").scalapyProperties.get.foreach { case (k, v) => System.setProperty(k, v) } println(py.eval("'Hello from Python!'"))
Example: - final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()