Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/bytecurdler/py_kinect
- Owner: ByteCurdler
- License: gpl-3.0
- Created: 2019-09-29T15:18:48.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-09-29T23:23:11.000Z (about 5 years ago)
- Last Synced: 2023-09-30T05:51:11.479Z (about 1 year ago)
- Language: Python
- Size: 21.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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"
>>>
```