473,765 Members | 1,957 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Calling Web Services from Python

Hello,

My Python application calls web services available on the Internet. The
web service being called is defined through application user input.

The Python built-in library allows access to web services using HTTP
protocol, which is not acceptible - generating SOAP messages for
arbitrary web services is something i wish to avoid.

I need a package/tool that generates web service proxies that will do
all the low-level HTTP work. (Someting like the WSDL.EXE tool in .NET
Framework) The ZSI and SOAPy packages [1] that i found (should) have
those functionalities but either have a bug (SOAPy) or either do not
work for arbitrary web services (ZSI). I tried the ZSI wsdl2py script on
a wsdl of one of my services, and the script crashes. I suppose the wsdl
was "too hard" for the script to parse.

Are there any other packages that utilize generation of web service
proxies that are compatible with SOAP & WSDL standards?

Thank you,
ivan zuzak

[1] - http://pywebsvcs.sourceforge.net/
Apr 7 '06 #1
3 4287
Ivan Zuzak wrote:
I need a package/tool that generates web service proxies that will do
all the low-level HTTP work. (Someting like the WSDL.EXE tool in .NET
Framework) The ZSI and SOAPy packages [1] that i found (should) have
those functionalities but either have a bug (SOAPy) or either do not
work for arbitrary web services (ZSI).


You might want to read this, specifically 12.5 and 12.6 for WSDL:
http://diveintopython.org/soap_web_services/index.html

It uses SOAPpy, which may or may not be different than SOAPy, depending
on if you made a typo or not. :)
Apr 7 '06 #2
Can you tell us more about SOAPpy bug ?
Is it about authentication ?

Ivan Zuzak a écrit :
...
I need a package/tool that generates web service proxies that will do
all the low-level HTTP work. (Someting like the WSDL.EXE tool in .NET
Framework) The ZSI and SOAPy packages [1] that i found (should) have
those functionalities but either have a bug (SOAPy) or either do not
work for arbitrary web services (ZSI).
...

Apr 9 '06 #3
m.banaouas wrote:
Can you tell us more about SOAPpy bug ?
Is it about authentication ?

Ivan Zuzak a écrit :
...
I need a package/tool that generates web service proxies that will do
all the low-level HTTP work. (Someting like the WSDL.EXE tool in .NET
Framework) The ZSI and SOAPy packages [1] that i found (should) have
those functionalities but either have a bug (SOAPy) or either do not
work for arbitrary web services (ZSI). ...


SOAPy : http://soapy.sourceforge.net/
SOAPPy : http://pywebsvcs.sourceforge.net/

The bugged one is SOAPy (parsing errors and something else). I just
downloaded and tried SOAPPy and that one crashes too. I get an "Index
out of range" error while parsing the wsdl ( in XMLSchema.py ). The
traceback is a bit long, so I wont list the whole thing here.

Bellow this message is the wsdl of the service for which im trying to
get a proxy. If anyone manages to get a proxy out of it - please let me
know :).

Thank you for your help,
Ivan

//////////////////////// WSDL START ////////////////////////////////

<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitio ns xmlns:s1="http://www.ris.fer.hr/overlay/addressing"
xmlns:http="htt p://schemas.xmlsoap .org/wsdl/http/"
xmlns:soap="htt p://schemas.xmlsoap .org/wsdl/soap/"
xmlns:s="http://www.w3.org/2001/XMLSchema"
xmlns:s3="http://www.ris.fer.hr/OpenCollectives/CoopetitionServ ices/MailBox/MessageStatisti cs"

xmlns:s2="http://www.ris.fer.hr/OpenCollectives/CoopetitionServ ices/XmlDoc"
xmlns:s4="http://ris.zemris.fer. hr/remotingSchema"
xmlns:soapenc=" http://schemas.xmlsoap .org/soap/encoding/"
xmlns:tns="http ://www.ris.fer.hr/OpenCollectives/CoopetitionServ ices/MailBox"

xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"
xmlns:mime="htt p://schemas.xmlsoap .org/wsdl/mime/"
targetNamespace ="http://www.ris.fer.hr/OpenCollectives/CoopetitionServ ices/MailBox"

xmlns:wsdl="htt p://schemas.xmlsoap .org/wsdl/">
<wsdl:types>
<s:schema elementFormDefa ult="qualified"
targetNamespace ="http://www.ris.fer.hr/OpenCollectives/CoopetitionServ ices/MailBox">
<s:import namespace="http ://www.ris.fer.hr/overlay/addressing" />
<s:import
namespace="http ://www.ris.fer.hr/OpenCollectives/CoopetitionServ ices/XmlDoc"

/>
<s:element name="Create">
<s:complexTyp e>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="mbID"
type="s:string" />
<s:element minOccurs="0" maxOccurs="1"
ref="s1:Endpoin tReference" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="CreateRes ponse">
<s:complexTyp e>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="CreateRes ult"
type="s:boolean " />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="ResourceI D" type="tns:Resou rceID" />
<s:complexTyp e name="ResourceI D" mixed="true">
<s:annotation >
<s:appinfo>
<keepNamespaceD eclarations>xml ns</keepNamespaceDe clarations>
</s:appinfo>
</s:annotation>
</s:complexType>
<s:element name="Destroy">
<s:complexTyp e>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1"
ref="s1:Endpoin tReference" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="DestroyRe sponse">
<s:complexTyp e>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="DestroyRe sult"
type="s:boolean " />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="PutMessag e">
<s:complexTyp e>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" ref="s2:xmlDoc" />
<s:element minOccurs="0" maxOccurs="1"
ref="s1:Endpoin tReference" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="PutMessag eResponse">
<s:complexTyp e>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1"
name="PutMessag eResult" type="s:boolean " />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="GetMessag e">
<s:complexTyp e>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="timeParam "
type="s:int" />
<s:element minOccurs="0" maxOccurs="1" name="cb"
type="s:string" />
<s:element minOccurs="0" maxOccurs="1"
ref="s1:Endpoin tReference" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="GetMessag eResponse">
<s:complexTyp e>
<s:sequence>
<s:any minOccurs="0" maxOccurs="1" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="FlushPerf ormanceLog">
<s:complexTyp e />
</s:element>
<s:element name="FlushPerf ormanceLogRespo nse">
<s:complexTyp e />
</s:element>
<s:element name="GetPerfor manceLog">
<s:complexTyp e />
</s:element>
<s:element name="GetPerfor manceLogRespons e">
<s:complexTyp e>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1"
name="GetPerfor manceLogResult" >
<s:complexTyp e mixed="true">
<s:sequence>
<s:any />
</s:sequence>
</s:complexType>
</s:element>
</s:sequence>
</s:complexType>
</s:element>
</s:schema>
<s:schema elementFormDefa ult="qualified"
targetNamespace ="http://www.ris.fer.hr/overlay/addressing">
<s:element name="EndpointR eference"
type="s1:Endpoi ntReferenceType " />
<s:complexTyp e name="EndpointR eferenceType">
<s:annotation >
<s:appinfo>
<keepNamespaceD eclarations>xml ns</keepNamespaceDe clarations>
</s:appinfo>
</s:annotation>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="Address"
type="s1:Attrib utedURI" />
<s:element minOccurs="0" maxOccurs="1" name="RemotingA ddress"
type="s1:Attrib utedURI" />
<s:element minOccurs="0" maxOccurs="1"
name="Reference Properties" type="s1:Refere ncePropertiesTy pe" />
<s:element minOccurs="0" maxOccurs="1" name="PortType"
type="s1:Attrib utedQName" />
<s:element minOccurs="0" maxOccurs="1" name="ServiceNa me"
type="s1:Servic eNameType" />
<s:element minOccurs="0" maxOccurs="1" name="To"
type="s1:Attrib utedURI" />
<s:element minOccurs="0" maxOccurs="1" name="From"
type="s1:Endpoi ntReferenceType " />
</s:sequence>
</s:complexType>
<s:complexTyp e name="Attribute dURI">
<s:simpleConten t>
<s:extension base="s:anyURI" />
</s:simpleContent >
</s:complexType>
<s:complexTyp e name="Reference PropertiesType" >
<s:annotation >
<s:appinfo>
<keepNamespaceD eclarations>xml ns</keepNamespaceDe clarations>
</s:appinfo>
</s:annotation>
<s:sequence>
<s:any minOccurs="0" maxOccurs="unbo unded" />
</s:sequence>
</s:complexType>
<s:complexTyp e name="Attribute dQName">
<s:simpleConten t>
<s:extension base="s:QName" />
</s:simpleContent >
</s:complexType>
<s:complexTyp e name="ServiceNa meType">
<s:simpleConten t>
<s:extension base="s:QName">
<s:attribute name="PortName" type="s:NCName" />
</s:extension>
</s:simpleContent >
</s:complexType>
<s:element name="FacilityI D" type="s1:Facili tyID" />
<s:complexTyp e name="FacilityI D" mixed="true">
<s:annotation >
<s:appinfo>
<keepNamespaceD eclarations>xml ns</keepNamespaceDe clarations>
</s:appinfo>
</s:annotation>
</s:complexType>
<s:element name="To" type="s1:ToAttr ibutedURI" />
<s:complexTyp e name="ToAttribu tedURI" mixed="true">
<s:anyAttribu te />
</s:complexType>
</s:schema>
<s:schema elementFormDefa ult="qualified"
targetNamespace ="http://www.ris.fer.hr/OpenCollectives/CoopetitionServ ices/XmlDoc">
<s:element name="xmlDoc" nillable="true" type="s2:XmlDoc " />
<s:complexTyp e name="XmlDoc" mixed="true">
<s:sequence>
<s:any minOccurs="0" maxOccurs="unbo unded" />
</s:sequence>
<s:anyAttribu te />
</s:complexType>
</s:schema>
<s:schema elementFormDefa ult="qualified"
targetNamespace ="http://www.ris.fer.hr/OpenCollectives/CoopetitionServ ices/MailBox/MessageStatisti cs">
<s:element name="MessageSt atistics" type="s3:Messag eStatistics" />
<s:complexTyp e name="MessageSt atistics">
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="messageWa iting"
type="s:double" />
</s:sequence>
</s:complexType>
</s:schema>
<s:schema elementFormDefa ult="qualified"
targetNamespace ="http://ris.zemris.fer. hr/remotingSchema" >
<s:element name="service" type="s4:Servic e" />
<s:complexTyp e name="Service">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="class"
type="s4:Classe s" />
</s:sequence>
<s:attribute name="name" type="s:string" />
<s:attribute name="location" type="s:string" />
</s:complexType>
<s:complexTyp e name="Classes">
<s:sequence>
<s:element minOccurs="0" maxOccurs="unbo unded" name="method"
type="s4:Method s" />
</s:sequence>
<s:attribute name="name" type="s:string" />
<s:attribute name="namespace " type="s:string" />
</s:complexType>
<s:complexTyp e name="Methods">
<s:sequence>
<s:element minOccurs="0" maxOccurs="unbo unded" name="param"
type="s4:Params " />
</s:sequence>
<s:attribute name="name" type="s:string" />
<s:attribute name="returnTyp e" type="s:string" />
</s:complexType>
<s:complexTyp e name="Params">
<s:attribute name="name" type="s:string" />
<s:attribute name="type" type="s:string" />
</s:complexType>
</s:schema>
</wsdl:types>
<wsdl:message name="CreateSoa pIn">
<wsdl:part name="parameter s" element="tns:Cr eate" />
</wsdl:message>
<wsdl:message name="CreateSoa pOut">
<wsdl:part name="parameter s" element="tns:Cr eateResponse" />
</wsdl:message>
<wsdl:message name="CreateFac ilityID">
<wsdl:part name="FacilityI D" element="s1:Fac ilityID" />
</wsdl:message>
<wsdl:message name="CreateRes ourceID">
<wsdl:part name="ResourceI D" element="tns:Re sourceID" />
</wsdl:message>
<wsdl:message name="CreateTo" >
<wsdl:part name="To" element="s1:To" />
</wsdl:message>
<wsdl:message name="DestroySo apIn">
<wsdl:part name="parameter s" element="tns:De stroy" />
</wsdl:message>
<wsdl:message name="DestroySo apOut">
<wsdl:part name="parameter s" element="tns:De stroyResponse" />
</wsdl:message>
<wsdl:message name="DestroyFa cilityID">
<wsdl:part name="FacilityI D" element="s1:Fac ilityID" />
</wsdl:message>
<wsdl:message name="DestroyRe sourceID">
<wsdl:part name="ResourceI D" element="tns:Re sourceID" />
</wsdl:message>
<wsdl:message name="DestroyTo ">
<wsdl:part name="To" element="s1:To" />
</wsdl:message>
<wsdl:message name="PutMessag eSoapIn">
<wsdl:part name="parameter s" element="tns:Pu tMessage" />
</wsdl:message>
<wsdl:message name="PutMessag eSoapOut">
<wsdl:part name="parameter s" element="tns:Pu tMessageRespons e" />
</wsdl:message>
<wsdl:message name="PutMessag eFacilityID">
<wsdl:part name="FacilityI D" element="s1:Fac ilityID" />
</wsdl:message>
<wsdl:message name="PutMessag eResourceID">
<wsdl:part name="ResourceI D" element="tns:Re sourceID" />
</wsdl:message>
<wsdl:message name="PutMessag eTo">
<wsdl:part name="To" element="s1:To" />
</wsdl:message>
<wsdl:message name="GetMessag eSoapIn">
<wsdl:part name="parameter s" element="tns:Ge tMessage" />
</wsdl:message>
<wsdl:message name="GetMessag eSoapOut">
<wsdl:part name="parameter s" element="tns:Ge tMessageRespons e" />
</wsdl:message>
<wsdl:message name="GetMessag eFacilityID">
<wsdl:part name="FacilityI D" element="s1:Fac ilityID" />
</wsdl:message>
<wsdl:message name="GetMessag eResourceID">
<wsdl:part name="ResourceI D" element="tns:Re sourceID" />
</wsdl:message>
<wsdl:message name="GetMessag eTo">
<wsdl:part name="To" element="s1:To" />
</wsdl:message>
<wsdl:message name="GetMessag eMessageStatist ics">
<wsdl:part name="MessageSt atistics" element="s3:Mes sageStatistics" />
</wsdl:message>
<wsdl:message name="FlushPerf ormanceLogSoapI n">
<wsdl:part name="parameter s" element="tns:Fl ushPerformanceL og" />
</wsdl:message>
<wsdl:message name="FlushPerf ormanceLogSoapO ut">
<wsdl:part name="parameter s"
element="tns:Fl ushPerformanceL ogResponse" />
</wsdl:message>
<wsdl:message name="GetPerfor manceLogSoapIn" >
<wsdl:part name="parameter s" element="tns:Ge tPerformanceLog " />
</wsdl:message>
<wsdl:message name="GetPerfor manceLogSoapOut ">
<wsdl:part name="parameter s" element="tns:Ge tPerformanceLog Response" />
</wsdl:message>
<wsdl:message name="GetPerfor manceLogservice ">
<wsdl:part name="service" element="s4:ser vice" />
</wsdl:message>
<wsdl:portTyp e name="MailBoxSo ap">
<wsdl:operati on name="Create">
<wsdl:input message="tns:Cr eateSoapIn" />
<wsdl:output message="tns:Cr eateSoapOut" />
</wsdl:operation>
<wsdl:operati on name="Destroy">
<wsdl:input message="tns:De stroySoapIn" />
<wsdl:output message="tns:De stroySoapOut" />
</wsdl:operation>
<wsdl:operati on name="PutMessag e">
<wsdl:input message="tns:Pu tMessageSoapIn" />
<wsdl:output message="tns:Pu tMessageSoapOut " />
</wsdl:operation>
<wsdl:operati on name="GetMessag e">
<wsdl:input message="tns:Ge tMessageSoapIn" />
<wsdl:output message="tns:Ge tMessageSoapOut " />
</wsdl:operation>
<wsdl:operati on name="FlushPerf ormanceLog">
<wsdl:input message="tns:Fl ushPerformanceL ogSoapIn" />
<wsdl:output message="tns:Fl ushPerformanceL ogSoapOut" />
</wsdl:operation>
<wsdl:operati on name="GetPerfor manceLog">
<wsdl:input message="tns:Ge tPerformanceLog SoapIn" />
<wsdl:output message="tns:Ge tPerformanceLog SoapOut" />
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="MailBoxSo ap" type="tns:MailB oxSoap">
<soap:binding transport="http ://schemas.xmlsoap .org/soap/http"
style="document " />
<wsdl:operati on name="Create">
<soap:operati on
soapAction="htt p://www.ris.fer.hr/OpenCollectives/CoopetitionServ ices/MailBox/Create"

style="document " />
<wsdl:input>
<soap:body use="literal" />
<soap:header message="tns:Cr eateFacilityID" part="FacilityI D"
use="literal" />
<soap:header message="tns:Cr eateTo" part="To" use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
<soap:header message="tns:Cr eateResourceID" part="ResourceI D"
use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operati on name="Destroy">
<soap:operati on
soapAction="htt p://www.ris.fer.hr/OpenCollectives/CoopetitionServ ices/MailBox/Destroy"

style="document " />
<wsdl:input>
<soap:body use="literal" />
<soap:header message="tns:De stroyFacilityID " part="FacilityI D"
use="literal" />
<soap:header message="tns:De stroyResourceID " part="ResourceI D"
use="literal" />
<soap:header message="tns:De stroyTo" part="To" use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operati on name="PutMessag e">
<soap:operati on
soapAction="htt p://www.ris.fer.hr/OpenCollectives/CoopetitionServ ices/MailBox/PutMessage"

style="document " />
<wsdl:input>
<soap:body use="literal" />
<soap:header message="tns:Pu tMessageFacilit yID"
part="FacilityI D" use="literal" />
<soap:header message="tns:Pu tMessageResourc eID"
part="ResourceI D" use="literal" />
<soap:header message="tns:Pu tMessageTo" part="To" use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operati on name="GetMessag e">
<soap:operati on
soapAction="htt p://www.ris.fer.hr/OpenCollectives/CoopetitionServ ices/MailBox/GetMessage"

style="document " />
<wsdl:input>
<soap:body use="literal" />
<soap:header message="tns:Ge tMessageFacilit yID"
part="FacilityI D" use="literal" />
<soap:header message="tns:Ge tMessageResourc eID"
part="ResourceI D" use="literal" />
<soap:header message="tns:Ge tMessageTo" part="To" use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
<soap:header message="tns:Ge tMessageMessage Statistics"
part="MessageSt atistics" use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operati on name="FlushPerf ormanceLog">
<soap:operati on
soapAction="htt p://www.ris.fer.hr/OpenCollectives/CoopetitionServ ices/MailBox/FlushPerformanc eLog"

style="document " />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operati on name="GetPerfor manceLog">
<soap:operati on
soapAction="htt p://www.ris.fer.hr/OpenCollectives/CoopetitionServ ices/MailBox/GetPerformanceL og"

style="document " />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
<soap:header message="tns:Ge tPerformanceLog service"
part="service" use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="MailBox">
<documentatio n xmlns="http://schemas.xmlsoap .org/wsdl/" />
<wsdl:port name="MailBoxSo ap" binding="tns:Ma ilBoxSoap">
<soap:address
location="http://localhost/coopetitionserv ices/mailbox/MailBox.asmx" />
</wsdl:port>
</wsdl:service>
</wsdl:definition s>

//////////////////////////// WSDL END /////////////////////////////

Apr 11 '06 #4

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

Similar topics

14
2860
by: David MacQuigg | last post by:
I am starting a new thread so we can avoid some of the non-productive argument following my earlier post "What is good about Prothon". At Mr. Hahn's request, I will avoid using the name "Prothon" in the subject of any post to this newsgroup. Please ignore the old thread. I've also updated my webpage http://ece.arizona.edu/~edatools/Python Anyone with some good ideas for "Python 3" is welcome to contribute. I hope GvR won't sue me for...
9
3769
by: F. GEIGER | last post by:
I've dev'ed a Python prototype of an app, that besides the internals making it up has a gui. While test-driven dev'ing the app's internals in Python is fun as usual, dev'ing the GUI is not so funny, at least for me. I guess dev'ing a GUI in a test-driven way is not possible, or is it? I'm using wxPython, so if anyone has an idea... For now most of the time I extend and change the gui things, then run it, do the clicks to go thru the...
2
1669
by: lamthierry | last post by:
Let's say I have a python function do some math like the following: def doMath(self): self.val = self.val + 1 How can I call this python function from C++? Assuming I have some sort of Python wrapper around my C++ codes.
2
2813
by: Kevin | last post by:
i have a python file called pyq which outputs stock quotes, currently i also have a html file that takes stock ticker inputs, i would like to bridge the two by building another program that takes the html inputs and uses them to call the pyq stock ticker program and then output them into a text file... any idea how to do this? my tentative code is:
5
2575
by: Shuaib | last post by:
Hi! I have a python script which returns an Integer value. How do I call this script from a C programe, and use the result returned? Thanks for your time.
1
2514
by: jvframework | last post by:
I have a C# .NET cliente calling a Python web services. I pass two string values to web service and I wanna receive a string from the method. But, the server side receive my string values and the client side only display a empty string (""). I generate a C# Proxy class from the python web services WSDL with wsdl.exe tool.
0
959
by: Jeff Rush | last post by:
For those who write books and articles, I've established a wiki page just as we already have a page for those who offer training services for Python. If you would like to be reachable by those needing writing services of various kinds, please add yourself to the list, along with some indication of what you prefer to work on, your portfolio of work and your experience level: http://wiki.python.org/moin/PythonWriters I'm open to...
3
6402
by: ShambhuHubli | last post by:
Hi all!! .. I am New member to this group. And also new to C/PYTHON API coding. I am trying to have two way communication i,e i am calling from python to C and then from C to python. I have no problem calling c func from python.... But problem is for calling C to Python I am trying to call a python function multiple times by passing one parameter 'fun(param)' from C code . I am getting segmentation fault error while executing . The...
23
2065
by: Harishankar | last post by:
Hi, Sorry to start off on a negative note in the list, but I feel that the Python subprocess module is sorely deficient because it lacks a mechanism to: 1. Create non-blocking pipes which can be read in a separate thread (I am currently writing a mencoder GUI in Tkinter and need a full fledged process handler to control the command line and to display the progress in a text-box)
2
1742
by: vgkhle | last post by:
hi all How can diff python scripts be called from a main script which is again a .py? os.system("python external_script.py") works fine, but what if I want to handle the un handled exceptions of the external scripts in the main script?? thanx in advance
0
10161
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10007
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
9955
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
9833
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
6649
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
5275
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
5421
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3924
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2806
bsmnconsultancy
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...

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.