Skip to content

Instantly share code, notes, and snippets.

View Deusdies's full-sized avatar

Bo Milanovich Deusdies

View GitHub Profile
### Keybase proof
I hereby claim:
* I am deusdies on github.
* I am deusdies (https://keybase.io/deusdies) on keybase.
* I have a public key ASDJF2RDkYy-3KWVYybwwMdR3AAuu226nh5aoE14jZmZUAo
To claim this, I am signing this object:
@Deusdies
Deusdies / students.py
Created March 17, 2018 23:09
Python: Getting Started
"""
Check out a great Python course called Python: Getting Started at
https://app.pluralsight.com/library/courses/python-getting-started
"""
students = []
def read_file():
try:
f = open("students.txt", "r")
@Deusdies
Deusdies / setup.py
Last active July 28, 2020 15:05
Creating an executable file with Python 3.6, cx_Freeze
"""
== SETUP.PY FILE FOR USE WITH CX_FREEZE AND PYTHON 3.6 ==
==== INSTRUCTIONS ====
1. Make sure you have Python 3.6 installed.
2. Install cx_Freeze by typing `pip install cx_freeze` in the Terminal or Command Prompt. Make sure to use the pip for Python 3 (sometimes called pip3)
3. Create a new file called setup.py and paste the contents of this file in it (or just download this file)
4. Make sure to place the setup.py file in the same directory where your main Python application is located
5. From the Terminal/Command Prompt, run `python setup.py build`. Make sure that you're running Python 3.6 (use `python --version`)