Last change
on this file since 2691 was
1191,
checked in by broder, 16 years ago
|
Strip the sipb-xen prefix from packages we didn't write
|
-
Property svn:executable set to
*
|
File size:
468 bytes
|
Line | |
---|
1 | #!/usr/bin/python |
---|
2 | |
---|
3 | from pydhcplib.type_strlist import strlist |
---|
4 | |
---|
5 | |
---|
6 | word = strlist() |
---|
7 | print "a0 : ",word |
---|
8 | |
---|
9 | word1 = strlist("azerty") |
---|
10 | print "a1 : ",word1 |
---|
11 | |
---|
12 | word2 = strlist("qwerty") |
---|
13 | print "a2 : ",word2 |
---|
14 | |
---|
15 | word3 = strlist([97, 122, 101, 114, 116, 121]) |
---|
16 | print "a3 : ",word3 |
---|
17 | |
---|
18 | if word1 == word2 : print "test 1 : ",word1, "==",word2 |
---|
19 | else : print "test 1 : " ,word1, "!=",word2 |
---|
20 | |
---|
21 | if word1 == word3 : print "test 2 : ", word1, "==",word3 |
---|
22 | else : print "test 2 : ", word1, "!=",word3 |
---|
23 | |
---|
24 | |
---|
25 | |
---|
Note: See
TracBrowser
for help on using the repository browser.