Prepare
Here's some stuff to prepare before hopping into Fabric...
Python
Fabric is an advanced and complex Python library. To take advantage of the full capabilities of Fabric, you should at least know the basics of Python and have some understanding of the following concepts:
- Packages: Installing packages via
pip
and using virtual environments - Variables & Data Types
- Functions with both
def
andlambda
- Conditionals
- Loops: For- and while-loops
- Exception Handling:
try
,except
,finally
- Classes and Object-Oriented Programming
Python Learning Resources
- Official Tutorial
- Automate the Boring Stuff, a free online book for complete beginners to programming
- Learn Python in y Minutes, complete cheat sheet for people who know programming already
- Swaroopch's free Python book
- Codeabbey, exercises for beginners
GTK
If you plan to hack into Fabric and create your own widgets or contribute, you will need some understanding of GTK. GTK learning resources are listed in the hacking guide.
Ready?
Assuming you already have Fabric installed by following this guide, let's get started by writing your first widget!