#python-basics

[ follow ]
Pythonmorsels
1 month ago
JavaScript

Equality versus identity in Python

The equality operator (==) checks for equality based on value, while the is operator checks for identity based on object location. [ more ]
Realpython
4 months ago
Python

Python Basics Exercises: Installing Packages With pip - Real Python

Python package manager is pip
Virtual environments are used to separate project dependencies [ more ]
Realpython
4 months ago
Python

Python Basics Exercises: Lists and Tuples - Real Python

Python lists and tuples are containers for organizing and storing collections of objects
Lists are mutable, while tuples are immutable [ more ]
Realpython
6 months ago
Python

Python Basics Exercises: Strings and String Methods - Real Python

Manipulating strings with string methods
Working with user input
Dealing with strings of numbers
Formatting strings for printing [ more ]
Realpython
7 months ago
Python

Python Basics Exercises: Modules and Packages - Real Python

Creating your own modules
Using modules in another file through the import statement
Organizing several modules into a package with __init__.py [ more ]
Realpython
7 months ago
Python

Python Basics: Modules and Packages - Real Python

Creating modules helps organize large code projects.
Modules can be imported and used in other files.
Modules can be organized into packages. [ more ]
[ Load more ]