python

package
v0.2.92 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 10, 2024 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetCommand

func SetCommand(cmd string)

SetCommand Replace python command. ex: "python3"

Types

type PythonExec

type PythonExec struct {
	// contains filtered or unexported fields
}

func NewPythonExec

func NewPythonExec(args ...interface{}) *PythonExec

func (*PythonExec) ErrWriterAppend

func (instance *PythonExec) ErrWriterAppend(w io.Writer)

func (*PythonExec) GetDir

func (instance *PythonExec) GetDir() string

func (*PythonExec) OutWriterAppend

func (instance *PythonExec) OutWriterAppend(w io.Writer)

func (*PythonExec) Run

func (instance *PythonExec) Run(args ...string) (*executor.ConsoleProgramSession, error)

func (*PythonExec) RunAsync

func (instance *PythonExec) RunAsync(args ...string) (*executor.ConsoleProgramSession, error)

func (*PythonExec) RunWrapped

func (instance *PythonExec) RunWrapped(args ...string) (*executor.ConsoleProgramSession, error)

func (*PythonExec) SetCommand

func (instance *PythonExec) SetCommand(cmd string)

func (*PythonExec) SetDir

func (instance *PythonExec) SetDir(dir string)

func (*PythonExec) Version

func (instance *PythonExec) Version() (string, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL