by: Matthew Wilson |
last post by:
Hi-
I'm writing a bunch of classes, several of which need functions and
variables defined in the math module. In some instances, I'm going to
import my module like this:
import myshapes
...
|
by: Andrew James |
last post by:
All,
I'm having some trouble with understanding python's importing behaviour
in my application. I'm using psyco to optimise part of my code, but I'm
not sure whether it inherits throughout the...
|
by: Jay O'Connor |
last post by:
Is there a good way to import python files without executing their content?
I'm trying some relfection based stuff and I want to be able to import a
module dynamically to check it's contents...
|
by: Tian |
last post by:
I am writing a python program which needs to support some plug-ins. I
have an XML file storing some dynamic structures. XML file records some
class names whose instance needs to be created in the...
|
by: paul.furber |
last post by:
Hi all,
I have some code which looks a bit like this:
#define Offset(m, T) ((size_t)(&((T *)1)->m) - 1)
class Point:
private:
int *x,*y;
|
by: Brian Blazer |
last post by:
OK, I have a very simple class here:
class Student:
"""Defines the student class"""
def __init__(self, lName, fName, mi):
self.lName = lName
self.fName = fName
self.mi = mi
|
by: pedz |
last post by:
I am trying to write a set of classes, probably template classes, to allow "pretty" and safe access to low level machine words.
The syntax I would like to end up with is something like:
foo =...
|
by: Seymour |
last post by:
I created a module with the DictAdder subclass as follows:
class DictAdder(Adder):
def add(self, x, y):
new={}
for k in x.keys(): new=x
for k in y.keys(): new=y
return new
At the...
|
by: Tool69 |
last post by:
Hi,
I've got the following hierarchy:
mainprog/
__init__.py
prog.py
utils/
__init__.py
myutils.py
others/
|
by: =?Utf-8?B?Zmplcm9uaW1v?= |
last post by:
Hi all,
As I mentioned in a previous thread (see 'Dbghelp, symbols and templates' in
microsoft.public.windbg), we created a powerful symbol engine using dbghelp
to dump the contents of the stack...
|
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...
|
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,...
|
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...
|
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: 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...
|
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,...
|
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...
|
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...
|
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 ...
|