Skip to content

A basic python program to log into the edinburgh university learn page.

Notifications You must be signed in to change notification settings

H00pyFr00d/edinburgh-uni-learn-login

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

UoE Learn Login

A basic python program to log into the UoE MyEd page.

Table of contents

  1. Prerequisites

  2. Installation

  3. Usage and Installation:

    3a. Creating an executable (MacOS)

    3b. Creating an executable using pyinstaller (All)

Prerequisites

  • Selenium:
pip3 install -U selenium
  • Webdriver_manager:
pip3 install -U webdriver_manager
  • Keyring:
pip3 install -U keyring
  • Pyinstaller (Optional):
pip3 install -U pyinstaller

Note: Pyinstaller must be added to the PATH system environment variable

Installation

Clone the repo

  git clone https://github.com/H00pyFr00d/edinburgh-uni-learn-login.git

Now, create userinfo.txt in the folder you've just created and store your username as follows:

  s2000000

Usage and Installation

 python3 /Users/.../edinburgh-uni-learn-login/main.py

Will prompt the user for their username if they have not already created the userinfo.txt file, and their password if it hasn't already been provided

Creating an executable (MacOS)

In your desktop, create an .exec file:

 #!/bin/sh
 python3 /Users/.../edinburgh-uni-learn-login/main.py
 exit 0

Then give it permission,

 chmod +x /Users/.../open_learn.exec

Notes

  1. When running the executable you might get an operation not found error, this could mean that your file's been quarantined.

  2. If your shell window stays open after the script's finished running, go to Terminal > Preferences > Profiles > Shell and change the default setting for when the shell exists from "don't close the window" to "close the window"

Creating an executable using pyinstaller (All)

Install pyinstaller (as seen above)

Open a terminal instance and navigate to the edinburgh-uni-learn-login folder

Run the following command:

 pyinstaller main.py --onefile

Your executable will be placed in the folder you've run this command from

About

A basic python program to log into the edinburgh university learn page.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages