Skip to content

This is a collection of the python projects that I have as part of my portfolio thus far, these vary from smaller code snippets to larger programs.

Notifications You must be signed in to change notification settings

ProfSFrink/python_portfolio

Repository files navigation

Python Projects Profolio

This is a collection of the python projects that I have as part of my portfolio thus far, these vary from smaller code snippets to larger programs. They are developed in either Jupyter Notebook or Visual Studio Code.

 

SORTING ALGORITHMS (CODE)


I did this as I was studying computer science at the time and was learning about sorting algorithms while also learning Python online. So I decided to work on coding the three core sorting algorithms insertion, bubble and sort by getting them to sort a python list. This shows the use of loops, conditional statements and try / except blocks.

 

FIZZBUZZ (CODE)


My python version of the famous FizzBuzz problem where we ask the user for a whole number and we output all numbers that are either divisable by 3 or 5 and BOTH 3 and 5 upto and including the entered number, I also implement some try / except blocks of code here.

 

BINARY NUMBER CALCULATOR (CODE)


While I was learning python online I was also learning computer science and one of the things I was studying was binary mathematics, so again I combined the two things together and developed a program that can convert from binary to decimal and vice versa.

 

BLACKJACK GAME (CODE)


One of the main projects I undertoook was to develop a working game of blackjack using python. This shows the of understanding of object-orientated programming by creating an object for the individual playing card, the deck of cards, the playing hand itself and also for the number of chips the player has. The player can bet, hit or stand. The program also shows the use of loops, conditional statements, functions and classes.

 

VIDEOGAME DATABASE (CODE)


For the final project of my online python course, I chose to make a command-line database program as I wanted to focus on python data structures, object-orientated programming and file-handling, so developed this application that I can use to track my videogame collection.

I create a classes to represent each individual game, each individual platform and then have a simple list for each type of game genere. I store the games as a list of instances of the game class, with the platform a dictionary of k / v pairs with the value being an instance of the platform class. Then for file-handling I import the pickle library and also make use of the os library to be able to clear the screen. The main application is self-uses most excepted python features such as conditional operators, loops, lists and dictionaries, try / except blocks. I also define colours as a class so the interface can use different coloured text.

The inital completed project allowed for the addition, editing and viewing of games within the database I would like to return to the project and implement deletion of games and platforms and also seperate the code in modules to aid with structure and readbility.

About

This is a collection of the python projects that I have as part of my portfolio thus far, these vary from smaller code snippets to larger programs.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published