473,750 Members | 2,541 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Portable apps in python

Hi,

I have been asked to develop an automated cash register application for use
in a typical restaurant. The catch is that it has to run on Windows. My
questions: is the python - wxPython combination mature enough to be able to
build such an app in a portable way? What about printing?

Thanks in advance,

Koen
--
Replace the underscore by a dot to obtain my email address.
Public PGP key available @ pgp.mit.edu
Jul 18 '05 #1
3 2017
Koen Vossen wrote:
Hi,

I have been asked to develop an automated cash register application for use
in a typical restaurant. The catch is that it has to run on Windows. My
questions: is the python - wxPython combination mature enough to be able to
build such an app in a portable way?
Yes.
... What about printing?


http://mail.python.org/pipermail/pyt...ly/115758.html

Paul Prescod

Jul 18 '05 #2
Hi Koen,

Recently wrote a full point-of-sale (till) application in Python/wxPython to run on Windows, and aside from a few fiddly areas (mostly due to the fact I was fighting the way Windows wants to do things - the app needed to be able to work entirely from a keyboard, mouse, touch-screen or any combination) it was a breeze. I've only been programming in Python for a month now after years of Delphi, and to be fair, the application was just a re-write of a 75% finished Delphi version, so all the design had been completed in advance.

For printing, you'll find that most POS printers use serial interfaces (our client already had the hardware) so I downloaded and used the Serial library (PySerial) and Epsom printer programming manual. Using these, it only took an hour to put together routines to print receipts and invoices, open the till drawer (they're usually linked into the back of the receipt printer) and automatically cut receipts. If you need to use parallel printers, there's an equivalent library for those too.

The software is actually running live on a client site, and they're very happy with it. I'd say that's a good indication of both the stability and speed of development possible using the Python/wxPython combination.

In terms of portability, I took care to only use libraries which were cross platform, and whilst I've not fully tested it, the application seems to run fine on my SuSE v9.0 machine. The only minor problem is that the main window doesn't automatically maximize to fill the screen, but I knew this would be the case from reading the wxWindows documentation.

As the client platform was Windows with a Linux server running MySQL, and the project deadline was tight, I actually developed the software on a Windows XP machine. I'd recommend always developing on the target platform, as there's nothing worse than finding a fundamental target platform specific problem late on in a project, and it's often the platform specific bits that take the time to learn when using new libraries.

Regards,
Chris

Jul 18 '05 #3
ciw42 wrote:

Recently wrote a full point-of-sale (till) application in Python/wxPython [snip]


Cool! Sounds like a good candidate for http://pythonology.org/success .

-Peter
Jul 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

31
2743
by: Carlos Ribeiro | last post by:
Hello all. I'm in the process of writing a business app in Python. (defining business app: data entry, validation, interactive reports, etc). For my purposes, it must be a native app (wxWidgets, GTK or Qt-based). A web application will not do it (although I would love it). To make a long history short: I used to develop business apps for a living for a long time (up to the mid 90s). My last experiences were with Delphi and VB. I know...
14
2704
by: mirnazim | last post by:
Hi, There are great Python Web Application Framework. But most of them are meant for content oriented web apps. Is there something that can ease the development of application that are not content oriented(I call them "NON CONTENT-ORIENTED WEB APPLICATIONS" because I don't know what else to call them). I mean the applications like, accounting, high volume data entry apps, where normally GUI clients have ruled. I know very high...
385
17254
by: Xah Lee | last post by:
Jargons of Info Tech industry (A Love of Jargons) Xah Lee, 2002 Feb People in the computing field like to spur the use of spurious jargons. The less educated they are, the more they like extraneous jargons, such as in the Unix & Perl community. Unlike mathematicians, where in mathematics there are no fewer jargons but each and every one are
0
1597
by: Robby Dermody | last post by:
Hey guys (thus begins a book of a post :), I'm in the process of writing a commercial VoIP call monitoring and recording application suite in python and pyrex. Basically, this software sits in a VoIP callcenter-type environment (complete with agent phones and VoIP servers), sniffs voice data off of the network, and allows users to listen into calls. It can record calls as well. The project is about a year and 3 months in the making and...
131
6200
by: pemo | last post by:
Is C really portable? And, apologies, but this is possibly a little OT? In c.l.c we often see 'not portable' comments, but I wonder just how portable C apps really are. I don't write portable C code - *not only* because, in a 'C sense', I
3
2148
by: The Magpie | last post by:
The portable versions of Firefox, Thunderbird and Sunbird for use with USB drives seems like a great idea and one I could make a helluva lot of use of at work - but before I drive down that particular road, does anyone know how good / bad / indifferent the implementation of Javascript is on these apps? For anyone else who might find them interesting, by the way, they are all found at the site http://portableapps.com/
0
1244
by: Andreas | last post by:
Hi Group, I want to get into writing portable apps that can run solely off a USB stick, but I have a few problems. I'm originally a java/.net developer, but I don't want it to be a requirement that the host computer has .net or a jre installed. I also am not very fond of developing with VC++ *cry*. Also done some perl, so I checked out ruby, python, python.... hey
10
1816
by: bramnizzle | last post by:
I don't know if this is the right thread or not, but... In my endless pursuit to hold on to my dinosaur laptop (Dell 1100 Inspiron - circa 2004)...I want to keep as much space free for my programs to run. The problem is that as new software comes out, they seem to take up more and more space on the HD. I use most of the PortableApps.com programs from my usb with great success and ease.
37
4231
by: Ioannis Vranos | last post by:
I think this is on topic here, because it is about C++ and available portable C++ GUI frameworks. I am looking for a decent portable C++ (meaning C++ API, not C) GUI framework that works both on Linux and Windows, so as to study and learn it. That is, there should be at least one good decent book about it. One option is QT. QT licensing however, is to pay for the QT framework,
0
9396
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9342
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9256
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8263
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6808
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6081
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4716
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4888
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2807
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.