summaryrefslogtreecommitdiff
path: root/src/subcircuit
diff options
context:
space:
mode:
Diffstat (limited to 'src/subcircuit')
-rw-r--r--src/subcircuit/Subcircuit.py2
-rw-r--r--src/subcircuit/convertSub.py2
-rw-r--r--src/subcircuit/newSub.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/subcircuit/Subcircuit.py b/src/subcircuit/Subcircuit.py
index f53acc6a..bf7481eb 100644
--- a/src/subcircuit/Subcircuit.py
+++ b/src/subcircuit/Subcircuit.py
@@ -53,7 +53,7 @@ class Subcircuit(QtGui.QWidget):
self.subcircuit.createSubcircuit(self.schematic_name)
else:
- print "Sub circuit creation cancelled"
+ print("Sub circuit creation cancelled")
def editsch(self):
diff --git a/src/subcircuit/convertSub.py b/src/subcircuit/convertSub.py
index 358028ed..ca1d1a4f 100644
--- a/src/subcircuit/convertSub.py
+++ b/src/subcircuit/convertSub.py
@@ -18,7 +18,7 @@ class convertSub(QtGui.QWidget):
"""
This function create command to call kicad to Ngspice converter.
"""
- print "Openinig Kicad-to-Ngspice converter from Subcircuit Module"
+ print("Openinig Kicad-to-Ngspice converter from Subcircuit Module")
self.projDir = self.obj_appconfig.current_subcircuit["SubcircuitName"]
#Validating if current project is available or not
if self.obj_validation.validateKicad(self.projDir):
diff --git a/src/subcircuit/newSub.py b/src/subcircuit/newSub.py
index 7ea247ab..229c3f46 100644
--- a/src/subcircuit/newSub.py
+++ b/src/subcircuit/newSub.py
@@ -31,7 +31,7 @@ class NewSub(QtGui.QWidget):
#Checking Validations Response
if self.reply == "VALID":
- print "Validated : Creating subcircuit directory"
+ print("Validated : Creating subcircuit directory")
try:
os.mkdir(self.schematic_path)
self.schematic = os.path.join(self.schematic_path,self.create_schematic)