Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Luciano Barletta
/
Pruebas-RTO
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit 44580300
authored
2023-10-03 10:34:48 -0300
by
Juan Pablo dure
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
wqdwq
1 parent
9432de63
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
fosadiaria.py
fosadiaria.py
View file @
4458030
...
...
@@ -70,17 +70,17 @@ class FosaDiaria():
def
_BuscarExcelDescargado
(
self
,
tmp
):
rta
=
False
sleep
(
0.5
)
os
.
system
(
f
"""ls {self.CarpetaDescarga} -ls | grep xls | grep -v crdownload 2> {tmp}"""
)
os
.
system
(
f
"""ls {self.CarpetaDescarga} -ls |
grep {self.cabezaera}|
grep xls | grep -v crdownload 2> {tmp}"""
)
file1
=
open
(
tmp
,
'r'
)
Lines
=
file1
.
readlines
()
for
line
in
Lines
:
der
=
str
(
line
)
.
split
(
" "
)
print
(
1
,
type
(
line
),
type
(
der
))
print
(
2
,
der
)
#
print(1,type(line),type(der))
#
print(2,der)
archivo
=
f
"""{self.CarpetaDescarga}{der[-1]}"""
print
(
3
,
line
,
der
,
der
[
-
1
],
archivo
)
#
print(archivo)
rta
=
archivo
#
print(3,line,der,der[-1],archivo)
print
(
archivo
)
rta
=
archivo
file1
.
close
()
os
.
system
(
f
"""rm {tmp}"""
)
return
rta
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment