473,387 Members | 1,876 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Advice request for project

I've been interested in Python for a while now but haven't had an
opportunity to use / learn it. I'm tasked now with a project at work that
might be my first opportunity.

I have to write a ~75 concurrent user document storage app. that allows
users to scan documents from locally attached scanners and save to a
database for retrieval. I also need to be able to call MS Word with
templates and allow the user to save the file to the database. I think I
understand that I can interface MS COM for these, correct?

My interest is in using FreeBSD/Postgresql/Python as a back end and a Python
GUI app on the XP workstations. I'm going to end up adding some
non-database functionality to the project in the future that precludes only
using odbc to the database. I'll likely end up with some form of inter-user
messaging being incorporated before it's over. Is it better to write one
server side socket app to handle everything or start via odbc and necessary
server side apps later? If anyone can tell me if this project seems
appropriate to Python and offer suggestions as to an initial architecture,
I'd appreciate it. I'm quite interested in the RAD aspect of the language
but quite lost at the moment. (I did just sign up for the Tutor mailing
list).

Thanks in Advance
Jul 18 '05 #1
3 1369
John French wrote:
I've been interested in Python for a while now but haven't had an
opportunity to use / learn it. I'm tasked now with a project at work that
might be my first opportunity.

I have to write a ~75 concurrent user document storage app. that allows
users to scan documents from locally attached scanners and save to a
database for retrieval. I also need to be able to call MS Word with
templates and allow the user to save the file to the database. I think I
understand that I can interface MS COM for these, correct?

My interest is in using FreeBSD/Postgresql/Python as a back end and a Python
GUI app on the XP workstations. I'm going to end up adding some
non-database functionality to the project in the future that precludes only
using odbc to the database. I'll likely end up with some form of inter-user
messaging being incorporated before it's over. Is it better to write one
server side socket app to handle everything or start via odbc and necessary
server side apps later? If anyone can tell me if this project seems
appropriate to Python and offer suggestions as to an initial architecture,
I'd appreciate it. I'm quite interested in the RAD aspect of the language
but quite lost at the moment. (I did just sign up for the Tutor mailing
list).

It sounds like an ideal project, and either approach would work. The
advantage to avoiding ODBC is that you won't experience any non-local
driver limitations which might or might not otherwise bite you in the
ass (my PostgreSQL experience is rather limited).

Look at the Pyrex package to get you started thinking about remote
execution and client/server communications. This lets a program on one
machine call methods on objects on another machine.

I'm sure you'll get other suggestions as well, but that'll get you
started thinking pythonically.

regards
Steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/
Holden Web LLC +1 703 861 4237 +1 800 494 3119
Jul 18 '05 #2
Steve Holden wrote:
Look at the Pyrex package to get you started thinking about remote
execution and client/server communications. This lets a program on one
machine call methods on objects on another machine.


Steve meant to say "Pyro", not "Pyrex". The former is what
he actually described. The latter is actually a Python-like
language that lets one write code that can be compiled as
an extension module, to write performance-critical code or
interface to existing libraries more easily.

-Peter
Jul 18 '05 #3
Peter Hansen wrote:
Steve Holden wrote:
Look at the Pyrex package to get you started thinking about remote
execution and client/server communications. This lets a program on one
machine call methods on objects on another machine.

Steve meant to say "Pyro", not "Pyrex". The former is what
he actually described. The latter is actually a Python-like
language that lets one write code that can be compiled as
an extension module, to write performance-critical code or
interface to existing libraries more easily.

Correct, Python Remote Objects is indeed what I meant. Thanks, Peter.

regards
Steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/
Holden Web LLC +1 703 861 4237 +1 800 494 3119
Jul 18 '05 #4

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

Similar topics

0
by: Ram | last post by:
Hi, Can you point me in the way off a good book or online tutorial covering the following scenario. I compile results for a couple of cycling club race series I've a tblRIDERS ( 100 + )...
11
by: Milton | last post by:
Hello, This isn't exactly a C programming question, but i figured experienced C programmers would offer the best response. My boss wants a program developed that reads from ANY device(peripheral)...
1
by: Elias | last post by:
Hi, I have a project that calls a web service that is in another project, but on the same server. I make the reference to the web service using localhost (for example,...
2
by: Gregory Piñero | last post by:
Hi Guys, Does anyone know how to program a Python script to send out emails with a request delivery receipt? Is it something I can build into the email message via the mime stuff? And yes, I...
4
by: Jesus Angel | last post by:
Hello. Could you please give me an advice about a PHP SOAP library? I use PHP 4.3.0 and I have found this SOAP libraries: NuSOAP 0.7.1 (SOAP 1.1, WSDL 1.1 and HTTP 1.0/1.1) PEAR::SOAP 0.9.4...
8
by: Amit | last post by:
Hello group, I will appreciate it if you give me some advice on my question: I am asked to write a program. This program is supposed to act as "Adobe PDF" feature which some of you either have...
12
by: presencia | last post by:
Hi all, I am still in the process of lerning how to write decent C++ code. I will appreciate any good advice or corrections. I have two questions, a technical one and one for advice for how to...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.