PyWebIO v1.5.2 Documentationif BMI <= top: put_text('Your BMI: %.1f. Category: %s' % (BMI, status)) break if __name__ == '__main__': bmi() This is just a very simple script if you ignore PyWebIO, but after using the input and Release 1.5.2 from pywebio import * def main(): # PyWebIO application function name = input.input("what's your name") output.put_text("hello", name) start_server(main, port=8080, debug=True) Now head over user can be some user-friendly texts, and the value of the input can be objects that are easier to process) Usage example: import time def set_now_ts(set_value): set_value(int(time.time())) ts = input('Timestamp'0 码力 | 108 页 | 1.37 MB | 1 年前3
PyWebIO v1.5.0 Documentationif BMI <= top: put_text('Your BMI: %.1f. Category: %s' % (BMI, status)) break if __name__ == '__main__': bmi() This is just a very simple script if you ignore PyWebIO, but after using the input and Release 1.5.0 from pywebio import * def main(): # PyWebIO application function name = input.input("what's your name") output.put_text("hello", name) start_server(main, port=8080, debug=True) Now head over user can be some user-friendly texts, and the value of the input can be objects that are easier to process) Usage example: import time def set_now_ts(set_value): set_value(int(time.time())) ts = input('Timestamp'0 码力 | 108 页 | 1.37 MB | 1 年前3
PyWebIO v1.5.1 Documentationif BMI <= top: put_text('Your BMI: %.1f. Category: %s' % (BMI, status)) break if __name__ == '__main__': bmi() This is just a very simple script if you ignore PyWebIO, but after using the input and Release 1.5.1 from pywebio import * def main(): # PyWebIO application function name = input.input("what's your name") output.put_text("hello", name) start_server(main, port=8080, debug=True) Now head over user can be some user-friendly texts, and the value of the input can be objects that are easier to process) Usage example: import time def set_now_ts(set_value): set_value(int(time.time())) ts = input('Timestamp'0 码力 | 108 页 | 1.37 MB | 1 年前3
PyWebIO v1.6.1 Documentationif BMI <= top: put_text('Your BMI: %.1f. Category: %s' % (BMI, status)) break if __name__ == '__main__': bmi() This is just a very simple script if you ignore PyWebIO, but after using the input and Release 1.6.1 from pywebio import * def main(): # PyWebIO application function name = input.input("what's your name") output.put_text("hello", name) start_server(main, port=8080, debug=True) Now head over user can be some user-friendly texts, and the value of the input can be objects that are easier to process) Usage example: import time def set_now_ts(set_value): set_value(int(time.time())) ts = input('Timestamp'0 码力 | 108 页 | 1.37 MB | 1 年前3
PyWebIO v1.6.2 Documentationif BMI <= top: put_text('Your BMI: %.1f. Category: %s' % (BMI, status)) break if __name__ == '__main__': bmi() This is just a very simple script if you ignore PyWebIO, but after using the input and Release 1.6.2 from pywebio import * def main(): # PyWebIO application function name = input.input("what's your name") output.put_text("hello", name) start_server(main, port=8080, debug=True) Now head over user can be some user-friendly texts, and the value of the input can be objects that are easier to process) Usage example: import time def set_now_ts(set_value): set_value(int(time.time())) ts = input('Timestamp'0 码力 | 108 页 | 1.37 MB | 1 年前3
PyWebIO v1.6.3 Documentationif BMI <= top: put_text('Your BMI: %.1f. Category: %s' % (BMI, status)) break if __name__ == '__main__': bmi() This is just a very simple script if you ignore PyWebIO, but after using the input and Release 1.6.3 from pywebio import * def main(): # PyWebIO application function name = input.input("what's your name") output.put_text("hello", name) start_server(main, port=8080, debug=True) Now head over user can be some user-friendly texts, and the value of the input can be objects that are easier to process) Usage example: import time def set_now_ts(set_value): set_value(int(time.time())) ts = input('Timestamp'0 码力 | 108 页 | 1.37 MB | 1 年前3
PyWebIO v1.6.0 Documentationif BMI <= top: put_text('Your BMI: %.1f. Category: %s' % (BMI, status)) break if __name__ == '__main__': bmi() This is just a very simple script if you ignore PyWebIO, but after using the input and Release 1.6.0 from pywebio import * def main(): # PyWebIO application function name = input.input("what's your name") output.put_text("hello", name) start_server(main, port=8080, debug=True) Now head over user can be some user-friendly texts, and the value of the input can be objects that are easier to process) Usage example: import time def set_now_ts(set_value): set_value(int(time.time())) ts = input('Timestamp'0 码力 | 108 页 | 1.37 MB | 1 年前3
PyWebIO v1.7.1 Documentationif BMI <= top: put_text('Your BMI: %.1f. Category: %s' % (BMI, status)) break if __name__ == '__main__': bmi() This is just a very simple script if you ignore PyWebIO, but after using the input and Release 1.7.1 from pywebio import * def main(): # PyWebIO application function name = input.input("what's your name") output.put_text("hello", name) start_server(main, port=8080, debug=True) Now head over user can be some user-friendly texts, and the value of the input can be objects that are easier to process) Usage example: import time def set_now_ts(set_value): set_value(int(time.time())) ts = input('Timestamp'0 码力 | 112 页 | 1.38 MB | 1 年前3
PyWebIO v1.7.0 Documentationif BMI <= top: put_text('Your BMI: %.1f. Category: %s' % (BMI, status)) break if __name__ == '__main__': bmi() This is just a very simple script if you ignore PyWebIO, but after using the input and Release 1.7.0 from pywebio import * def main(): # PyWebIO application function name = input.input("what's your name") output.put_text("hello", name) start_server(main, port=8080, debug=True) Now head over user can be some user-friendly texts, and the value of the input can be objects that are easier to process) Usage example: import time def set_now_ts(set_value): set_value(int(time.time())) ts = input('Timestamp'0 码力 | 110 页 | 1.37 MB | 1 年前3
PyWebIO v1.4.0 Documentationif BMI <= top: put_text('Your BMI: %.1f. Category: %s' % (BMI, status)) break if __name__ == '__main__': bmi() This is just a very simple script if you ignore PyWebIO, but after using the input and Release 1.4.0 from pywebio import * def main(): # PyWebIO application function name = input.input("what's your name") output.put_text("hello", name) start_server(main, port=8080, debug=True) Now head over user can be some user-friendly texts, and the value of the input can be objects that are easier to process) Usage example: import time def set_now_ts(set_value): set_value(int(time.time())) ts = input('Timestamp'0 码力 | 102 页 | 1.35 MB | 1 年前3
共 86 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9













