Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Bastien Terrier
xeyes_sentences
Commits
0af99625
Commit
0af99625
authored
May 24, 2018
by
Bastien Terrier
Browse files
shell exection xeyes_sentences.py
parent
9e60705c
Changes
2
Hide whitespace changes
Inline
Side-by-side
run.sh
View file @
0af99625
#!/bin/bash
cd
src
echo
$1
echo
$2
python xeyes_sentences.py
$1
$2
cd
..
./xeyes_sentences.sh
src/xeyes_sentences.py
View file @
0af99625
#!/usr/bin/env python
from
functions
import
*
#import functions
from
resources
import
*
#import resources
...
...
@@ -5,7 +7,7 @@ import sys #args
#check syntax
if
(
len
(
sys
.
argv
)
<
2
or
len
(
sys
.
argv
)
>
3
):
print
(
"Syntax error : python
proces
s.py
\"
sentence_to_display
\"
[size]"
)
print
(
"Syntax error : python
xeyes_sentence
s.py
\"
sentence_to_display
\"
[size]"
)
exit
(
0
)
#sentence to display
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment