{"id":73765,"date":"2026-06-15T12:42:10","date_gmt":"2026-06-15T19:42:10","guid":{"rendered":"https:\/\/www.dragonframe.com\/?post_type=ufaq&#038;p=73765"},"modified":"2026-10-29T10:34:23","modified_gmt":"2026-10-29T17:34:23","slug":"python-integration","status":"publish","type":"ufaq","link":"https:\/\/www.dragonframe.com\/fr\/ufaqs\/python-integration\/","title":{"rendered":"Int\u00e9gration Python"},"content":{"rendered":"<style>.ewd-ufaq-faq-display-style-block:hover, .ewd-ufaq-faq-display-style-block:hover a, .ewd-ufaq-faq-display-style-block:hover h1, .ewd-ufaq-faq-display-style-block:hover h2, .ewd-ufaq-faq-display-style-block:hover h3, .ewd-ufaq-faq-display-style-block:hover h4, .ewd-ufaq-faq-display-style-block:hover h5, .ewd-ufaq-faq-display-style-block:hover h6,\r\n.ewd-ufaq-faq-display-style-block.ewd-ufaq-post-active, .ewd-ufaq-faq-display-style-block.ewd-ufaq-post-active a {\r\n    text-decoration: none !important;\r\n    color: #fff;\r\n    background: inherit !important;\r\n}\r\n\r\n.ui-autocomplete {\r\nbackground:#3e3e3e;\r\n}\r\n\r\n.ufaq-faq-category-title {\r\nmargin-top:20px;\r\n}\r\n\r\ndiv.ufaq-faq-title h4 {\r\nfont-size:18px;\r\n}\r\n\r\ndiv.ewd-ufaq-faq-post h4 {\r\nfont-size:20px;\r\nmargin-bottom:5px;\r\nmargin-top:5px;\r\ncolor: #ffffff;\r\nfont-weight: 600;\r\n}\r\n\r\ndiv.ewd-ufaq-faq-post h5 {\r\nfont-size:18px;\r\nmargin-bottom:12px;\r\nmargin-top:0;\r\ncolor: #ffffff;\r\nfont-weight: 600;\r\n}\r\n\r\ndiv.ufaq-faq-title div.ewd-ufaq-post-margin-symbol {\r\npadding:6px 0 0 2px;\r\n}\r\n\r\n.ufaq-faq-display-style-Minimalist .ewd-ufaq-post-margin-symbol span {\r\nfont-size:19px;\r\n}\r\n.single-ufaq .ewd-ufaq-permalink {\r\ndisplay: none;\r\n}\r\n\r\n.single-ufaq .single-navigation {\r\ndisplay: none;\r\n}\r\n\r\n.single-ufaq h2 {\r\n margin-bottom: 20px;\r\n}\r\n.single-ufaq .ewd-ufaq-faq-title {\r\n display: none;\r\n}\r\n.single-ufaq .entry-date {\r\n display: none;\r\n}\r\n.single-ufaq #primary {\r\n margin-left: auto;\r\n margin-right: auto;\r\n margin-top: 80px;\r\n float: none;\r\n}\r\n.ewd-ufaq-faq-post a {\r\n    color: #d89222 !important;\r\n}\r\n\r\ndiv.ewd-ufaq-faq-post p {\r\n margin-bottom: 0px;\r\n}<\/style><div  class=\"ewd-ufaq-faq-list ewd-ufaq-page-type-distinct ewd-ufaq-category-tabs-\" id='ewd-ufaq-faq-list'>\n\n\t<input type='hidden' name='show_on_load' value='' id='ewd-ufaq-show-on-load' \/>\n<input type='hidden' name='include_category' value='' id='ewd-ufaq-include-category' \/>\n<input type='hidden' name='exclude_category' value='' id='ewd-ufaq-exclude-category' \/>\n<input type='hidden' name='orderby' value='title' id='ewd-ufaq-orderby' \/>\n<input type='hidden' name='order' value='asc' id='ewd-ufaq-order' \/>\n<input type='hidden' name='post_count' value='-1' id='ewd-ufaq-post-count' \/>\n<input type='hidden' name='current_url' value='\/fr\/wp-json\/wp\/v2\/ufaq\/73765' id='ewd-ufaq-current-url' \/>\n\t\n\t\n\t<div class='ewd-ufaq-faqs'>\n\n\t\t<div  class=\"ewd-ufaq-faq-div ewd-ufaq-faq-column-count-one ewd-ufaq-faq-responsive-columns- ewd-ufaq-faq-display-style-default ewd-ufaq-can-be-toggled\" id='ewd-ufaq-post-73765-MtGjA83xYk' data-post_id='73765'>\n\n\t\t\n\t<div class='ewd-ufaq-faq-title ewd-ufaq-faq-toggle'>\n\t\n\t<a class='ewd-ufaq-post-margin'  href='#' role=\"button\">\n\n\t\t<div class='ewd-ufaq-post-margin-symbol ewd-ufaq-square' data-no-translation=\"\">\n\t\t\t<span >A<\/span>\n\t\t<\/div>\n\n\t\t<div class='ewd-ufaq-faq-title-text'>\n\n\t\t\t<h4>\n\t\t\t\tInt\u00e9gration Python\t\t\t<\/h4>\n\n\t\t<\/div>\n\n\t\t<div class='ewd-ufaq-clear'><\/div>\n\n\t<\/a>\n\t\n<\/div>\n\t\n\t<div class='ewd-ufaq-faq-body' >\n\n\t\t\n\t\t\t\n\t\t\n\t\t\t<div class='ewd-ufaq-post-margin ewd-ufaq-faq-post'>\n\t\n<p class=\"wp-block-paragraph\">\u00c0 partir de Dragonframe 2027 (actuellement en d\u00e9veloppement), Dragonframe prend en charge Python + PySide (jusqu'\u00e0 Qt 6.12).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Apr\u00e8s avoir install\u00e9 le <a href=\"\/fr\/dev\/\">Version de d\u00e9veloppement 2027.01<\/a>, cr\u00e9ez un fichier d&#039;initialisation Python \u00e0 l&#039;emplacement ~\/Dragonframe\/scripts\/__init__.py<br>Vous pouvez d\u00e9finir une variable d&#039;environnement, DRAGONFRAME_PYTHON_INIT, sur une liste de chemins s\u00e9par\u00e9s par des deux-points qui contiennent d&#039;autres fichiers __init__.py.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Vous pouvez \u00e9galement d\u00e9finir une variable d&#039;environnement, `DRAGONFRAME_PYTHONPATH`, contenant une liste de chemins vers les r\u00e9pertoires des modules Python, s\u00e9par\u00e9s par deux-points. Dragonframe ajoutera ces chemins \u00e0 `sys.path`, apr\u00e8s ses propres entr\u00e9es.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">L&#039;interface est actuellement en cours d&#039;\u00e9laboration. Elle est susceptible d&#039;\u00e9voluer avant la version finale.<br>Notez que toutes les fonctions doivent \u00eatre appel\u00e9es uniquement depuis le thread principal, \u00e0 l&#039;exception de util.executeInMainThread et util.executeInMainThreadWithResult.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Voici les modules et m\u00e9thodes disponibles\u00a0:<\/p>\n\n\n\n<pre class=\"wp-block-code\" data-no-translation=\"\"><code>=== dragonframe.ui ===\n\n--------------------------------------------------------------------------------\n\nMembers:\n\n  FileMenu : The File menu.\n\n  EditMenu : The Edit menu.\n\n  ViewMenu : The View menu.\n\n  SceneMenu : The Scene menu.\n\n  CaptureMenu : The Capture menu.\n\n  PlaybackMenu : The Playback menu.\n\n  WindowMenu : The Window menu.\n\n  HelpMenu : The Help menu.\n\n  UserTopLevel1 : A top-level user menu.\n\n  UserTopLevel2 : A top-level user menu.\n\n  UserTopLevel3 : A top-level user menu.\n\n  AudioMenu : The audio workspace menu.\n\n  ArcMenu : The Arc workspace menu.\n\n  DmxProgramMenu : The DMX program menu.\n\n  MediaLayersAddMenu : The media layer + menu.\n\n  CinematographyImageContextMenu : The right-click context menu on the cinematography image.\n\n--------------------------------------------------------------------------------\n\naddMenuOption(location: dragonframe.ui.Menu, label: str, callback: object, kwargs: dict = {}) -&gt; None\n\nAdd a menu item to the specified menu.\n\n    location -- Menu value indicating which menu to add the item to\n    label    -- display text for the menu item\n    callback -- callable invoked with no arguments when the item is selected\n    kwargs -- dictionary with additional arguments - 'checked' = True\/False, 'shortcut' = shortcut\n\n\n--------------------------------------------------------------------------------\n\naddMenuSeparator(location: dragonframe.ui.Menu) -&gt; None\n\nAdd a separator line to the specified menu.\n\n    location -- Menu value indicating which menu to add the separator to\n\n\n--------------------------------------------------------------------------------\n\nisMenuOptionChecked(location: dragonframe.ui.Menu, label: str) -&gt; bool\n\nReturns if a menu item is checked.\n\n    location -- Menu value indicating which menu to add the item to\n    label    -- display text for the menu item\n\n\n--------------------------------------------------------------------------------\n\nsetMenuOptionChecked(location: dragonframe.ui.Menu, label: str, checked: bool) -&gt; None\n\nSets a menu item to be checkable and sets the current value.\n\n    location -- Menu value indicating which menu to add the item to\n    label    -- display text for the menu item\n    checked  -- whether the menu item is checked\n\n\n--------------------------------------------------------------------------------\n\nsetTopLevelMenuName(location: dragonframe.ui.Menu, label: str) -&gt; None\n\nSet the name of a user-defined top level menu.\n\n    location -- UserTopLevel1, UserTopLevel2, or UserTopLevel3\n    label    -- display text for the menu\n\n\n\n=== dragonframe.events ===\n\n--------------------------------------------------------------------------------\n\nMembers:\n\n  Shoot : A capture (shoot) has been initiated.\n\n  Delete : A frame has been deleted.\n\n  Position : The playhead position has changed.\n\n  CaptureComplete : A single exposure capture has completed.\n\n  FrameComplete : All exposures for the current frame have been captured.\n\n  TestComplete : A test shot capture has completed.\n\n  Edit : An edit operation has occurred.\n\n  AfterAssist : An assist operation has finished.\n\n  Exposure : The active exposure (pass) has changed.\n\n  Bash : A bash\/shell script event has fired.\n\n  Save : The scene has been saved.\n\n  NewTake : A new take has been created.\n\n  TakeOpened : A take has been opened.\n\n  CaptureFailed : A capture attempt failed.\n\n  MocoDisconnected : The motion control rig has disconnected.\n\n  CameraDisconnected : The camera has disconnected.\n\n--------------------------------------------------------------------------------\n\nregisterInterest(types: list&#091;dragonframe.events.EventType], callback: object) -&gt; None\n\nRegister a callback to be invoked when any of the given EventType values occur.\n\n    types    -- list of EventType values to listen for\n    callback -- callable invoked with the EventType when the event fires\n\nExample:\n\n    def on_event(ev):\n        print(\"event: \" + str(ev.event_type))\n        print(\"frame: \" + str(ev.args&#091;\"frame\"]))\n        print(\"exposure: \" + str(ev.args&#091;\"exposure\"]))\n    dragonframe.events.registerInterest(\n        &#091;dragonframe.events.EventType.FrameComplete], on_event)\n\n\n--------------------------------------------------------------------------------\n\nregisterNoteSetChangeListener(set: str, callback: object) -&gt; None\n\nRegister a callback to be invoked when the note set changes.\n\n    set      -- the note set name that you are interested in\n    callback -- callable invoked when the note set changes\n\nExample:\n    def on_note_change_event(set):\n        print(\"notes change: \" + set)\n        notes = scene.getNotes(\"sync\")\n        for key, value in notes.items():\n            print(f\"NOTE: {key} = {value}\")\n    dragonframe.events.registerNoteSetChangeListener(\"sync\", on_note_change_event)\n\n\n=== dragonframe.scene ===\n\n--------------------------------------------------------------------------------\n\nclearNote(name: str, frame: int) -&gt; None\n\nClears the note at the frame for this note set.\n\n    name -- the name of the note set\n    frame -- the frame to clear\n\n\n--------------------------------------------------------------------------------\n\ncreateNoteSet(name: str) -&gt; bool\n\nCreates a new note set with this name, if it doesn't already exist.\n\n    name -- the name of the note set\n\n\n--------------------------------------------------------------------------------\n\ncurrentExposure() -&gt; int\n\nReturn the 1-based index of the currently active exposure (pass), or 0 if no scene is open.\n\n\n--------------------------------------------------------------------------------\n\ncurrentFrame() -&gt; int\n\nReturn the 1-based index of the currently selected frame, or 0 if no scene is open.\n\n\n--------------------------------------------------------------------------------\n\nexposureCount() -&gt; int\n\nReturn the number of exposures (passes) defined in the current scene, or 0 if no scene is open.\n\n\n--------------------------------------------------------------------------------\n\nexposureFolder(exp: int) -&gt; str\n\nReturn the absolute path to the capture folder for the given exposure.\n\n    exposure -- 1-based exposure (pass) index\nReturns an empty string if no scene is open.\n\n\n--------------------------------------------------------------------------------\n\nexposureFramePrefix(exp: int) -&gt; str\n\nReturn the file name prefix used for captured frames of the given exposure.\n\n    exp -- 1-based exposure index\nReturns an empty string if no scene is open.\n\n\n--------------------------------------------------------------------------------\n\nexposureName(exp: int) -&gt; str\n\nReturn the display name of the given exposure (pass).\n\n    exp -- 1-based exposure index\nReturns an empty string if no scene is open.\n\n\n--------------------------------------------------------------------------------\n\nfeedFolder() -&gt; str\n\nReturn the absolute path to the live-view feed folder, or an empty string if no scene is open.\n\n\n--------------------------------------------------------------------------------\n\ngetNotes(name: str) -&gt; dict\n\nReturns all the notes for this note set.\n\n    name -- the name of the note set\n\n\n--------------------------------------------------------------------------------\n\nhasNoteSet(name: str) -&gt; bool\n\nReturns true if the xsheet has a note set by this name.\n\n    name -- the name of the note set\n\n\n--------------------------------------------------------------------------------\n\nhighResFile(vframe: int, exposure: int, raw: bool) -&gt; str\n\nReturn the file path of the captured image for a given frame and exposure.\n\n    vframe   -- 1-based virtual frame number\n    exposure -- 1-based exposure (pass) index\n    raw      -- if True, return the path to the raw file instead of the processed image\n\n\n--------------------------------------------------------------------------------\n\nimportAxisSetup(fileName: str) -&gt; None\n\nImport a motion control axis setup file.\n\n    fileName -- absolute path to the .dfscene file\n\n\n--------------------------------------------------------------------------------\n\nloadMediaIntoReferences(fileNames: list&#091;str]) -&gt; None\n\nLoad images into the references folder.\n\n\n\n\n--------------------------------------------------------------------------------\n\nloadMediaIntoTestShots(fileNames: list&#091;str]) -&gt; None\n\nLoad images into the test shots folder.\n\n\n\n\n--------------------------------------------------------------------------------\n\nloadReferenceLayerImage(fileName: str, kwargs: dict = {}) -&gt; bool\n\nLoad a still image as the active reference layer.\n\n    fileName -- absolute path to the image file\n    kwargs -- 'offsetX', 'offsetY', 'scale', 'transformMirror',\n              'transformRotate', 'transformPortrait', 'volume'\n\n\n--------------------------------------------------------------------------------\n\nloadReferenceLayerImageSequence(fileName: str, kwargs: dict = {}) -&gt; bool\n\nLoad an image sequence as the active reference layer.\n\n    fileName -- absolute path to the first frame of the image sequence\n    kwargs -- 'offsetX', 'offsetY', 'scale', 'transformMirror',\n              'transformRotate', 'transformPortrait', 'volume'\n\n\n--------------------------------------------------------------------------------\n\nloadReferenceLayerMovie(fileName: str, kwargs: dict = {}) -&gt; bool\n\nLoad a movie file as the active reference layer.\n\n    fileName -- absolute path to the movie file\n    kwargs -- 'offsetX', 'offsetY', 'scale', 'transformMirror',\n              'transformRotate', 'transformPortrait', 'volume'\n\n\n--------------------------------------------------------------------------------\n\nloadReferenceLayerScene(fileName: str, kwargs: dict = {}) -&gt; bool\n\nLoad another Dragonframe scene as the active reference layer.\n\n    fileName -- absolute path to the .dfscene file\n    kwargs -- 'offsetX', 'offsetY', 'scale', 'transformMirror',\n              'transformRotate', 'transformPortrait', 'volume'\n\n\n--------------------------------------------------------------------------------\n\nname() -&gt; str\n\nReturn the full name of the open scene, or an empty string if no scene is open.\n\n\n--------------------------------------------------------------------------------\n\nnamePrefix() -&gt; str\n\nReturn the name prefix used when constructing frame file names, or an empty string if no scene is open.\n\n\n--------------------------------------------------------------------------------\n\nopenFile(fileName: str) -&gt; bool\n\nLoad a scene or take. If you provide a .dgn folder, the Choose Take dialog will appear.\n\n    fileName -- path to scene.dgn or take folder\n\n\n--------------------------------------------------------------------------------\n\nsave() -&gt; None\n\nSave the current scene to disk. Has no effect if no scene is open.\n\n\n--------------------------------------------------------------------------------\n\nsceneFolder() -&gt; str\n\nReturn the absolute path to the scene folder, or an empty string if no scene is open.\n\n\n--------------------------------------------------------------------------------\n\nsceneName() -&gt; str\n\nReturn the scene number\/identifier portion of the scene name, or an empty string if no scene is open.\n\n\n--------------------------------------------------------------------------------\n\nsetCurrentExposure(exp: int) -&gt; None\n\nSet the currently active exposure (pass).\n\n    exp -- 1-based exposure index\nHas no effect if no scene is open.\n\n\n--------------------------------------------------------------------------------\n\nsetCurrentFrame(frame: int) -&gt; None\n\nSet the currently selected frame.\n\n    frame -- 1-based frame index\nHas no effect if no scene is open.\n\n\n--------------------------------------------------------------------------------\n\nsetNote(name: str, frame: int, message: str) -&gt; None\n\nSets the note message at the frame for this note set.\n\n    name -- the name of the note set\n    frame -- the frame\n    message -- the message to set\n\n\n\n--------------------------------------------------------------------------------\n\ntakeFile() -&gt; str\n\nReturn the absolute path to the scene data file (.dfscene), or an empty string if no scene is open.\n\n\n--------------------------------------------------------------------------------\n\ntakeFolder() -&gt; str\n\nReturn the absolute path to the current take folder, or an empty string if no scene is open.\n\n\n--------------------------------------------------------------------------------\n\ntakeName() -&gt; str\n\nReturn the take number\/identifier portion of the scene name, or an empty string if no scene is open.\n\n\n--------------------------------------------------------------------------------\n\ntestRefsFolder() -&gt; str\n\nReturn the absolute path to the test reference images folder, or an empty string if no scene is open.\n\n\n--------------------------------------------------------------------------------\n\ntestShotsFolder() -&gt; str\n\nReturn the absolute path to the test shots folder, or an empty string if no scene is open.\n\n\n=== dragonframe.util ===\n\n--------------------------------------------------------------------------------\n\nexecuteInMainThread(call: object, args: object = (), kwargs: dict = {}) -&gt; None\n\nExecutes a call on the main thread.\n\n\n--------------------------------------------------------------------------------\n\nexecuteInMainThreadWithResult(call: object, args: object = (), kwargs: dict = {}) -&gt; object\n\nExecutes a call on the main thread, waiting for the result.\n\n\n--------------------------------------------------------------------------------\n\nexecuteScript(action: str) -&gt; None\n\nExecutes the user-provided bash\/bat script (in Preferences|Advanced).\n\n    action -- The action name that will be provided to the script<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Voici un exemple de fichier __init__.py\u00a0:<\/p>\n\n\n\n<pre class=\"wp-block-code\" data-no-translation=\"\"><code>print(\"Initializing Dragonframe python\")\n\nfrom dragonframe import ui\nfrom dragonframe import events\nfrom dragonframe import scene\n\ndef print_module_docs(mod):\n    name = getattr(mod, '__name__', str(mod))\n    print(f\"\\n=== {name} ===\")\n    for attr in sorted(dir(mod)):\n        if attr.startswith('_'):\n            continue\n        obj = getattr(mod, attr)\n        doc = getattr(obj, '__doc__', None)\n        if doc:\n            print(f\"\\n{attr}:\\n{doc}\")\n\nprint_module_docs(ui)\nprint_module_docs(events)\nprint_module_docs(scene)\n\nfrom PySide6.QtWidgets import (QFileDialog)\n\ndef get_media(user_data: dict):\n    print(\"get_media\")\n    print(f\"Scene Name {scene.name()} {scene.sceneName()} {scene.takeName()}\")\n    fileNames, _ = QFileDialog.getOpenFileNames(None, \"Get Media\",\n                                              \"Test Python\",\n                                              \"All Files (*);;Media Files (*.jpg,*.png,*.tiff,*.crw)\", \"\")\n    if fileNames:\n        print(f\"Chosen files {fileNames}\")\n        scene.loadMediaIntoReferences(fileNames);\n\ndef load_reference_image():\n    print(\"load_reference_image\")\n    print(f\"Scene Name {scene.name()} {scene.sceneName()} {scene.takeName()}\")\n    fileName, _ = QFileDialog.getOpenFileName(None, \"Load Reference Image\",\n                                              \"Test Python\",\n                                              \"All Files (*);;Image Files (*.jpg,*.png,*.tiff,*.crw)\", \"\")\n    if fileName:\n        print(f\"Chosen file {fileName}\")\n        scene.loadReferenceLayerImage(fileName);\n\ndef launch_image(user_data: dict):\n    print(\"Launch image! \")\n    print(\"Exposure: \" + str(user_data&#091;\"exposure\"]))\n    frameList = user_data&#091;\"frames\"];\n    for frame in frameList:\n        fileName = scene.highResFile(frame, user_data&#091;\"exposure\"], False)\n        rawFileName = scene.highResFile(frame, user_data&#091;\"exposure\"], True)\n        print(f\"FRAME: {frame}, File {fileName}, Raw {rawFileName}\");\n\nui.addMenuSeparator(ui.Menu.FileMenu);\nui.addMenuOption(ui.Menu.FileMenu, \"Company|Load Reference Image\", load_reference_image);\n\nui.addMenuOption(ui.Menu.CinematographyImageContextMenu, \"My Launcher\", launch_image, { \"shortcut\": \"Ctrl+G\" });\nui.addMenuOption(ui.Menu.CinematographyImageContextMenu, \"Import to References\", get_media);\n\ndef handle_shoot(user_data: events.Event):\n    print(\"Shooting! \" + str(user_data.event_type) + \" \"  + str(user_data.args&#091;\"frame\"]) + \" \" + str(user_data.args&#091;\"exposure\"]));\n\ndef handle_position(user_data: events.Event):\n    print(\"POSITION: \" + str(user_data.event_type) + \" \"  + str(user_data.args&#091;\"frame\"]) + \" \" + str(user_data.args&#091;\"exposure\"]));\n\ndef handle_cc(user_data: events.Event):\n    print(\"CC: \" + str(user_data.event_type) + \" \"  + str(user_data.args&#091;\"frame\"]) + \" \" + str(user_data.args&#091;\"exposure\"]));\n\n\nevents.registerInterest(&#091;events.EventType.Shoot], handle_shoot);\nevents.registerInterest(&#091;events.EventType.Position], handle_position);\nevents.registerInterest(&#091;events.EventType.CaptureComplete], handle_cc);<\/code><\/pre>\n<\/div>\n\t\t\n\t\t\t\n\t\t\n\t\t\t\n\t\t\n\t\t\t\n\t\t\n\t\t\t\n\t\t\n\t\t\t\n\t\t\n\t\t\t<div class='ewd-ufaq-permalink'>\n\t\n\t<a href='https:\/\/www.dragonframe.com\/fr\/ufaqs\/python-integration\/'>\n\t\t\n\t\tLien permanent\t\t\t\n\t<\/a>\n\n<\/div>\n\t\t\n\t\t\t\n\t\t\n\t\t\t\n\t\t\n\t<\/div>\n\n<\/div>\n\t<\/div>\n\n\t\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Int\u00e9gration de Python\u00a0: \u00c0 partir de Dragonframe 2027 (actuellement en d\u00e9veloppement), Dragonframe prend en charge Python et PySide (jusqu'\u00e0 Qt 6.12). Apr\u00e8s avoir install\u00e9 la version de d\u00e9veloppement 2027.01, cr\u00e9ez un fichier d'initialisation Python dans ~\/ Dragonframe \/scripts\/__init__.py. Vous pouvez d\u00e9finir une variable d'environnement, DRAGONFRAME_PYTHON_INIT, contenant une liste de chemins s\u00e9par\u00e9s par deux-points et incluant d'autres fichiers __init__.py. Vous pouvez \u00e9galement d\u00e9finir une variable d'environnement\u2026 <a title=\"Int\u00e9gration Python\" class=\"read-more\" href=\"https:\/\/www.dragonframe.com\/fr\/ufaqs\/python-integration\/\" aria-label=\"En savoir plus sur l&#039;int\u00e9gration Python\">En savoir plus<\/a><\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","ufaq-category":[417],"ufaq-tag":[],"class_list":["post-73765","ufaq","type-ufaq","status-publish","hentry","ufaq-category-scripting","no-featured-image-padding"],"_links":{"self":[{"href":"https:\/\/www.dragonframe.com\/fr\/wp-json\/wp\/v2\/ufaq\/73765","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dragonframe.com\/fr\/wp-json\/wp\/v2\/ufaq"}],"about":[{"href":"https:\/\/www.dragonframe.com\/fr\/wp-json\/wp\/v2\/types\/ufaq"}],"author":[{"embeddable":true,"href":"https:\/\/www.dragonframe.com\/fr\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dragonframe.com\/fr\/wp-json\/wp\/v2\/comments?post=73765"}],"wp:attachment":[{"href":"https:\/\/www.dragonframe.com\/fr\/wp-json\/wp\/v2\/media?parent=73765"}],"wp:term":[{"taxonomy":"ufaq-category","embeddable":true,"href":"https:\/\/www.dragonframe.com\/fr\/wp-json\/wp\/v2\/ufaq-category?post=73765"},{"taxonomy":"ufaq-tag","embeddable":true,"href":"https:\/\/www.dragonframe.com\/fr\/wp-json\/wp\/v2\/ufaq-tag?post=73765"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}