I am not new to electronics. I've been interested since I was 10 years old. I've never worked professionally in electronics but I know more than the average person. I've built a number of Heathkits (am I showing my age?) and have been hacking arduinos since they first appeared. Before the arduino I did not have any real exposure to MCUs. I thought that it was time that I shared my learning with the community at large.
Saturday, August 12, 2023
FLET: A python GUI based on Flutter
I am always on the lookout for new (easier) ways to create GUIs for python. Recently I ran across the FLET. Also available on github.
Their description is
The fastest way to build Flutter apps in Python
Flet enables developers to easily build realtime web, mobile and desktop apps in Python. No frontend experience required.
As an experiment I decided to create a simple login form.
import flet as ft
def main(page: ft.Page):
page.title = "Login"
page.window_height = 200
page.window_width = 500
page.window_always_on_top = True
def cancel_click(e):
page.window_destroy()
def login_click(e):
if txt_user.value == "admin" and txt_pwd.value == "admin":
dlg.content = ft.Text("Login Successful")
else:
dlg.content = ft.Text("Login failed")
dlg.modal = False
dlg.open = True
dlg.update()
page.update()
dlg = ft.AlertDialog(title=ft.Text("Login"), content=ft.Text("---"))
txt_user = ft.TextField(value = "", label="User ID")
txt_pwd = ft.TextField(value = "", password=True, can_reveal_password=True,
label="Password")
btn_cancel = ft.FilledButton(text="Cancel", on_click=cancel_click)
btn_login = ft.FilledButton(text="Login", on_click=login_click)
action_row = ft.Row(controls=[btn_cancel, btn_login])
page.add(txt_user, txt_pwd, action_row, dlg)
page.window_center()
ft.app(target=main)
This results in the following window
A jupyter notebook is here.
Friday, January 20, 2023
Tuesday, November 22, 2022
Monday, October 1, 2018
The ARCHIVE.ORG Manual Library
The site https://archive.org maintains lists of manuals for many types of vintage devices. Here is a list of some of the more interesting computer and consumer oriented ones.
- Computer Manuals (Hardware and Software)
- Console Manual Collection
- Electronics Manuals
- Manuals: Various HP Manuals
- Synthesizer Manuals Collection
- Television Manuals
- Laptop Service Manuals
- Printer Manuals
- Computer Game Manuals
- Synthesizer Manuals: Roland
- iFixit_manuals
- XBOX Manuals
- Apple Computer Manuals
- Laptop Service Manuals: Dell
- Manuals: Yamaha Manuals
- Miscellaneous Manuals
- Tandy Radio Shack TRS-80 Manuals
- Manuals: Radio Shack
- Laptop Service Manuals: Acer
- Atari 8-bit Computer Manuals
- Printer Manuals: HP
- Console Manuals: Playstation
- Printer Manuals: Epson
- Console Manuals: Sega Saturn
- Console Manuals: Atari 2600
- Synthesizer Manuals: Yamaha
- Handheld Game Manuals
- Printer Manuals: Brother
- 3DO Interactive Multiplayer Manuals
- Atari ST Manuals
- Laptop Service Manuals: Toshiba
- Mega CD Manuals
- Console Manuals: Coleco ColecoVision
- Synthesizer Manuals: Korg
- Console Manuals: Sega Genesis and Mega Drive
- Console Manuals: Sega Dreamcast
- Printer Manuals: Canon
- Laptop Service Manuals: Gateway
- Laptop Service Manuals: IBM
- Commodore VIC-20 Manuals
- Laptop Service Manuals: HP
- Laptop Service Manuals: Compaq
Friday, September 21, 2018
Abseil - an open-source collection of C++ library code designed to augment the C++ standard library
Subscribe to:
Posts (Atom)