progbar

Software screenshot:
progbar
Software ətraflı:
Version: 0.3
Tarixi Upload: 14 Apr 15
Geliştirici: Yves-Gwenael Bourhis
Lisenziya: Pulsuz
Məşhurluq: 18

Rating: 4.0/5 (Total Votes: 1)

progbar Python yazılı Yves-Gwenael Bourhis sadə inkişaf bar edir.
istifadə:
Class ProgBar (adı, uzunluğu):
& Nbsp; adı string uzunluğu bar elementlərinin sayı təmsil bir tam deyil
üsulları:
) (start:
& Nbsp; bir mövzu inkişaf bar inkişaf başlamaq və "faiz" əmlak 100% çatdıqda avtomatik stop mövzu
) (stop:
& Nbsp; inkişaf bar və bu sonra qoşulmaq () metodu zəng etmək tövsiyə olunur mövzu Stop
) (doldurun:
& Nbsp; bar bir element əlavə və müvafiq faiz uyğun
isAlive ():
& Nbsp; bar mövzu çalışan əgər False başqa, True Returns
) (qoşulmaq:
& Nbsp; yivli bar ləğv qədər gözləyin. Bu stop () zəng sonra bu metodu zəng etmək tövsiyə olunur
Properties:
faiz:
& Nbsp; bar inkişaf faizi
Addım inkişaf istifadə Misal:
>>> Dəf) (printatestbar1:
... Bar = ProgBar (test1, 20)
... Bar.start ()
... Isə bar.isAlive ():
... Time.sleep (0.1)
... Bar.fill ()
... Bar.join ()
... Del (bar)
>>> Printatestbar1 ()
test1 [####################] 100%
>>>
Faiz inkişaf istifadə Misal:
>>> Dəf) (printatestbar2:
... Bar = ProgBar (test2, 20)
... Bar.start ()
... Isə bar.isAlive ():
... Bar.percent + = 1
... Time.sleep (0.1)
... Bar.join ()
... Del (bar)
>>> Printatestbar2 ()
test2 [####################] 100%
>>>
Inkişaf bar interupting Misal:
>>> Dəf) (printatestbar3:
... Bar = ProgBar (test3, 20)
... Bar.start ()
... Isə bar.isAlive ():
... Bar.percent + = 1
... Əgər bar.percent == 50:
... Bar.stop ()
... Break
... Time.sleep (0.1)
... Bar.join ()
... Del (bar)
>>> Printatestbar3 ()
test3 [########## -] 50%
>>>

Bu azad yeni nədir.

  • dəyişdi müəllif əlaqə info

versiya 0.2 yeni nədir:

destructor (__del__ metodu) silindi

  • çünki:
  • burada Warning: http://docs.python.org/reference/datamodel.html#object.__del__
  • Və burada təsvir kimi automaticaly zibil Kolleksiyaçının xaric deyil obyektlərin becasue. Http://docs.python.org/library/gc.html#gc.garbage yaddaş istifadə artmasına səbəb ola bilər hansı

tələblər

  • Python

Oxşar proqram

ObexTool
ObexTool

3 Jun 15

CLISH
CLISH

3 Jun 15

Plumb
Plumb

20 Feb 15

GSL shell
GSL shell

20 Feb 15

Geliştirici digər proqram Yves-Gwenael Bourhis

botalert
botalert

15 Apr 15

commandwrapper
commandwrapper

14 Apr 15

Şərh progbar

Şərhlər tapılmadı
Şərh əlavə
Images yandırın!