Comments (4)
you indeed can use type notation in py2.
https://github.com/python/typing/tree/master/python2
from scikit-chem.
Thanks for the input. I think I was meaning syntax supported annotations such as:
def sum(a: int, b: int) -> int:
return a + b
To my knowledge this is only supported in 3.5, and the typings
python 2 module adds the support to the language implementation, but not the syntax. The 3.5 system is definitely the nicest way to do type annotations, if Python 2 didn't exist!
from scikit-chem.
I think you need to install typing package by yourself in py2.
https://pypi.python.org/pypi/typing/3.5.2
Hai
On Sep 19, 2016, at 10:32 AM, Rich P. I. Lewis [email protected] wrote:
Thanks for the input. I think I was meaning syntax supported annotations such as:
def sum(a: int, b: int) -> int:
return a + b
To my knowledge this is only supported in 3.5, and the typings python 2 module adds the support to the language implementation, but not the syntax. The 3.5 system is definitely the nicest way to do type annotations, if Python 2 didn't exist!—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
from scikit-chem.
I understand it's fully backported, and uses the same name space.
from scikit-chem.
Related Issues (20)
- Descriptors: Estate
- Descriptors: connectivity
- Descriptors: RDF
- Descriptors: GETAWAY
- Descriptors: Information
- Descriptors: MOE type (VSA contribution)
- Descriptors: spectral
- Descriptors: topological
- Descriptors: shape
- Descriptors: molecular properties
- Descriptors: Matrix derived
- Descriptors: randic molecular profiles
- I got a BEDROC score that is larger than 1 HOT 1
- standardizer module and standardizer program have different outputs HOT 1
- Atom properties HOT 3
- just a contact request
- conda installation not working HOT 1
- QuickStart guide input files
- Help with scikit-chem package HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scikit-chem.