We'd like you all to get acquainted with the basic syntax of Python so that you feel more comfortable in the workshop and we're able to build more cool stuff!!
Ideally you'd take a look at:
- Variables and Types
- Strings
- Loops
- Conditions
- Functions
# Code used for the Delta Workshop on Python and Linux 2016 at NIT, Trichy | |
import urllib | |
from time import sleep | |
import requests # http://docs.python-requests.org/en/master/ | |
from bs4 import BeautifulSoup # https://www.crummy.com/software/BeautifulSoup/bs4/doc/ | |
# Try printing out the variables at various stages to view the objects | |
# Better yet execute this in your Python interpreter to see all the action happening |
#!/bin/bash | |
pactl load-module module-bluetooth-discover |