Skip to content

Instantly share code, notes, and snippets.

View edthix's full-sized avatar
💭
Online

Edham Arief Dawillah / edthix edthix

💭
Online
View GitHub Profile
@edthix
edthix / 01.py
Last active August 21, 2021 06:52
Beyond The Moon - Python Codes
# Beyond The Moon - Python Codes
# Workshop Session 1 (Python)
# By Kinabalu Coders
import turtle
# tukar penjuru untuk poligon baru
penjuru = 8
@edthix
edthix / connect_wifi.py
Created September 17, 2022 07:11
PyCon MY 2022 - sample codes
def do_connect():
import network
wlan = network.WLAN(network.STA_IF)
wlan.active(True)
if not wlan.isconnected():
print('connecting to network...')
wlan.connect('smartspacekk', 'smartspace09')
while not wlan.isconnected():
pass
print('network config:', wlan.ifconfig())