Skip to content
Mouse Vs Python
  • Home
  • About
  • Books
    • Creating GUI Applications with wxPython
    • Jupyter Notebook 101
    • ReportLab: PDF Processing with Python
    • Python 201: Intermediate Python
    • wxPython Recipes
    • wxPython Cookbook
    • Python Interviews: Discussions with Python Experts
  • Contact the Author
  • Follow the Blog
  • Search

Python 101: easy_install or how to create eggs

2 Comments / Packaging, Python / Mike / July 12, 2012 / Python, Python 101

Today we’re going to take a look at the controversial easy_install method of installing Python modules and packages. We will also learn how to create our own *.egg files. You will need to go get the SetupTools package to follow along. This package doesn’t support Python 3.x so if you need that, see pip or […]

Python 101: easy_install or how to create eggs Read More »

PyCon USA 2013 – Call for Proposals are Open

PyCon, Python / Mike / July 12, 2012 / PyCon

Not sure how I missed this, but PyCon 2013 is already open for proposals, which means if you like to talk about Python, now’s your chance to show your chops! You can propose a talk, a tutorial or a poster. Head on over to their prospectus for more information. PyCon is a lot of fun

PyCon USA 2013 – Call for Proposals are Open Read More »

wxPython: How to Create a Generic Wizard

11 Comments / Cross-Platform, Python, wxPython / Mike / July 12, 2012 / wxPython

The other day on StackOverflow I saw someone who was struggling with the Wizard widget from wxPython. The wizard doesn’t allow much customization when it comes to its buttons, so I decided to see how hard it would be to just write my own Wizard. This code is pretty limited, but here’s my first beta

wxPython: How to Create a Generic Wizard Read More »

PyPDF2: The New Fork of pyPdf

16 Comments / Python / Mike / July 11, 2012 / PyPDF, Python PDF Series

Today I learned that the pyPDF project is NOT dead, as I had originally thought. In fact, it’s been forked into PyPDF2 (note the slightly different spelling). There’s also a possibility that someone else has taken over the original pyPDF project and is actively working on it. You can follow all that over on reddit

PyPDF2: The New Fork of pyPdf Read More »

An Intro to pyfpdf – A Simple Python PDF Generation Library

11 Comments / Python / Mike / July 10, 2012 / Python PDF Series

Today we’ll be looking at a simple PDF generation library called pyfpdf, a port of FPDF which is a php library. This is not a replacement for Reportlab, but it does give you more than enough to create simple PDFs and may meet your needs. Let’s take a look and see what it can do!

An Intro to pyfpdf – A Simple Python PDF Generation Library Read More »

Python 201: An Intro to distutils

2 Comments / Packaging, Python / Mike / July 9, 2012 / Python, Python 101

Last time we learned how to create modules and packages. Today we’re going to take the package we created and use Python’s distutils to create a couple different ways to distribute our code. In this tutorial, we’ll be learning the following: How to create a setup.py file How to create a source distribution How to

Python 201: An Intro to distutils Read More »

Python 201: Creating Modules and Packages

17 Comments / Python / Mike / July 8, 2012 / Python, Python 101

Creating Python modules is something that most Python programmers do every day. Any time you save a new Python script, you have created a new module. You can import your module into other modules. A package is a collection of modules. The things you import into your scripts from the standard library are modules or

Python 201: Creating Modules and Packages Read More »

A Quick Intro to pdfrw

7 Comments / Python / Mike / July 7, 2012 / Python PDF Series

I’m always on the lookout for Python PDF libraries and I happened to stumble across pdfrw the other day. It looks like a replacement to pyPDF in that it can read and write PDFs, join PDFs and can use Reportlab for concatenation and watermarking, among other things. The project also appears slightly dead in that

A Quick Intro to pdfrw Read More »

wxPython by Example Repository

3 Comments / wxPython / Mike / July 6, 2012 / wxPython

My long time readers may remember me mentioning that I was trying to put my article code into a Mercurial repository on bitbucket. I haven’t been doing a very good job of that lately, but I did decide to release a whole bunch of wxPython example scripts on there. I use them a lot when

wxPython by Example Repository Read More »

A Simple SqlAlchemy 0.7 / 0.8 Tutorial

10 Comments / Python, SqlAlchemy / Mike / July 1, 2012 / SQL, SqlAlchemy, sqlite

A couple years ago I wrote a rather flawed tutorial about SQLAlchemy. I decided it was about time for me to re-do that tutorial from scratch and hopefully do a better job of it this time around. Since I’m a music nut, we’ll be creating a simple database to store album information. A database isn’t

A Simple SqlAlchemy 0.7 / 0.8 Tutorial Read More »

Reportlab: Mixing Fixed Content and Flowables

12 Comments / Python / Mike / June 27, 2012 / Python PDF Series, Reportlab

Recently I needed the ability to use Reportlab’s flowables, but place them in fixed locations. Some of you are probably wondering why I would want to do that. The nice thing about flowables, like the Paragraph, is that they’re easily styled. If I could bold something or center something AND put it in a fixed

Reportlab: Mixing Fixed Content and Flowables Read More »

wxPython: Making a panel self-destruct

Python / Mike / June 26, 2012 / Python, wxPython

The other day I saw a question on StackOverflow about how to dynamically destroy and create panels after a certain amount of time has passed. I told the fellow that he could use the examples from one of my blog articles where I destroyed and created buttons, but the dude just didn’t get it. So

wxPython: Making a panel self-destruct Read More »

The New ShortcutEditor for wxPython

Python, wxPython / Mike / June 23, 2012 / wxPython

I meant to write up a post on this within a week of reading about it, but then things got busy and I forgot. Anyway, there’s a new widget in the wxPython toolkit called the ShortcutEditor. You can read about it on the wxPython mailing list. You’ll probably have to update the agw lib folder

The New ShortcutEditor for wxPython Read More »

wxPython: Introduction to Drag and Drop

5 Comments / Python, wxPython / Mike / June 20, 2012 / wxPython

Most computer users of this day and age use drag and drop (DnD) instinctively. You probably used it to transfer some files from one folder to another this week! The wxPython GUI toolkit provides drag and drop functionality baked in. In this tutorial, we’ll see just how easy it is to implement!

wxPython: Introduction to Drag and Drop Read More »

Python 201: How to sort a dictionary by value

4 Comments / Python / Mike / June 19, 2012 / Python

The other day I was asked if there was a way to sort a dictionary by value. If you use Python regularly, then you know that the dictionary data structure is by definition an unsorted mapping type. Some would define a dict as a hash table. Regardless, I needed a way to sort a nested

Python 201: How to sort a dictionary by value Read More »

← Previous 1 … 83 84 85 … 102 Next →

Teach Me Python

Teach Me Python

Python Courses, Videos, Books and more. Start Learning today!

The Python Show Podcast

The Python Show Podcast

Listen at The Python Show or YouTube or Apple Podcasts

Creating TUI Applications with Textual and Python

Python Logging

Purchase on Gumroad or Leanpub

Python Logging

Python Logging

Purchase on Gumroad, Leanpub or Amazon

JupyterLab 101

JupyterLab 101

Purchase on Gumroad, Leanpub or Amazon

The Python Quiz Book

The Python Quiz Book

Purchase at Gumroad or Leanpub or Amazon

Automating Excel with Python

Automating Excel with Python

Purchase at Gumroad or Leanpub or Amazon

Python 101

Python 101: 2nd Edition

Purchase at Gumroad or Leanpub or Amazon

Pillow: Image Processing with Python

Pillow: Image Processing with Python

Purchase at Gumroad or Leanpub or Amazon

Creating GUI Applications with wxPython

Creating GUI Applications with wxPython

Purchase at Gumroad or Leanpub or Amazon

Pick a Category

Archives

Links

  • @driscollis
  • Buy me a Coffee
  • MouseVsPython on Twitter
  • MouseVsPython Youtube Channel
  • Teach Me Python
Buy Me A Coffee

Recent Posts

  • Creating TUI Applications with Textual and Python Kickstarter Launched April 28, 2025
  • Python 101 – An Intro to Working with INI files Using configparser April 9, 2025
  • How to Download the Latest Release Assets from GitHub with Python April 7, 2025
  • ANN: Spring Python eBook Sale 2025 April 3, 2025
  • Textual – How to Add Widgets to a Container April 1, 2025

Links

  • @driscollis
  • Buy me a Coffee
  • MouseVsPython on Twitter
  • MouseVsPython Youtube Channel
  • Teach Me Python
Copyright © 2025 Mouse Vs Python | Powered by Pythonlibrary