Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bytecurdler/py_kinect

A connection between Python 2 and Python 3
https://github.com/bytecurdler/py_kinect

Last synced: about 1 month ago
JSON representation

A connection between Python 2 and Python 3

Awesome Lists containing this project

README

        

# Py_Kinect
A bridge so you can connect Python 2 and Python 3.
Supports reading Python 2 from Python 3
# Usage
### Initialization:
```python3
>>> from kinect import import2
>>> module = import2("module_name")
```
You can now use `module` as your module.
### Example usage:
```python3
>>> from kinect import import2
>>> test = import2("test")
>>> test.cat
123
>>> test.pi
3.14
>>> test.name
"test"
>>> test.Cat.dog
"no"
>>>
```