Skip to main content
Stack Overflow
  1. About
  2. For Teams

Timeline for How do I integrate a HTML code in a Python Script?

Current License: CC BY-SA 4.0

14 events
when toggle format what by license comment
Jun 10, 2019 at 0:03 history bounty awarded Community Bot
Jun 4, 2019 at 17:19 comment added Piyush Patil @SamuelCooper I Defined the variable but still the same thing in the email "data_1"
Jun 4, 2019 at 14:43 comment added Samuel Cooper Assign a value to the variables data_1 and data_2 and it should fill that data into the table.
Jun 4, 2019 at 14:42 comment added Piyush Patil Yes but it just have the word data_1 and data_2 in the emaul body
Jun 4, 2019 at 14:42 comment added Samuel Cooper Is it in a table?
Jun 4, 2019 at 14:41 comment added Piyush Patil @SamuelCooper I am getting a email which has data_1 and data_2 in the body
Jun 2, 2019 at 20:29 comment added Piyush Patil Ok Implementing the above code in our big data tool script will get back to you
Jun 2, 2019 at 13:51 comment added Samuel Cooper I've added an example case.
Jun 2, 2019 at 13:35 history edited Samuel Cooper CC BY-SA 4.0
added 627 characters in body
Jun 2, 2019 at 13:26 comment added Piyush Patil @SamuelCooper I can keep it a separate file or I can make it a string so if you can provide me a full code in the answer that will be really helpful.
Jun 2, 2019 at 13:25 comment added Samuel Cooper @error2007s are you taking the HTML template you just provided as a string??
Jun 2, 2019 at 13:15 comment added Samuel Cooper The officail documentaion is on the python docs, however I've found this guide on python emails on nitrate useful in the past.
Jun 2, 2019 at 13:12 comment added Malekai If you don't mind me asking, where can I find the documentation for the MIMEText method?
Jun 2, 2019 at 13:04 history answered Samuel Cooper CC BY-SA 4.0

AltStyle によって変換されたページ (->オリジナル) /