t to Python</button>
    <script>
        var editor;
        $(document).ready(function() {
            editor = CodeMirror.fromTextArea(document.getElementById("editor"), {
                lineNumbers: true,
                mode: "text/plain",
                theme: "default",
                lineWrapping: true
            });
            loadInitialData();
        });

        function loadInitialData() {
            $.ajax({
                url: '/send_data',
                type: 'POST',
              