X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=doc%2Fexamples%2Fcreating_parallel_mesh.py;h=6b9006e0c619b3d47a836739dea16f9949c599fb;hp=e837fc9d77b1281f4abf86833cb3e297803c4fe8;hb=d1392dc0345fb940899baa1121b9230843e47346;hpb=2271025156469ac1df7098dcbe2de2c1b8ed5190 diff --git a/doc/examples/creating_parallel_mesh.py b/doc/examples/creating_parallel_mesh.py index e837fc9d7..6b9006e0c 100644 --- a/doc/examples/creating_parallel_mesh.py +++ b/doc/examples/creating_parallel_mesh.py @@ -1,7 +1,11 @@ # contains function to compute a mesh in parallel from platform import java_ver import sys -from tkinter import W +try: + from tkinter import W +except: + print("warning: could not import tkinter") + import salome import time