Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
guppy
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Svetlana Tkachenko
guppy
Commits
b1c86a48
Commit
b1c86a48
authored
13 years ago
by
Svetlana Tkachenko
Browse files
Options
Downloads
Patches
Plain Diff
startup - replace 'gpy' with 'guppy', set bold font in the questions
parent
6a7651ac
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
TODO
+1
-1
1 addition, 1 deletion
TODO
guppy/main.py
+7
-7
7 additions, 7 deletions
guppy/main.py
with
8 additions
and
8 deletions
TODO
+
1
−
1
View file @
b1c86a48
...
@@ -11,6 +11,6 @@ Milestone: 0.4
...
@@ -11,6 +11,6 @@ Milestone: 0.4
[ ] weather module
[ ] weather module
[ ] wiktionary/wikipedia lookup module
[ ] wiktionary/wikipedia lookup module
[ ] Google - descending results output
[ ] Google - descending results output
[
] startup - replace 'gpy' with 'guppy', set bold font in the questions
[
X
] startup - replace 'gpy' with 'guppy', set bold font in the questions
[ ] (php) write a php 'guestbook' for feedback
[ ] (php) write a php 'guestbook' for feedback
[X] Commitbot for the #guppy channel
[X] Commitbot for the #guppy channel
This diff is collapsed.
Click to expand it.
guppy/main.py
+
7
−
7
View file @
b1c86a48
...
@@ -58,12 +58,12 @@ class connection(core):
...
@@ -58,12 +58,12 @@ class connection(core):
def
__init__
(
self
):
def
__init__
(
self
):
# Constant.
# Constant.
self
.
version
=
__import__
(
'
guppy
'
).
__version__
self
.
version
=
__import__
(
'
guppy
'
).
__version__
print
(
"
__ _ _ __ _ _
"
)
print
(
"
__ _ _
_ _
__ _
__
_
_
"
)
print
(
"
/ _` |
'
_ \| | | |
"
)
print
(
"
/ _` |
| | |
'
_ \|
'
_ \| | | | http://repo.or.cz/w/guppy.git/summary
"
)
print
(
"
| (_| | |_
)
| |_| |
http://repo.or.cz/w/guppy.git/summary
"
)
print
(
"
| (_| | |_
|
| |_
)
| |
_) | |_| |
"
)
print
(
"
\__, | .__/ \__, |
"
)
print
(
"
\__, |
\__,_| .__/|
.__/ \__, |
"
)
print
(
"
|___/|_| |___/
{0}
"
.
format
(
self
.
version
))
print
(
"
|___/
|_|
|_| |___/ {0}
"
.
format
(
self
.
version
))
print
(
''
)
print
(
""
)
if
'
HOME
'
in
os
.
environ
:
if
'
HOME
'
in
os
.
environ
:
self
.
directory
=
os
.
environ
[
'
HOME
'
]
+
'
/.guppy/
'
self
.
directory
=
os
.
environ
[
'
HOME
'
]
+
'
/.guppy/
'
...
@@ -154,7 +154,7 @@ class connection(core):
...
@@ -154,7 +154,7 @@ class connection(core):
else
:
else
:
self
.
config
.
add_section
(
section
)
self
.
config
.
add_section
(
section
)
def
my_raw
(
self
,
prompt
=
""
,
default
=
""
):
def
my_raw
(
self
,
prompt
=
""
,
default
=
""
):
ret
=
raw_input
(
"
%s [%s]:
"
%
(
prompt
,
default
))
ret
=
raw_input
(
"
\033
[34m
\033
[1m
%s [%s]:
\033
[0m
"
%
(
prompt
,
default
))
return
default
if
ret
==
""
else
ret
return
default
if
ret
==
""
else
ret
def
defaultconf
(
self
):
def
defaultconf
(
self
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment