Salome HOME
Porting to python3
[modules/paravis.git] / test / VisuPrs / Plot3D / F5.py
index 2e27729da142fb3559307f5aaad41e01ed43391f..1f930b43e6d6755ae6c05c74fc177056fa1959e1 100755 (executable)
@@ -1,4 +1,4 @@
-# Copyright (C) 2010-2014  CEA/DEN, EDF R&D
+# Copyright (C) 2010-2016  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
 import sys
 from paravistest import datadir, pictureext, get_picture_dir
 from presentations import CreatePrsForFile, PrsTypeEnum
-import paravis
-
-# Create presentations 
-myParavis = paravis.myParavis
 
 # Directory for saving snapshots
-picturedir = get_picture_dir("Plot3D/F5") 
+picturedir = get_picture_dir("Plot3D/F5")
 
 file = datadir + "maill.1.med"
-print " --------------------------------- "
-print "file ", file
-print " --------------------------------- "
-print "CreatePrsForFile..."
-CreatePrsForFile(myParavis, file, [PrsTypeEnum.PLOT3D], picturedir, pictureext)
+print(" --------------------------------- ")
+print("file ", file)
+print(" --------------------------------- ")
+print("CreatePrsForFile...")
+CreatePrsForFile(file, [PrsTypeEnum.PLOT3D], picturedir, pictureext)