Does the COM server created with python have to be compiled? I have the
need to integrate database access but, I can not have any proprietary
software. Meaning no compiled programs built by me. So, if python can
do com clients and servers without compiling, Im good. But I don't know
if that is possible. The ctypes example implies that it must be
compiled using py2exe. I know the clients don't have to be compiled.
What about the server? 3 1535
Dan wrote: Does the COM server created with python have to be compiled? I have the need to integrate database access but, I can not have any proprietary software. Meaning no compiled programs built by me. So, if python can do com clients and servers without compiling, Im good. But I don't know if that is possible. The ctypes example implies that it must be compiled using py2exe. I know the clients don't have to be compiled. What about the server?
Sounds like you are walking a "fine line" on the "no compiled programs
written by me" thing.
Py2exe doesn't REALLY compile python. Rather it PACKAGEs it into an
..exe file with any required external routines in library.zip. With
proper bundle option, you can put everything into the .exe file itself
(except for mscvrt71.dll). Just makes it easier to distribute and
you don't have to install Python. Using py2exe and Inno Setup (my
recommendation) makes it easier to distribute your program to multiple
computers.
That said, no you don't have to compile. If you don't create .exe
by using py2exe you must have Python on the machine and must set up
any supporting libraries (like ctypes) in lib/site-packages.
-Larry Bates
>>Sounds like you are walking a "fine line" on the "no compiled programs written by me" thing.
Yeah, I hate it. I could have written a C++ server, client application
etc.. very easily. Instead, I have had to write javascript on the
client to embed in an html page to view, insert,delete etc.. SQL server
table over the intranet via ADO. But, requirements are requirements.
Besides, I am learning a lot and thats always good. We are integrators,
so our clients specifications are always vague and with an eye toward
leaving themselves "outs" whenever possible.
That said, no you don't have to compile. If you don't create .exe by using py2exe you must have Python on the machine and must set up any supporting libraries (like ctypes) in lib/site-packages.
That won't be a problem since all of the clients will be our own pc's
so we will be installing python on each.
What about activeX controls? Will I be able to create an activeX client
control using python for embedding into a web document, again without
compiling ? I know I could use Javascript to gain access to the python
server but I don't know if it will allow me to subscribe to the events
properly. In the ADO interfaces at least you can not receive the events
fired from the server via Javascript or VBScript. Thanks, Dan
Dan wrote: Sounds like you are walking a "fine line" on the "no compiled programs written by me" thing. Yeah, I hate it. I could have written a C++ server, client application etc.. very easily. Instead, I have had to write javascript on the client to embed in an html page to view, insert,delete etc.. SQL server table over the intranet via ADO. But, requirements are requirements. Besides, I am learning a lot and thats always good. We are integrators, so our clients specifications are always vague and with an eye toward leaving themselves "outs" whenever possible. That said, no you don't have to compile. If you don't create .exe by using py2exe you must have Python on the machine and must set up any supporting libraries (like ctypes) in lib/site-packages.
That won't be a problem since all of the clients will be our own pc's so we will be installing python on each.
What about activeX controls? Will I be able to create an activeX client control using python for embedding into a web document, again without compiling ? I know I could use Javascript to gain access to the python server but I don't know if it will allow me to subscribe to the events properly. In the ADO interfaces at least you can not receive the events fired from the server via Javascript or VBScript. Thanks, Dan
I guess I'm confused. You said "Meaning no compiled programs...".
ActiveX controls are compiled and Python is compiled. How come you
can install THOSE compiled programs but not application programs that
are compiled? To run ActiveX it has to be compiled/installed (it is
installed on the fly but it is still installing a compiled program).
-Larry Bates This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Matt |
last post by:
I think this is the basic concept in ASP server-side development.
My boss told me web application is NOT client-server application. I argued
with him because browser is the client, and the server code put in server.
Then web application should be a client-server application. My understanding
is that a web application is an application that runs on a browser. But
client-server application is not necessary a web application.
Please...
|
by: HarveyB |
last post by:
I would like to generate non-modal popup windows from
ASP.Net code-behind. I have tried using Client Side
scripting like "function Test(){
window.open('test.htm',_blank,
'height=200,width=400,status=no,toolbar=no,
menubar=no,location=no resizable=no
scrollable=no');
but I can't seem to invoke the client side script from
within a Server Side Form. I know I can use the context
with to Response.redirect or Server.transfer to return a
|
by: Microsoft |
last post by:
I'm about to start converting my application from a old-style monolith exe
(with flat files and limited database support for sharing some of the data)
to a layered .NET SQL server version. I have decided to do it as a Windows
Forms client application, hooking up to a central SQL Server, and then maybe
later create an asp version of the client if needed.
I have a couple of questions on the setup:
1) The clients will be going through the...
|
by: Michael Rybak |
last post by:
hi, everyone.
I'm writing a 2-players game that should support network mode. I'm now
testing it on 1 PC since I don't have 2. I directly use sockets, and
both client and server do computations, the only data transfered is
user mouse/kbd input.
It works synchronously, but somehow, when I play in client window,
both client and server have 17 fps, while when playing in server
window, server has 44 fps while client ...
|
by: Ken Allen |
last post by:
I am relatively new to .Net and C#, but I hav ebeen programing in other
languages and done some COM work for a number of years. I am attempting to
understand how to map an older program architecture into .Net -- not looking
to do it at this time, just to understand how I would achieve it.
In the old environment, we had two classes, a client and a server class,
that managed a data object. The server object knew how to interface with the...
| |
by: zorhel |
last post by:
Hi.
My clients will be IE, Mozilla and Opera in
a Windows and *nix OS.
So, my web app need to, from a server, send messages to a specific client
(browser), send messages for all clients, redirect a client to another page.
In other way, a client will be able to send messages to another client,
throw the server.
These are the first funcionalities.
|
by: Harley |
last post by:
Hello,
I am just learning the tcp/ip functions etc under vb.net so please
look over me if this is obviouse. I have been all over looking into
any functions that I didn't totaly understand and can't see that I am
doing anything wrong (i obviousely am though)
everything "works", client connects to server and when anything is
sent to the server it starts the mp3 and passes all messages the way i
ment for it to except that my server is...
|
by: rs |
last post by:
how I the client tell the server that the socket is closed? or this there an
even that informs the server that the clients socket is close?
Oh, I am using vb.net 2003
Thanks
|
by: jens Jensen |
last post by:
Hello,
I was given the task to build a .Net client that will talk to IBM
integration server via HTTP post.
The idea is that each http packet exchange should be authenticated via X09
"client authentication and not "server authentification"
The code i wrote is quite straight forward. (See listing below)
With server authentication, the server's application will contain a
certificate created specifically for that server. The client...
|
by: nsaffary |
last post by:
hi
I hava a client/server program that run correctly when i run it in one computer(local) but when I run client on a one computer and run server run on another, connection does not stablish.(I set server machine IP for client and server) please guide me?
server :
#include <winsock2.h>
#include <iostream>
#include <stdio.h>
#include <string.h>
#include <windows.h>
#pragma comment(lib, "ws2_32");
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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,...
|
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...
|
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();...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |