DEV Community

Cover image for Glimpse of my Python Journey [Part 1]
Anuj
Anuj

Posted on

Glimpse of my Python Journey [Part 1]

Hey Siri, how's my future going to be?
Siri: Your future is going to be bright since you're a Python Developer.

And, that statement was enough for me to comprehend the popularity Python has gained in recent years.

Python, a programming language that is on cloud nine as far as popularity is concerned. A programming language that has grabbed the attention of almost all the people from the IT world. Whether be it a fresher or an experienced IT professional, Python's on everybody's mind 

Alt Text

Since I am a Python Developer for quite some time now, recently an aspirant asked me about my journey of learning Python. He was curious to know about how did I learn Python. And then I decided to pen down my journey of learning Python.

Be a part of the Most Innovative Fam on Telegram

I will narrate this journey in 3 parts. And believe me, if you follow this journey, you'll surely be a Python expert in no time.
Because learning Python right now is a boss move.

So stay tuned!!

Are you already a Python Developer?
If YES, then these projects will surely test your proficiency in Python.

THE JOURNEY BEGINS...

Getting ready for Python

Environment and Setup is the primary requirement for effective learning of any programming language. For learning Python too, you’ll require some editors and tools. Install a Python editor that is most appropriate for your machine. 
Here is the list of some of the most common Python editors you can choose from:

  • PyCharm
  • Spyder
  • Visual studio code 
  • Jupyter
  • Pydev
  • ActivePython and many more...

The First Step

The first and foremost step for learning anything is getting well-versed in its basic concepts. There's no moving ahead in Python if you aren't well-acquainted with its basics.

Why is Python so popular?

Additionally, if your aim of learning Python is to make a career in either Data Science or Machine Learning, then a good command over its basics would be more than enough. Data science doesn’t require advanced knowledge of Python. So, it’s important to solidify your basic concepts.

Python basics won’t consume your much time if you have learned any programming language priorly. And if not, then the internet and books are always here to help us. Python basics are easy, there is nothing to get worried about.

Alt Text

Following are the topics which come under Python basics:

  • Syntax 
    Python is popular for its simplicity. What does that mean? The simplicity of Python lies in its syntax. It doesn’t follow any complicated formats for writing codes. For example, it doesn’t use semicolon for terminating a line of code. The syntax of Python is quite different from other languages. 
  • Variables 
    Understand how you can declare variables in Python and how a variable will behave at different places in the program which is the scope of the variables.
  • Operators 
    Operators are symbols that generally represent a particular action or process. Explore different mathematical operators in Python.
  • Data Structures 
    Data structures, the most important concept of any programming language. These are the building blocks of a programming language. Python has four data structures viz lists, sets, dictionaries, and tuples. Understand what they are, how they work and how they are different from each other.

Get comfortable with Python's most important concept

  • Decision-making Statements 
    If, if-else, nested if, chained conditionals(the else if ladder), single statement condition comes under decision-making statements. Along with learning, practice 10+ coding problems of each.
  • Loops 
    Loops are the structures that repeat a sequence of instructions. Python deals with while loops, for loops, and nested loops. Along with this, also learn loop controls statements.

'Coz you cannot be a top Python troop without its Loops

  • Functions 
    Functions are small pieces of code that perform a specific task. Python has four different types of functions viz. User-defined functions, built-in functions, lambda functions, and recursion functions.

Getting distinction in Python with its Functions

NOTE: Don't forget to practice coding problems for each and every concept.

One Step Ahead

Python is an object-oriented as well as the procedural oriented programming language. For surviving in today’s battle of programming language, a language must be object-oriented. Moreover, this is one more reason why data science loves Python. Python with its object-oriented feature makes the task of data scientists easier.

This section will take a bit of time because here the practical insights are more important than theoretical ones. Don’t forget to do the practical implementation of the topics you learned here.

  • Classes and Objects
    Classes and objects are the foundation of object-oriented programming. Objects are real-world entities that have property and behavior and classes are the collections of objects. Understand how classes and objects are created and how they work in Python.

Get into the details of Python's Class 

  • Polymorphism
    Polymorphism is another concept of object-oriented programming. Polymorphism means one can behave in many forms. It can be anything. For example, operators, etc.  
  • Inheritance
    Inheritance is a mechanism in which the properties of one class is extended to another class. Go through the different types of inheritance in Python and understand how they work. 

'Coz Inheritance plays a part in Python eminence

  • Encapsulation
    Encapsulation is a principle in which all the data is wrapped into a single unit just like a capsule. The data here is code and the variables. Understand how encapsulation is practiced in OOP. 
  • Abstraction
    Abstraction is a process in which only the useful information for a user is displayed and the rest of the information is hidden.

And this marks the end of the Part -1 of this journey. All these concepts are crucial if you wanna become an expert in Python programming. All you need to do is get well acquainted with all these concepts and practice coding problems for the same. Because practice matters.

So, till then stay tuned. And if you get stuck at any point, then let me know through your comments.

Building a strong foundation of Python programming

Part - 2 coming soon.

Happy Learning!! 

Until next time!! 

Alt Text

Top comments (2)

Collapse
 
jaynshete profile image
Jaykumar N. Shete

Hello, what will be scope of data science for non technical person

Collapse
 
anujgupta profile image
Anuj

There's a huge scope of Data Science for a non-technical person also. Even you can become a Data Scientist and have an amazing career.

If you want to have a career in Data Science, I suggest you learn R Programming Language as it will be easy for you to learn that.

You can refer the below link for the same-
dev.to/anujgupta/learn-r-unlock-th...