|
by: Pierre Fortin |
last post by:
Hi!
"Python Essential Reference" - 2nd Ed, on P. 47 states that a string
format can include "*" for a field width (no restrictions noted); yet...
>>> "%*d" % (6,2) # works as expected
' 2'
Now, with a mapping....
|
by: Steven Bethard |
last post by:
I tried to Google for past discussion on this topic, but without much
luck. If this has been discussed before, I'd be grateful for a pointer.
Does anyone know why you can't assign a custom mapping type to an
object's __dict__?
py> class M(object):
.... def __getitem__(self, key):
.... return 42
.... def __setitem__(self, key, value):
|
by: Chris |
last post by:
I am using Castor to marshal and unmharshal some objects.
I have an object that has a List of strings.
I can marshal it without using a mapping file.
However, when I try to unmarshal it without using a mapping file,
I get an error that the list elements occur more than once.
If I use a mapping file and indicate that the data member is
a collection, it unmarshals without error.
My question is:
|
by: Evan Smith |
last post by:
I have a federated database (7.2 FP11, AIX 4.3) that seems to work
fine in most aspects. Today I'm trying to add a new user mapping with
the following statement:
create user mapping for mngdrq01 server opencases options
(remote_authid 'mngdrq01', remote_password 'xxxxx')
Querying the federated database works fine as long as the user
mentioned above is part of the sysadm group or has dbadm authority. As
soon as those authorities are...
|
by: aj |
last post by:
DB2 WSE LUW 8.1 Fixpak 5
Red Hat AS 2.1
I'm trying to set up a federated view from one DB2 database to
another in the same instance on the same server.
I do a:
create server <SERVER> type DB2/UDB version 8.1 wrapper DRDA
authorization <INSTANCE_OWNER> password "<PASSWD>" options
(NODE 'LOCAL',DBNAME '<DBNAME>',FOLD_ID 'N',FOLD_PW 'N')
|
|
by: Tomas Vera |
last post by:
Hello All,
I have a web application that is required to copy a file from the
WebServer to a remote web server (staging server to production
server).
I've created an application that maps the network drive, then moves a
specified file to the remote server. I've imported the SDK API
"WNetAddConnection2A" to map the network drive.
|
by: Thomas |
last post by:
in .net 1.1 we successfully use a HttpModule to catch 404 / 403.1 html
errors.
after migrating to .net 2.0, this modules is broken in a very, very strange
way.
we have defined a wildcard applicatio mapping to the .net 2.0 isapi dll:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll
with "check if file exists" disabled.
the HttpModule "RedirectMissing" is called upon every request to the
|
by: ronrsr |
last post by:
what is python trying to tell me here? does it have to do with
formatting the string.
Keywords and Zinger are fields in my database.
print """<tr>
<td class="padplace" width="120">Keywords</td>
<td class="padplace" idth="660">Zinger</td><td>
|
by: fndjoum |
last post by:
When using Visual Studio 2005, I was able to read the text file if it's in my local c:\ drive
ifstream myfile;
myfile.open("C:\\test.txt"); --------------> this works on local drive
if (!myfile) {
cout << "Unable to open file";
exit(1); // terminate with error
}
myfile.close();
|
by: puer_apuliae |
last post by:
- Federation Server (DB2)
- Solaris 10 Fed Server
db2 "create user mapping for USER123 server SRV1 options
(remote_authid ‘AAA_USER’, remote_password ‘PWD’)"
CLP response:
# ./db2 "create user mapping for USER123 server SRV1 options
(remote_authid .AAA_USER., remote_password .PWD’.)"
|
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...
|
|
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...
|
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: 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...
|
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...
|
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: 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
|