Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
what is scope for python?
#1
hye guys what is the scope for python. as I am fresher in this field, I want to learn python. should i learn it or not?
Reply
#2
Are you asking about scope of variables?
If so, yes, very important topic, and chapter 9 in the Python docs starts with a discussion. See:
Python docs chapter 9, see discussion of scope of variables and namespaces
Reply
#3
(Jun-24-2019, 10:36 AM)samexpert Wrote: should i learn it or not?
Im assuming based on this that you are asking "the scope of python's abilities"? If so:

Python is a versatile language. This can be proven by the sheer number of its 3rd party libraries. Python can do anything from making games, building or scraping websites, GUI development, data analysis, database access and manipulation, networking, scientific and numeric, image manipulation, machine learning, robotics, email processing, etc. As you can see here (different charts vary) python has only gotten popular. As a natural byproduct of getting popular it will only get more versatile. Only c/c++ surpass it due to drivers or other things needs uber high speed, and java which is due to the recent decade need of mobile devices that use java (think Android).

Python is also a simple syntax compared to other langauges. There is no requirement semicolons at the end of each statements or brackets for blocks of code. Python inherently is less typing than other languages making it faster to produce and debug as well as simple syntax to read and learn. Python places emphasis on readability. Python's learning curve is very gradual. Other languages can be quite steep.

Python is not ideal for writing things like graphics drivers, or other things that are down to bare metal.
Recommended Tutorials:
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to create a variable only for use inside the scope of a while loop? Radical 10 1,528 Nov-07-2023, 09:49 AM
Last Post: buran
  Library scope mike_zah 2 796 Feb-23-2023, 12:20 AM
Last Post: mike_zah
  Scope of variable confusion Mark17 10 2,741 Feb-24-2022, 06:03 PM
Last Post: deanhystad
  Variable scope issue melvin13 2 1,508 Nov-29-2021, 08:26 PM
Last Post: melvin13
  Variable scope - "global x" didn't work... ptrivino 5 2,981 Dec-28-2020, 04:52 PM
Last Post: ptrivino
  Python Closures and Scope muzikman 2 1,775 Dec-14-2020, 11:21 PM
Last Post: muzikman
  Block of code, scope of variables and surprising exception arbiel 8 3,338 Apr-06-2020, 07:57 PM
Last Post: arbiel
  Help with Global/Coerced Variable (Understanding Scope) Rev2k 6 3,435 Jan-09-2020, 03:43 AM
Last Post: Rev2k
  Solving a scope issue profconn1 4 2,512 Nov-01-2019, 07:46 PM
Last Post: profconn1
  Namespace and scope difference Uchikago 9 4,519 Jul-03-2019, 03:36 PM
Last Post: Uchikago

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020