Why does Python use more memory.

Asked by Last Modified  

2 Answers

Learn Python

Follow 1
Answer

Please enter your answer

Educate! Being smart is great!!!

Because in python everything(variables storing int, char,..) are considered as objects and each object is taken care by pointers and references. Hence using more space. An also it depends on the type of application's processing (whether it is CPU or IO bound). There might be places where you can optimize...
read more
Because in python everything(variables storing int, char,..) are considered as objects and each object is taken care by pointers and references. Hence using more space. An also it depends on the type of application's processing (whether it is CPU or IO bound). There might be places where you can optimize as well that will allow the application to process more data at once and thus consume more memory. read less
Comments

Certified Professional Trainer @ Magnitia

Python is dynamic data type language. It don't require data type declaration before variable . For recognize the inputs use more memory , it depends on application. for example: Result=a+b , Working as sum if both inputs are integers Result=a+b , Working as a concatenate operator, if both are strings...
read more
Python is dynamic data type language. It don't require data type declaration before variable . For recognize the inputs use more memory , it depends on application. for example: Result=a+b , Working as sum if both inputs are integers Result=a+b , Working as a concatenate operator, if both are strings Depending on inputs given to program , it search for categorize it and apply operation . read less
Comments

Related Questions

Is Python useful for learning?
Now days Python is very useful for data analytics and Development.
Venkata
Where can I get Python online training?
You can get many institutes in google which are providing online training.
Taranum
I want to develop website which uses rest-api and Inventory/stock functionality in Python-Django. From where should I start
It seems you want to work on Django Web Framework. The very first pre-requisite for this is that you must know Python Programming. So, I would say learn Python first before embarking on Django Web-Framework.
Sourav
0 0
9
What are the best online courses to learn Python in 2021?
The best online courses to learn python in 2021 are: 1. Complete Python Bootcamp 2022: Go from Zero to Hero in Python 2. Python 3 Tutorial from Codeacademy 3. Python Programming Masterclass 4. The...
Anupam
0 0
6

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

Write your first Python program in 10 minutes
1. Download python from python official site search "python download" in google 2. Install in your machine 3. verify using : "python --version" command 4. Write first program using notepad create...

Bit-wise operators
Operation Syntax Function Bitwise And a & b and_(a, b) Bitwise Exclusive Or a ^ b xor(a, b) Bitwise Inversion ~ a invert(a) Bitwise Or a b or_(a, b) Left...

Two lists using Loops - Python Program 1
To generate a list of all possible combinations of two lists using loops, you can use nested loops to iterate through both lists and create a new list that contains all the combinations. list1 = list2...

map function in python
The function map takes a function and an iterable as arguments and returns a new iterable with the function applied to each argument. Example: def add_five(x): return x+5 nums = result = list(map(add_five,...
S

Sudheer S

0 0
0

What is the difference between PHP and PYTHON
Let's start with PHP: - Ideal for standard web development- Easy integration with MySQL- $_GET and $_POST built into the language- C-Esque syntax Primarily used on an Apache server (Routinely, you...

Recommended Articles

Python is one of the most popular programming languages in the world. It is general-purpose, object oriented, high-level programming language used in a number of programming fields. Python is a great programming language to learn as it will introduce you to the world of programming. If you are from the technical background...

Read full article >

Microsoft Excel is an electronic spreadsheet tool which is commonly used for financial and statistical data processing. It has been developed by Microsoft and forms a major component of the widely used Microsoft Office. From individual users to the top IT companies, Excel is used worldwide. Excel is one of the most important...

Read full article >

Information technology consultancy or Information technology consulting is a specialized field in which one can set their focus on providing advisory services to business firms on finding ways to use innovations in information technology to further their business and meet the objectives of the business. Not only does...

Read full article >

Almost all of us, inside the pocket, bag or on the table have a mobile phone, out of which 90% of us have a smartphone. The technology is advancing rapidly. When it comes to mobile phones, people today want much more than just making phone calls and playing games on the go. People now want instant access to all their business...

Read full article >

Looking for Python Training classes?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you