This is a repository of wxPython tutorials. It is to accompany the lecture videos I've uploaded (pending) to YouTube.
- Link to be added upon video uploads
-
wxPython version 4.0.2+
-
Python 3.6+
-
Some python experience (strongly recommended)
-
Git (recommended, you're on Github)
-
Bash-like terminal (recommended)
People who
-
don't want to learn PyQT and don't want to pay for the liscensing.
-
need a simple GUI platform
Better looking platforms exist, but wxPython can be quick and easy to develop applications in.
All code was written on a Ubuntu machine, but is compatible with most Windows machines. If you are developing natively on Windows, be sure to have a Unix like terminal available like Git-bash or Ubuntu terminal.
You will need Git to clone this project directory
git clone https://github.com/Johnnyboycurtis/wxtutorials.git
All code was developed using Python 3.6+ and wxPython 4.0.2. If you are still using Python 2, please consider migrating to Python 3 as support is for version 2 is limited; see count down.
There are many flavors of Python. I recommend using Anaconda's Miniconda; not the full blown Anaconda download.
For your sanity's sake, I highly recommend using virtualenv
or conda
's environments. I use miniconda; you can create a new environment with whatever version of Python you'd like with a simple command
conda create -n myenv python=3.6
and activate it on your system's (bash) terminal with
source activate myenv
Reference: Managing environments — Conda documentation
To install wxPython
and all other necessary packages, run
conda install -c anaconda wxpython
conda install matplotlib numpy ipython
Here are some helpful resources, but beware, they may be outdated
I recommend Corey Schafer's Python Tutorials
Practice, my friend. Complexity and the Ten-Thousand-Hour Rule