Skip to content

Instantly share code, notes, and snippets.

Avatar

Aditya Gupta adityagupta679

  • India
View GitHub Profile
@adityagupta679
adityagupta679 / opug.py
Created Nov 19, 2016 — forked from sarahholderness/opug.py
For the Orlando Python Users Group I covered some beginner topics for those interested in getting started with Python! I hope it was beneficial and let me know if you have any questions!
View opug.py
# First, we went over doing some basic math
# and using variables
year = 2016
year_born = 1983
age = year - year_born
dog_years = age/7
print(dog_years)
@adityagupta679
adityagupta679 / emailer.py
Created Nov 19, 2016 — forked from sarahholderness/emailer.py
Python scripts to read a list of customer emails and send an email with the daily weather forecast
View emailer.py
import weather
import smtp
'''
Send a greeting email to our customer email list
with the daily weather forecast and schedule
'''
def get_emails():
# Reading emails from a file