@@ -0,0 +1,6 | |||||
|
1 | #Usando el modulo "subprocess", eric4 pide seleccion del tipo de subproceso (padre o hijo) | |||
|
No newline at end of file | ||||
|
2 | #por ello se prefiere usar el modulo "commands" | |||
|
No newline at end of file | ||||
|
3 | #p1= Popen(['find', var_Dpath, '-name', '*.r'], stdout=PIPE) | |||
|
No newline at end of file | ||||
|
4 | #p2= Popen(['awk', '-F/', '{print substr($NF,2,7)}'], stdin=p1.stdout, stdout=PIPE) | |||
|
No newline at end of file | ||||
|
5 | #output_p2= p2.communicate()[0] | |||
|
No newline at end of file | ||||
|
6 | #self.txtInfo.setText(output_p2) No newline at end of file |
@@ -59,6 +59,7 | |||||
59 | No newline at end of file |
|
59 | ||
60 | #Si no se encuentra ningun archivo No newline at end of file |
|
60 | #Si no se encuentra ningun archivo | |
61 | if len(output) == 0: No newline at end of file |
|
61 | if len(output) == 0: | |
|
62 | self.txtInfo.append("No se encontraron archivos") No newline at end of file | |||
62 |
|
|
63 | self.btnGbkp.setEnabled(False) | |
63 |
|
|
64 | return | |
64 | No newline at end of file |
|
65 |
@@ -37,6 +37,7 | |||||
37 | self.var_Dtype = self.txtDtype.text() No newline at end of file |
|
37 | self.var_Dtype = self.txtDtype.text() | |
38 | self.var_Elabel = self.txtElabel.text() No newline at end of file |
|
38 | self.var_Elabel = self.txtElabel.text() | |
39 | self.var_Copys = self.txtCopys.value() No newline at end of file |
|
39 | self.var_Copys = self.txtCopys.value() | |
|
40 | self.var_Dcapacity = self.txtDcapacity.value() No newline at end of file | |||
40 | No newline at end of file |
|
41 | ||
41 | self.var_n_files=0 No newline at end of file |
|
42 | self.var_n_files=0 | |
42 | self.var_list=[] No newline at end of file |
|
43 | self.var_list=[] |
@@ -500,7 +500,7 | |||||
500 | </sizepolicy> No newline at end of file |
|
500 | </sizepolicy> | |
501 | </property> No newline at end of file |
|
501 | </property> | |
502 | <property name="text"> |
|
502 | <property name="text"> | |
No newline at end of file |
|
503 | <string>Device Capacity (MB)</string> No newline at end of file | ||
503 | <string>Device Capacity</string> No newline at end of file |
|
|||
504 | </property> No newline at end of file |
|
504 | </property> | |
505 | </widget> No newline at end of file |
|
505 | </widget> | |
506 | </item> No newline at end of file |
|
506 | </item> |
@@ -2,7 +2,7 | |||||
2 | No newline at end of file |
|
2 | ||
3 | # Form implementation generated from reading ui file '/home/ricardoar/JRO_SVN/eric4/jro_backup_manager/ui/MainWindow.ui' No newline at end of file |
|
3 | # Form implementation generated from reading ui file '/home/ricardoar/JRO_SVN/eric4/jro_backup_manager/ui/MainWindow.ui' | |
4 | # |
|
4 | # | |
No newline at end of file |
|
5 | # Created: Mon May 17 00:37:27 2010 No newline at end of file | ||
5 | # Created: Sun May 16 22:58:10 2010 No newline at end of file |
|
|||
6 | # by: PyQt4 UI code generator 4.7.2 No newline at end of file |
|
6 | # by: PyQt4 UI code generator 4.7.2 | |
7 | # No newline at end of file |
|
7 | # | |
8 | # WARNING! All changes made in this file will be lost! No newline at end of file |
|
8 | # WARNING! All changes made in this file will be lost! |
General Comments 0
You need to be logged in to leave comments.
Login now