File: Constants.py

package info (click to toggle)
python-orbit 0.3.1-12
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,492 kB
  • ctags: 801
  • sloc: sh: 9,444; ansic: 5,642; python: 1,141; makefile: 126
file content (16 lines) | stat: -rw-r--r-- 551 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env python
long = 2312332
float = 5432.51332
double = 1890213412421.12321321312
string = "just a string"
octet = 0x68
char = "a"

long_seq = ( 123, 321, 654, 456, 876, 678 )
float_seq = ( 232.11, 23.55, 761.3, 5432.422, 1.2321 )
double_seq = ( 1234567890.12, 232142123.22321323, 31232312.3231321,
               231313.12312321 )
string_seq = ( "1231", "sdwdqw", "#@!##!", "_+#!@+#_", "1231" )
octet_seq = ( 0x23, 0x44, 0x12, 0x43, 0x23, 0x22, 0x23 )
char_seq = ( " ", "a", "c", "1", "#", "4" )
octet_mixed_seq = ( 0x12, "a", "2", 4, "a" )