Skip to content

Johnnyboycurtis/wxtutorials

Repository files navigation

wxtutorials

alt text

What is this?

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

Requirements

  • wxPython version 4.0.2+

  • Python 3.6+

  • Some python experience (strongly recommended)

  • Git (recommended, you're on Github)

  • Bash-like terminal (recommended)

Who is this for?

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.

Set up

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.

Terminal stuff

You will need Git to clone this project directory

git clone https://github.com/Johnnyboycurtis/wxtutorials.git

Python stuff

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.

Flavor of Python

There are many flavors of Python. I recommend using Anaconda's Miniconda; not the full blown Anaconda download.

Environments

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

Installing packages

To install wxPython and all other necessary packages, run

conda install -c anaconda wxpython
conda install matplotlib numpy ipython

Still confused?

Here are some helpful resources, but beware, they may be outdated

New to Python?

I recommend Corey Schafer's Python Tutorials

How do I become an expert?

Practice, my friend. Complexity and the Ten-Thousand-Hour Rule

About

Tutorials for wxPython

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages