Skip to content

Commit b0f8cda

Browse files
committed
projects/Store_emails_in_csv/store_emails.py: remove os.getcwd()
Your computer already knows which directory you are in
1 parent b6b4013 commit b0f8cda

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

projects/Store_emails_in_csv/store_emails.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
from bs4 import BeautifulSoup
1111

1212

13-
credential_path = os.getcwd() + "/credentials.txt"
14-
csv_path = os.getcwd() + "/mails.csv"
13+
credential_path = "credentials.txt"
14+
csv_path = "mails.csv"
1515

1616
host = "imap.gmail.com"
1717
port = 993

0 commit comments

Comments
 (0)