Skip to content

Instantly share code, notes, and snippets.

View adityagupta679's full-sized avatar

Aditya Gupta adityagupta679

  • India
View GitHub Profile
@adityagupta679
adityagupta679 / opug.py
Created November 19, 2016 11:36 — 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!
# 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 November 19, 2016 11:35 — forked from sarahholderness/emailer.py
Python scripts to read a list of customer emails and send an email with the daily weather forecast
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