반응형 <개인공부> - IT82 Basic usage exchangelib (MS Exchange) MS Exchange is a intergrated software for email, calendar, tasks, and etc. There are many features that we can use. But this time, I introduce a basic usage of exchagelib with Python. Especially sending an email with an attachment. from exchangelib import * credentials = Credentials(username='yourusername', password='yourpassword') account = Account(primary_smtp_address='youremailaddress', crede.. 2020. 8. 1. Openpyxl - Make a report template Let's create a report template as shown above. import datetime import openpyxl from openpyxl.styles import Border, Side, Font, Alignment, PatternFill def createExcelFile(): # Excel File Creation nowDate = 'Report Date: ' + str(datetime.datetime.now().strftime('%Y-%m-%d')) wb = openpyxl.Workbook() ws = wb.active ws.title = 'SNMP Community' # Pretty display for the File font = Font(bold=True) alig.. 2020. 7. 30. Etherchannel - Intro (PAgP, LACP) There are three different EtherChannel modes: PAgP, LACP, and on. Both in PAgP and LACP mode negotiate to decide active ports. However, on mode so called static mode no negotiations happen. In other words, unlike dynamic methods, on mode cannot detect connectivity between devices. First, let's look into dynamic link aggregation protocols [PAgP] - Cisco proprietary protocol - Advertise messages w.. 2020. 7. 24. NAT - Inside local, inside global, outside local, outside global In this post, I briefly summary NAT terms which are inside local, inside global, ouside local, and outside global. I would like to elaborate the terms using the ablove topology. ip nat inside source static 10.10.10.1 171.16.68.5 interface s 0 ip nat inside interface s 1 ip nat outside In order to verify the NAT tranlations, we can use show ip nat translations command. If you look at the output a.. 2020. 7. 18. 이전 1 ··· 8 9 10 11 12 13 14 ··· 21 다음 반응형