반응형
반응형

독일은 나치의 만행과
제2차 세계대전에서의 패배를 겪은 뒤
만신창이가 된 국가를 일으켜 세우기 위해
'시민 교육'을 실시했다. 사회 전체를 개혁하고
변화시키기 이전에, 더 중요한 것은 개인이 행복할 수
있도록, 스스로 삶을 개척할 수 있도록 사회적
기반을 마련하는 것이라 여겼다. 그러한
개개인이 모두 공동체의 일원이 될 수
있도록 하는 것이 피폐해진 독일을
재건하는 방법이었다.


- 인디고 서원의 《인디고 바칼로레아 1》 중에서 -


* 이번 'BDS 독일 캠프'를 진행하며
다녀온 독일 사회의 밑바탕에 '시민 교육'의 힘이
자리잡고 있음을 다시금 실감했습니다. 국민 한 사람
한 사람이 행복할 수 있다면 그 가정이, 그 마을이,
그 도시가, 그 나라가 행복할 것입니다. 더 나아가
온 인류가, 온 지구가 보다 더 안전하고 행복할
것입니다. 각 개인의 안녕이 전체의 질서를
이루고 국가를 바로 세우는 일입니다.

반응형

'아침편지' 카테고리의 다른 글

살아 있음에 감사하렴  (0) 2023.08.23
거울 속의 흰머리 여자  (0) 2023.08.22
희망  (0) 2023.08.20
내면의 에너지 장  (0) 2023.08.18
오래 볼수록 더 반짝이는 별  (0) 2023.08.17
반응형

반응형
반응형

길은 있다

반응형

'아침편지' 카테고리의 다른 글

거울 속의 흰머리 여자  (0) 2023.08.22
독일의 '시민 교육'  (0) 2023.08.21
내면의 에너지 장  (0) 2023.08.18
오래 볼수록 더 반짝이는 별  (0) 2023.08.17
시간이라는 약  (0) 2023.08.16
반응형

https://pypi.org/project/secure-smtplib/

 

secure-smtplib

Secure SMTP subclasses for Python 2

pypi.org

secure-smtplib 0.1.1

 

pip install secure-smtplib

 

 

.chatGPT에게 " python email sending app " 이라고 질문했다. 

# chatGPT - python email sending app 
import tkinter as tk
from tkinter import messagebox
import smtplib
from email.mime.multipart import MIMEMultipart
from email.mime.text import MIMEText

def send_email():
    sender_email = sender_email_entry.get()
    sender_password = sender_password_entry.get()
    recipient_email = recipient_email_entry.get()
    subject = subject_entry.get()
    message = message_text.get("1.0", tk.END)
    
    try:
        # Set up the SMTP server
        smtp_server = smtplib.SMTP("smtp.gmail.com", 587)
        smtp_server.starttls()
        smtp_server.login(sender_email, sender_password)
        
        # Create the email
        email = MIMEMultipart()
        email["From"] = sender_email
        email["To"] = recipient_email
        email["Subject"] = subject
        email.attach(MIMEText(message, "plain"))
        
        # Send the email
        smtp_server.sendmail(sender_email, recipient_email, email.as_string())
        smtp_server.quit()
        
        messagebox.showinfo("Success", "Email sent successfully!")
    except Exception as e:
        messagebox.showerror("Error", f"An error occurred: {str(e)}")

# Create the main GUI window
root = tk.Tk()
root.title("Email Sending App")

# Create and place widgets
sender_email_label = tk.Label(root, text="Sender Email:")
sender_email_label.pack()

sender_email_entry = tk.Entry(root)
sender_email_entry.pack()

sender_password_label = tk.Label(root, text="Sender Password:")
sender_password_label.pack()

sender_password_entry = tk.Entry(root, show="*")
sender_password_entry.pack()

recipient_email_label = tk.Label(root, text="Recipient Email:")
recipient_email_label.pack()

recipient_email_entry = tk.Entry(root)
recipient_email_entry.pack()

subject_label = tk.Label(root, text="Subject:")
subject_label.pack()

subject_entry = tk.Entry(root)
subject_entry.pack()

message_label = tk.Label(root, text="Message:")
message_label.pack()

message_text = tk.Text(root, height=10, width=40)
message_text.pack()

send_button = tk.Button(root, text="Send Email", command=send_email)
send_button.pack()

root.mainloop()
반응형
반응형

★[동물농장] 설민석 강독 풀버전★역사적 사건을 빗댄 통렬한 정치 우화! '권력'의 속성은?! 

https://www.youtube.com/watch?v=bPHmADymnfU 

https://namu.wiki/w/%EB%8F%99%EB%AC%BC%EB%86%8D%EC%9E%A5(%EC%86%8C%EC%84%A4) 

 

동물농장(소설) - 나무위키

''The creatures outside looked from pig to man and, from man to pig, and from man to pig, and from pig to man again. But already it was impossible to say which was which.'' '' 창 밖의 동물들은 돼지에게서 인간으로, 인간에게서 돼지로,

namu.wiki

 

반응형
반응형

절망은 극적인 변화를 위한 원료이다.
자기가 믿었던 모든 것을 버릴 수 있는 자만이 탈출을 꿈꿀 수 있다.
만약 당신이 선택한 전략에 리스크가 존재하지 않는다면,
그건 결코 전략이라고 할 수 없다.
-리드 헤이스팅스, 넷플릭스 CEO

프랑스 소설가이자 철학자인 장 폴 사르트르는
'천재는 재능이 아니라 절망적인 처지 속에서 만들어지는
돌파구이다.'라고 갈파했습니다.
희망이란 절망 속에서 피는 꽃입니다.
창의와 혁신은 인생의 벼랑 끝에서 
절망을 에너지 삼아 미칠 듯이 몰입할 때 얻어지는 것입니다.

 

https://www.youtube.com/watch?v=jhVIRJwHwvs 

 

반응형

+ Recent posts