Next topic
What’s New in Tohil
This Page
Report a Bug
Show Source
Navigation
index
next
|
Tohil
»
4.3 Documentation
»
Tohil Documentation contents
|
Tohil Documentation contents
¶
What’s New in Tohil
What’s New In Tohil 4.3
Additional Improvements
Bug Fixes
Improved Build Support
What’s New In Tohil 4.2
Python code passed to tohil::exec is now unindented before being passed to Python
Additional Improvements
Bug Fixes
Improved Build Support
What’s New In Tohil 4.1
tclobjs returned from more places
Python-side callback function registration
Several other improvements
Numerous bug fixes
Considerably improved documentation
What’s New In Tohil 4.0
tclobj default return
Python Subinterpreter Support
Support for Separate Virtual Interpreters in Rivet
A function can now be specified in a to= arg
User-Facing Behavior Changes
Internal Changes
Documentation Improvements
What’s New In Tohil 3.2
tclobjs
Tclobj Shadow Vars
Tcldicts
ShadowDicts
Python exception improvements
Tohil method improvements and changes
Testing Improvements
Build Improvements
What’s New In Tohil 3.0
TclProcs
TclNamespaces
TclError Exception Class
New helpers Functions
Tests
The Tohil Tutorial
1. The Tohil Tutorial
2. Using Tcl from Python
2.1. tohil.eval
2.2. helper functions
2.3. tohil.call
2.4. tohil.expr
2.5. tohil.getvar and tohil.setvar
2.6. tohil.exists
2.7. tohil.incr
2.8. tohil.unset
2.9. tohil.subst
2.10. tohil.convert
2.11. tohil.interact
2.12. tohil.tcl_stdout_to_python()
3. Using Python From Tcl
3.1. tohil::eval
3.2. tohil::exec
3.3. tohil::import
3.4. notes about exec
3.5. tohil::run
3.6. tohil::call
3.7. tohil::interact
3.8. Using tohil from Rivet
4. Tohil’s Tclobj Python Data Type
4.1. Creating Tclobj Objects From Python
4.2. .getvar() and .setvar() methods
4.3. Get stuff from tclobjs as Other Python Objects
4.4. set() and reset()
4.5. incr()
4.6. Tclobjs Containing Tcl lists
4.7. Comparing Tclobjs wo Each Other
4.8. Get the tclobj’s Tcl Type and Reference Count
5. Tohil’s Tcldict Python Data Type
5.1. Accessing Elements in a Tcldict
5.2. Setting Values into a Tcldict
5.3. get()
5.4. Checking for Existence
5.5. len()
5.6. Removing Elements
5.7. Assembling Tcldicts from Tcldicts and Tclobjs
5.8. iterators
6. TclProcs
7. Shadow Dictionaries
The Tohil Library
Introduction
Tohil Python Functions
Tohil Tcl Functions
Tohil Types
Testing Tclobj Truth Values
Comparisons
Using Tohil tclobjs as Numeric Types
Bitwise Operations on Tohil Types
tclobjs as lists
Mapping Types —
tcldict
Dictionary view objects
Tohil Exceptions
Tohil Tcl Errors
Installing Tohil
Building and Installing on Linux
Install Prerequisites
Build the Configure Script
Run the Configure Script
Make
Building and Installing on macOS
Install Prerequisites
Bring MacPorts Up to Date
Install Python
Install Tcl
Install Autoconf
Run Autoconf
Run the Configure Script
Make
Building and Installing on FreeBSD
Install Prerequisites
Build the Configure Script
Run the Configure Script
Make
About these documents
Dealing with Bugs
Documentation bugs
Using the Tohil issue tracker
Getting started contributing to Tohil yourself
Copyright and License
Copyright
Next topic
What’s New in Tohil
This Page
Report a Bug
Show Source
Navigation
index
next
|
Tohil
»
4.3 Documentation
»
Tohil Documentation contents
|