repo.or.cz
/
Projects.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Initial Commit
[Projects.git]
/
ai
/
maint.py
blob
ed7bb13588d2ef1b68bc9d568fcaec586455011b
1
#!/usr/bin/env python
2
3
s
=
raw_input
(
"(clears all profiles): "
)
4
5
profiles
=[
"profile1"
,
"profile2"
]
6
7
if
s
==
""
:
8
#clear profiles
9
for
profile
in
profiles
:
10
file
=
open
(
profile
,
"w"
)
11
file
.
write
(
""
)
12
file
.
close
()