Giter Club home page Giter Club logo

gpa-calculation-app's Introduction

Calculate GPA

This project is related to GPA calculation with Python Pandas library using Student Information System data at Yildiz Technical University.

  • Upload excel document about the courses from Student Enrollment Info on USIS.
  • Rename this document to "export.xls".
  • Run to CalculateGPA code.

Moreover, EditableVersion can be used if do you want some changes about the courses. With this code, new courses can be added, remove any courses or change the grade of the selected course. After the changes, you can calculate the new GPA and easily estimate your future GPA.

Additional Information

BeautifulSoup

Beautiful Soup is a Python library for getting data out of HTML, XML, and other markup languages. It helps you pull particular content from a webpage, remove the HTML markup, and save the information. The question is why we use this module in this project, although its data is taken from excel. The reason is that, the excel table taken from the USIS system is created in HTML format. You can see that this is not a regular text file when you want to read the file or open with notepad. Therefore, we have to import Beautiful Soup module for this project.

Unicode: encoding="UTF-16"

Additionally, UTF-8 is used by about 95% of all web pages. In contrast, USIS system is in the very rare UTF-16 format. That's why we prefer UTF-16 for Unicode when reading with the open() function.

Possible Errors

Suppressing Warning Message Using Registry Key

If there is an "The file format and extension of "export.xls" don’t match. The file could be corrupted or unsafe." error when opening the excel file, below are the steps to be taken.

  • Press Windows + R to open the Run dialog box.
  • Type regedit and press Enter to open Registry Editor.
  • Go to the following location: HKEY_CURRENT_USER\Software\Microsoft\Office\X\Excel\Security
  • Right-click on an empty space and select NEW > Dword (32-bit) Value.
  • Name it ExtensionHardening, double-click on it and set the Base to Hexadecimal and the value to 0.
  • Close the Registry Editor and restart the computer.

Disable Protected View

To turn off the "Protected View" alert.

  • Open Microsoft Excel > File > Options.
  • Select the Trust Center tab > Trust Center Settings.
  • Select Protected Views, uncheck all Protected View condition option then click Ok to save the changes.
  • Restart Microsoft Excel.

gpa-calculation-app's People

Contributors

oreitor avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.