@@ -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 | 59 | No newline at end of file |
|
60 | 60 | #Si no se encuentra ningun archivo No newline at end of file |
|
61 | 61 | if len(output) == 0: No newline at end of file |
|
62 | self.txtInfo.append("No se encontraron archivos") No newline at end of file | |
|
62 | 63 |
|
|
63 | 64 |
|
|
64 | 65 | No newline at end of file |
@@ -37,6 +37,7 | |||
|
37 | 37 | self.var_Dtype = self.txtDtype.text() No newline at end of file |
|
38 | 38 | self.var_Elabel = self.txtElabel.text() No newline at end of file |
|
39 | 39 | self.var_Copys = self.txtCopys.value() No newline at end of file |
|
40 | self.var_Dcapacity = self.txtDcapacity.value() No newline at end of file | |
|
40 | 41 | No newline at end of file |
|
41 | 42 | self.var_n_files=0 No newline at end of file |
|
42 | 43 | self.var_list=[] No newline at end of file |
@@ -500,7 +500,7 | |||
|
500 | 500 | </sizepolicy> No newline at end of file |
|
501 | 501 | </property> No newline at end of file |
|
502 | 502 | <property name="text"> |
|
503 | No newline at end of file | |
|
503 | <string>Device Capacity</string> No newline at end of file | |
|
504 | 504 | </property> No newline at end of file |
|
505 | 505 | </widget> No newline at end of file |
|
506 | 506 | </item> No newline at end of file |
@@ -2,7 +2,7 | |||
|
2 | 2 | No newline at end of file |
|
3 | 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 |
|
4 | 4 | # |
|
5 | No newline at end of file | |
|
5 | # Created: Sun May 16 22:58:10 2010 No newline at end of file | |
|
6 | 6 | # by: PyQt4 UI code generator 4.7.2 No newline at end of file |
|
7 | 7 | # No newline at end of file |
|
8 | 8 | # WARNING! All changes made in this file will be lost! No newline at end of file |
General Comments 0
You need to be logged in to leave comments.
Login now