Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content
Python Land
  • Python Tutorial
  • Shop
  • Blog
  • Login / Register
  • Contact
0
Home » Blog » Learn Python For Free: 6 Tips
Learn Python for free

Learn Python For Free: 6 Tips

January 28, 2022

Getting started is hard, no matter what subject it is. Especially if you don’t want to spend money. You want to find Python learning resources that are both free and of the highest possible quality, so I’m sharing these tips to get started properly and learn Python for free!

Table of Contents

  • 1 1. Dive into the basics
  • 2 2. Use the REPL — All the time!
  • 3 3. Ask for help()
  • 4 4. Ask for help (from a human, this time)
  • 5 5. Don’t procrastinate learning about classes and objects
  • 6 6. Build something — Anything!

1. Dive into the basics

You’d think the Python website itself would contain a good tutorial like most other languages do. However, they mostly link to other sites, or dive in deep, assuming you are a seasoned programmer already. 

Python Land offers a free and easy to follow tutorial to the language, with topics like

  • A little Python history; the language is actually quite old!
  • Python installation instructions for all the major platforms
  • A beginner’s tutorial to Python covering basic like variables, functions, for-loops, etcetera

If you prefer videos, there are many high-quality and free courses on YouTube. Just use the search function and watch some of the more popular ones to find something (and someone) to your taste.

You’ll have to get your hands out of your pockets and start experimenting and coding yourself

Unfortunately, you don’t become a programmer by just reading or watching movies, just like you won’t become a carpenter by just reading about it. You’ll have to get your hands out of your pockets and start experimenting and coding yourself. If you ask me, there’s no better way to start experimenting than using the Python REPL.


2. Use the REPL — All the time!

The Python REPL is awesome, and it’s free! It’s an interactive environment in which you can use and try the language. REPL is an abbreviation for:

  • Read: Python reads your command
  • Evaluate: Python evaluates the input
  • Print: it prints out the result
  • Loop: and it’s ready for the next input

It allows you to quickly try stuff. Some examples of what you can do:

  • Enter simple commands, like 1+1 
  • Enter complete functions or even classes
  • Import and use modules

Basically, you can do everything Python can, but interactively. And because it’s so interactive, you directly see the results. Thanks to auto-complete, it will even help you find the right methods without looking up the documentation. And thanks to the help() function, can explore further without opening a manual or google.


3. Ask for help()

That’s right. You don’t need to google everything, and often, you don’t need to ask others either. All the core Python libraries have so-called docstrings included. 

Quoting from PEP-0257:

“A docstring is a string literal that occurs as the first statement in a module, function, class, or method definition. Such a docstring becomes the __doc__ special attribute of that object.”

Basically, most documentation is included with the code. And since Python is not compiled, but interpreted, it’s easy to pull up this documentation.

Python has one particularly handy built-in function to use these to your advantage. In the REPL, you can view a docstring, and more, with:

>>> help('mystring')

Just try it, and you’ll see a nicely formatted and scrollable document about Strings, including the docstring, plus the available methods and their descriptions.

In this list, you’ll also see the so-called “dunder methods”. They start and end with double underscores, like __add__(self, value, /) . If you’re a beginner, ignore them for now.


4. Ask for help (from a human, this time)

Get some real help — Photo by Brooke Cagle on Unsplash

Sometimes, you just need a little guidance from a fellow programmer. Before you ask a question, please read these tips. They will benefit you and the ones you ask. 

Developers have the reputation to get a little cranky when asking questions that you could have found the answer to with a simple google search. Always start with extensively trying to find an answer in other ways. Before you ask a question:

  • Read the documentation — also called RTFM, short for “read the f***ing manual.”
  • Search Google for the answer if the documentation is not clear enough or does not solve your problem.

This should solve about 80% of your questions — seriously. If you’re still stuck, consider where to ask for help first:

  • A bug tracker is not the place to ask questions that are not about (potential) bugs.
  • A developer mailing group is intended for developers working on the product, not developers using the product.
  • Many projects have a page instructing you how and where to ask questions. Look for such a page.
  • There are large Facebook groups dedicated to Python programming. I’ve also seen several Telegram groups about Python. In my experience, they can be messy and have a lot of noise, but often you’ll get your answer, so it’s worth checking those out.

Finally, before writing down your question, take these points in mind:

  • Be kind, be grateful. The people that answer you and try to help you often do so in their spare time, for free.
  • Be as detailed as possible. Provide context: what are you working on, why, what have you tried so far?
  • Include error messages, (parts of) log files, and the code giving the problem. Don’t dump entire files. Only include what is needed to get proper help.
  • Making a screenshot instead of photographing your screen

Beware of people asking you money for ‘tutoring’. As you know now, there are enough ways to ask your Python questions for free.


5. Don’t procrastinate learning about classes and objects

Python is inherently object-oriented. Everything in Python is an object, even numbers and strings. It is best to learn about objects and classes early on because it will greatly increase your understanding of the language. 

Believe me when I say you’ll reap the benefits of this very soon. Python Land has a large section on objects and classes in Python. It explains the concepts to beginners, but it also shows some of the inner workings to remove the ‘magic’ from the subject. Try it!


6. Build something — Anything!

The best way to learn is by building something. You can learn all the theory you want, follow all the tutorials you want, but you have to get started on a project at some point. And the beauty of programming, especially in Python, is that you can build the most wonderful things without spending a dime.

Don’t beat yourself up though. It doesn’t have to be perfect, especially if it’s one of your first projects. And remember, you can always start over and do better on the next try. Don’t be afraid to throw away what you have and start fresh.

“But what should I build?!” Good question. If you can’t think of something yourself, head over to our article ‘6 Python project ideas to improve your skills.’


Thank you for reading, and good luck! You can do this! The hardest part is getting started, so get started right now with our Python tutorial for beginners and learn Python for free!

Get certified with our courses

Learn Python properly through small, easy-to-digest lessons, progress tracking, quizzes to test your knowledge, and practice sessions. Each course will earn you a downloadable course certificate.

  • Sale Product on sale
    The Python Course for Beginners
    Beginners Python Course (2024)
    € 48.76 Original price was: € 48.76.€ 32.23Current price is: € 32.23.
  • Sale Product on sale
    Computer Fundamentals
    Files, Folders, And The Command Line (2024)
    € 32.23 Original price was: € 32.23.€ 15.70Current price is: € 15.70.
  • Sale Product on sale
    Modules, Packages, And Virtual Environments (2024)
    Modules, Packages, And Virtual Environments (2024)
    € 48.76 Original price was: € 48.76.€ 32.23Current price is: € 32.23.

Leave a Comment Cancel reply

You must be logged in to post a comment.

Subscribe to my newsletter for Python news, tips, and tricks!

Footer subscribe

  • Home
  • Python Courses
  • Privacy Policy
  • About Us
  • Contact us
©2025 Python Land - All rights reserved
Python Land is not affiliated with Python.org or the Python Software Foundation
  • Free Tutorial
    • Install Python
      • Online Python Interpreter
      • How To Open Python on Windows, Mac, Linux
    • Introduction to Python
      • The Python REPL
      • Python Variable
      • Python String
      • Python Print function
      • Python Booleans
      • For-loop and While-loop
      • Python Functions
      • Your First Python Program
      • Python Comments
    • Creating Python Programs
      • The Best Python IDE
      • Installing VSCode
      • VSCode Python Extensions
      • VSCode GUI Tour
      • Python in VSCode: Running and Debugging
    • Classes and Objects in Python
      • Python Constructor
      • Python Inheritance
    • Structure Your Project
      • Python Modules And Importing
      • Python Packages
    • Python Data Types
      • Python Integer
      • Python Float
      • Python Tuple
      • Python List
      • Python Set
      • Python Dictionary
    • Language Deep Dives
      • Python Try Except (Exceptions)
      • Python Functions: Advanced Concepts
      • List Comprehension
      • Python Iterator
      • Python Range
      • Python Docstrings
      • Python pass (Do Nothing)
    • Interaction with the OS
      • Python Read And Write File
      • Python Subprocess: Run External Commands
    • Venvs / Package Management
      • Working With Python’s venv
      • Pip install: the Python package manager
      • Python Poetry: Package and venv Management Made Easy
      • Python Pipenv: Another Package Manager
      • Pipx: Safely Install Packages Globally
    • Python Concurrency
      • The Python GIL (Global Interpreter Lock)
      • Setting the Baseline
      • Python Threading
      • Python Multiprocessing
    • Data Processing with Python
      • Working With JSON
        • JMESPath Python: JSON Query Language
      • Python YAML: How to Load, Read, and Write YAML
      • Python CSV: Read And Write CSV Files
    • Migrating From Python 2 to 3
      • Check Python Version On The Command-Line
      • How to Migrate To Python 3
      • Python 3 Advantages
    • Using The Unix Shell
      • Basic Linux Commands
      • Bash Scripts
      • Using the Find Command in Linux
      • Unix Pipes
      • Process and Highlight JSON with jq
      • Using the Bash History
      • Bash Multiprocessing
    • Deployment
      • PyInstaller: Create An Executable From Python Code
      • How To Use Docker To Containerize Your Python Project
      • Automatically Build and Deploy Your Python Application with CI/CD
      • Guerrilla Scale Your Web Application
    • Data Science
      • Jupyter Notebook
      • NumPy: Getting Started Tutorial
    • Python Learning Resources
  • Python Courses
  • Blog
  • Login / Register