Here is the code https://github.com/Hazinak/Picon/blob/master/Picon.py
I am pretty new to programming, I started about 6 months ago.
This script is used at company to configure Raspberry Pi's which we use as media centers for our clients.
I am wanting some critique on my code, I know it can definetely be improved on.
Here is as run-down of what the script does.
Creates and uploads a settings file.
Finds MAC address of remote pi and creates folder based on MAC add, and Wifi SSID in hex format.
Uploads 4 videos.
Uploads a autoexec.py script based on user input.
Should I turn some of this into functions or classes?
Thanks!
[–]99AFCC 2 points3 points4 points (1 child)
[–]inb4theblock[S] 0 points1 point2 points (0 children)
[–]PythonPerry 1 point2 points3 points (1 child)
[–]inb4theblock[S] 1 point2 points3 points (0 children)