https://github.com/nvbn/example-for-importing-different-packages-depending-on-python-version
Example for https://nvbn.github.io/2017/05/31/import-different/
https://github.com/nvbn/example-for-importing-different-packages-depending-on-python-version
Last synced: 6 months ago
JSON representation
Example for https://nvbn.github.io/2017/05/31/import-different/
- Host: GitHub
- URL: https://github.com/nvbn/example-for-importing-different-packages-depending-on-python-version
- Owner: nvbn
- Created: 2019-06-23T13:58:54.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-06-23T13:59:08.000Z (over 6 years ago)
- Last Synced: 2025-07-03T00:36:56.701Z (6 months ago)
- Language: Python
- Size: 1000 Bytes
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Example for https://nvbn.github.io/2017/05/31/import-different/
Example for Python 2.7 and 3.5.
Usage:
```python
➜ python main.py
hello from 2.7
➜ python3 main.py
hello from 3.5
```