First time here? Checkout the
FAQ
!
x
Login
Remember
Register
Ask Data Science!
About
All Activity
Q&A
Questions
Hot!
Unanswered
Tags
Categories
Users
Ask a Question
Ask a Question
What are the key features of Python?
0
votes
287
views
asked
Jul 9, 2019
in
Python Interview Questions
by
AskDataScience
(
116k
points)
python
python-basics
python-interview
Tweet
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jul 9, 2019
by
AskDataScience
(
116k
points)
Python is an
Interpreted
language. That means that, unlike languages like C and its variants, Python does not need to be compiled before it is run. Other interpreted languages include PHP and Ruby.
Python is
dynamically typed
, this means that you don't need to state the types of variables when you declare them or anything like that. You can do things like
x=111
and then
x="I 'm a string"
without error
Python is well suited to
object orientated programming
in that it allows the definition of classes along with composition and inheritance. Python does not have access specifiers (like C++'s public, private).
In Python,
functions
are
first-dass objects
. This means that they
can be assigned to variables
, returned from other functions and passed into functions.
Classes are also first class objects
Writing
Python code is quick
but running it is often
slower than compiled languages
. Fortunately,
Python allows the inclusion of C based extensions
so bottlenecks can be optimized away and often are. The Numpy package is a good example of this, it's really quite quick because a lot of the number crunching it does isn't actually done by Python
Python finds use
in many spheres
- web applications, automation, scientific modeling, big data applications and many more. It's also often
used as "glue" code
to get other languages and components to play nice.
Please
log in
or
register
to add a comment.
Related questions
+1
vote
1
answer
573
views
What are the local variables and global variables in Python?
asked
Jul 9, 2019
in
Python Interview Questions
by
askpython
(
1.4k
points)
python
python-basics
python-interview
+1
vote
1
answer
630
views
What are self and _init_ in Python classes?
asked
Jul 11, 2019
in
Python Interview Questions
by
askpython
(
1.4k
points)
python
python-basics
python-interview
+2
votes
1
answer
625
views
What are classes in Python?
asked
Jul 11, 2019
in
Python Interview Questions
by
askpython
(
1.4k
points)
python
python-basics
python-interview
+1
vote
1
answer
347
views
What are functions In Python?
asked
Jul 11, 2019
in
Python Interview Questions
by
askpython
(
1.4k
points)
python
python-basics
python-interview
+1
vote
1
answer
5k
views
What are python modules? Name some commonly used built-in modules in Python?
asked
Jul 9, 2019
in
Python Interview Questions
by
askpython
(
1.4k
points)
python
python-basics
python-interview
Categories
All categories
Programming
(38)
Data Science
(130)
Machine Learning
(78)
Deep Learning
(9)
Artificial Intelligence
(3)
Web Development
(8)
Mobile Development
(0)
Cloud Computing
(10)
Human Computer Interaction
(92)
Python Interview Questions
(18)
Data Science Interview Questions
(19)
Machine Learning Interview Questions
(17)
Deep Learning Interview Questions
(2)
424
questions
364
answers
99
comments
665
users
...