This tool automatically fetches homework assignments from Renweb by logging into your account.
Make sure you have all these files:
python-3.x.x-amd64.exe
- Python installerwing-9.1.2.0.exe
- Wing IDE installermsedgedriver.exe
- Edge browser drivermain.py
- Main programDownload the required libraries.cmd
- Library installation script
-
Install Python
-
Install Wing IDE
- Double-click
wing-9.1.2.0.exe
- Use default options
- It will automatically detect Python path on first launch
- Double-click
-
Install Required Libraries
- Double-click
Download the required libraries.cmd
- Wait for completion
- Double-click
-
Browser Driver Setup
- By default, uses Microsoft Edge browser
- Place
msedgedriver.exe
in the same folder asmain.py
If you want to use Chrome browser:
-
Check your Chrome version
- Open Chrome
- Click three dots in top-right corner
- Click "Help" > "About Google Chrome"
- Note down the version number
-
Download matching ChromeDriver
- Visit https://chromedriver.chromium.org/downloads
- Download driver matching your Chrome version
- Extract the downloaded file
-
Configure driver path
- Place chromedriver.exe anywhere you like
- Find
driver_path
variable at the top ofmain.py
- Fill in the full path to chromedriver.exe, for example:
driver_path = "C:/WebDriver/chromedriver.exe" # Change to your chromedriver path
- If placed in current directory, you can simply write:
driver_path = "chromedriver.exe"
- Open
main.py
in Wing IDE - Modify login information at the top:
username = "...@..." # Your Renweb username
password = "......." # Your Renweb password
- Open
main.py
in Wing IDE - Click the run button (green triangle) or press F5
- The program will:
- Open browser
- Log in
- Fetch homework
- Display assignments
- Close browser
-
"msedgedriver.exe not found"
- Check driver location
-
"Module not found"
- Run the library installation script again
-
Can't login
- Verify username and password
- Check internet connection
-
Wing IDE can't run Python
- Verify "Add Python to PATH" was checked
- Restart Wing IDE
- Check Python interpreter settings in Wing IDE (Edit > Preferences > Python Configuration)