Markdown Monster
python code
Gravatar is a globally recognized avatar based on your email address. python code
  KOUASSI GERARD KOUADIO
  All
  Feb 9, 2021 @ 09:14am

Hello I would like to know if it is possible to run python code in Markdown monster. Markdown monster displays, but does not run the python code. Is it possible to execute python codes? Indeed in a report that I am writing, I would like to insert results of the execution of the python code (graphics, tables, calculations, etc.)

for example, it displays this code in the report, but doesn't run it

import pandas as pd
import matplotlib.pyplot as plt
import numpy as np

data = pd.read_excel("C:/Users/User/Desktop/donnees.xlsx")
print(data.head(4))

If possible, please help me

Gravatar is a globally recognized avatar based on your email address. re: python code
  Rick Strahl
  KOUASSI GERARD KOUADIO
  Feb 9, 2021 @ 02:11pm

No - it's not possible. Python code is server side code, not running in the browser.

Markdown Monster only renders Markdown for previews (or if you capture it into a PDF/HTML doc) but if you take the markdown and load it somewhere else (like GitHub) the rendering is dependent on what that platform uses.

+++ Rick ---

Gravatar is a globally recognized avatar based on your email address. re: python code
  KOUASSI GERARD KOUADIO
  Rick Strahl
  Feb 11, 2021 @ 12:44am

Thank you for your answer

© 1996-2021