projects
/
external
/
libzypp-bindings.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
import source from 0.5.10
[external/libzypp-bindings.git]
/
examples
/
python
/
bytecount.py
1
#!/usr/bin/python
2
3
from zypp import ByteCount
4
5
print ByteCount(ByteCount.G)
6
print ByteCount(ByteCount.GB)
7
8
x = ByteCount(ByteCount.K)
9
print int(x)
10