Mike Meyer <[EMAIL PROTECTED]> writes:
> I assumed the Java model was based on the C++ model because it seems
> that everything in Java is based on C++, and they share the same
> vocabulary. If I'm wrong - well, that means you considered another
> language already.
I guess it's similar that way, h
Op 2005-10-03, Steven D'Aprano schreef <[EMAIL PROTECTED]>:
> On Mon, 03 Oct 2005 13:58:33 +, Antoon Pardon wrote:
>
>> Op 2005-10-03, Duncan Booth schreef <[EMAIL PROTECTED]>:
>>> Antoon Pardon wrote:
>>>
A language where variable have to be declared before use, would allow
to give a
Hi,
Is there an easy way to execute a python cgi script on a different
machine from the cgi server?
I could write my own server, but I was wondering if something is
available that would allow me to use a cgi script as is without
modification.
Amir
--
http://mail.python.org/mailman/listinfo/pyt
Op 2005-10-03, Steven D'Aprano schreef <[EMAIL PROTECTED]>:
> On Mon, 03 Oct 2005 06:59:04 +, Antoon Pardon wrote:
>
>> Well I'm a bit getting sick of those references to standard idioms.
>> There are moments those standard idioms don't work, while the
>> gist of the OP's remark still stands li
Larry Bates wrote:
> Why not write Python class that uses CTypes and make it
> available as a recipe? From a performance standpoint it
> is unlikely you can do better than to call the .dll and
> have it do the work for you. Just a suggestion.
A pure Python solution will be cross-platform, while
Amir Michail wrote:
> Is there an easy way to execute a python cgi script on a different
> machine from the cgi server?
http://www.google.com/search?q=reverse+proxy
--
http://mail.python.org/mailman/listinfo/python-list
Op 2005-10-03, Steven D'Aprano schreef <[EMAIL PROTECTED]>:
> On Mon, 03 Oct 2005 09:14:34 +, Antoon Pardon wrote:
>
>> If you are in a project with
>> multiple authors, your usage of private variables can break code
>> that other people rely on.
>
> If you are in a project with multiple author
Fredrik Lundh wrote:
> running a piece of python code as a script isn't the same thing as
> importing it as a module:
I ran into the same problem some time ago and even wanted to post here
about it, but found out that it had been reported as a bug three times
at sourceforge (if i remember correctl
David Murmann wrote:
> I ran into the same problem some time ago and even wanted to post here
> about it, but found out that it had been reported as a bug three times
> at sourceforge (if i remember correctly). The comments there explained
> it of course, but I still think that this behavior is so
On Fri, 30 Sep 2005 20:50:06 +0200, rumours say that Stefan Behnel
<[EMAIL PROTECTED]> might have written:
>Weird, though, the md5sum is the same as for the Python-2.4.2.tar.bz2 that I
>downloaded late (late!) yesterday evening and had forgotten in my download
>directory... just found it next to t
On Tue, 27 Sep 2005 10:42:20 -0500, rumours say that Terry Hancock
<[EMAIL PROTECTED]> might have written:
>This works:
>
bz2.decompress(eval(repr(user)))
>'huge'
>This may have some security issues, though, since it evaluates essentially
>any expression given for user. I'd be interested to
Mike Meyer wrote:
> When I notice that a list is broken (RFC 2822 says that
> reply-to is for the *author* of the message; anyone else setting it is
> doing so in violation of the RFC, and hence broken, no matter how
> useful it may be),
Since when did obeying the RFC become important in and
of
Mike Meyer wrote:
> Roel Schroeven <[EMAIL PROTECTED]> writes:
>
>>Is that really the desired behaviour? IMO the least you can do if you're
>>searching for help is subscribing to the mailing list on which you're
>>looking for help. Me and many others don't like to receive replies
>>directly instea
"David Pratt" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi. Thank you for the links. I am looking for something that would
> function in a similar way to Yahoo's filter for it's message boards.
> Perhaps I should have used the term profanity instead of unacceptable
> language.
benz wrote:
PYTHON_IDE={
> 'spe' : 'http://spe.pycs.net/',
> 'eric3' : 'http://www.die-offenbachs.de/detlev/eric3.html',
> 'drpython' : 'http://drpython.sourceforge.net/'}
I've tried out eric3 and it looks promising. However, I have one problem. I
open a file which is part of Zope and set a b
Fredrik Lundh wrote:
> David Murmann wrote:
>
>> I ran into the same problem some time ago and even wanted to post here
>> about it, but found out that it had been reported as a bug three times
>> at sourceforge (if i remember correctly). The comments there explained
>> it of course, but I still t
Fredrik Lundh wrote:
> "Celine & Dave" wrote:
>
>
>>What happens if I build Python with debug option
>>(--with-pydebug)? Do I see any changes in my program
>>output? What is --with-pydebug good for?
>
>
> from the README:
>
> --with-pydebug: Enable additional debugging code to help track down
Mike Meyer wrote:
> Steven D'Aprano <[EMAIL PROTECTED]> writes:
>
>>Declared variables have considerable labour costs, and only marginal
>>gains. Since the steps you take to protect against other errors will also
>>protect against mistyping variables, declarations of variables is of
>>little prac
Steven D'Aprano wrote:
> Mike Meyer wrote:
>
>
>>When I notice that a list is broken (RFC 2822 says that
>>reply-to is for the *author* of the message; anyone else setting it is
>>doing so in violation of the RFC, and hence broken, no matter how
>>useful it may be),
>
>
> Since when did obeyin
Florian Lindner wrote:
> Hello,
> in order to understand python code from a larger project (Zope 3) I'm
> looking for a tool that helps me with that. It should also help
> What (graphical) application running on Linux can you recommend?
Maybe you shoud tryy doxygen/happydoc etc?
Doxygen support
spiffo wrote:
> The Main Issue in a nutshell
>
> I am a corporate developer, working for a single company. Got a new project
> coming up and wondering if I should stay with Python for this new, fairly
> large project, are jump back on the 'safe' M$ bandwagon using a dot net
> language?
Hehe ...
> Tim Roberts <[EMAIL PROTECTED]> (TR) wrote:
>TR> [EMAIL PROTECTED] wrote:
>>> cool. so this line
>>> server = smtplib.SMTP(localhost)
>>> is when i connect ?
>TR> Use the source, Luke. Source code for every standard module is included on
>TR> your hard disk. If you look in the __init__ fo
While Microsoft and other big software vendors might have a roadmap
that ties you very tightly in with their budget, and also changes that
roadmap from time to time which breaks your current software, a lot of
open source projects have no roadmap at all.
This means that a .x.y.2 upgrade might very
Hello,
Can anyone tell me how to open an image
and transform it into a list so that
the functions of the multi dimensionnal module of
numarray (numarray.nd image) can process it ?
Do I have to use PIL ?
So I would code something like :
import Image
im = Image.open("Python.jpg")
data = list(im.ge
Ok, when re-reading my post it seems that I'm saying that Python has no
roadmap. That was not my intent. I meant projects other than Python,
even though the problems I got with 2.4.2 is real, I suspect there's
something in Komodo that is the problem since I can run all my python
programs with 2.4.2
"bruno modulix" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> James A. Donald wrote:
> > I am contemplating getting into Python, which is used by engineers I
> > admire - google and Bram Cohen, but was horrified
>
> "horrified" ???
>
> Ok, so I'll give you more reasons to be 'horri
We've discussed this before in the group; IDEs that crash on completion
of a PyGame or PyOgre (or any other graphics library) script.
I have had this result with pretty much every IDE that I have tried.
Except Eclipse.
I just wanted to let everyone know, (in case anyone else out there is
picky ab
Mike Meyer wrote:
> First thing to know; you can't stop someone who's sufficiently
> determined to run the program.
I have explained to her that I can't prevent someone who REALLY wants
her program from tossing a rock through her front window and making off
with her PC. They'd get the hardware an
Op 2005-10-04, Steven D'Aprano schreef <[EMAIL PROTECTED]>:
> Mike Meyer wrote:
>
>> Steven D'Aprano <[EMAIL PROTECTED]> writes:
>>
>>>Declared variables have considerable labour costs, and only marginal
>>>gains. Since the steps you take to protect against other errors will also
>>>protect agains
"Cigar" <[EMAIL PROTECTED]> writes:
> I may have to just put password protection in and if she hangs herself
> by 'sharing' the password with underlings she trusts (at the
> present)... again that's outside of my control of protecting her.
You could have the password automatically change once a mo
Antoon Pardon <[EMAIL PROTECTED]> writes:
> > Or you just code without declaring, intending to go
> > back and do it later, and invariably forget.
>
> What's the problem, the compilor will allert you
> to your forgetfullness and you can then correct
> them all at once.
Thiat in fact happens to m
Thanks, I already figured it out a few days ago.
In the wordnet.py file, just override the path (WNHOME and/or WNSEARCH)
to the wordnet 2.0directory that has the lexnames files etc... (on my
ubuntu box: '/usr/share/wordnet')
That seems to fix it, although python gives a few warnings at startup.
ch
Paul Rubin wrote:
> "Cigar" <[EMAIL PROTECTED]> writes:
> > Now that I'm three months into the development of this program, my
> > client tells me she would like to protect her investment by preventing
> > her employees from doing the same to her. (Going to the competition
> > and using her progra
On Tue, 04 Oct 2005 11:56:51 +0200, Raphaël MARC
<[EMAIL PROTECTED]> wrote:
>Hello,
>
>Can anyone tell me how to open an image
>and transform it into a list so that
>the functions of the multi dimensionnal module of
>numarray (numarray.nd image) can process it ?
>
>Do I have to use PIL ?
>
>So I w
well, in my opinion python is not trying hard enough. to me it isimmediately obvious that the main module gets evaluated twice andi am rather sure that one could introduce some magic of the kind"oh, i reevaluate the main script here, the module does not get filledthe usual way but uses the existing
Hi Jos,
Have you looked at Kamaelia? Its a project I'm involved in to create a
framework for highly concurrent systems, geared particularly for
suitability for network server/client applications.
A system is built out of many small components, each with their own
pseudo-thread of execution
"Cigar" <[EMAIL PROTECTED]> writes:
> I think the BIGGEST threat here is a feeling of vulnerablity. She now
> realizes that she is in a position that her competition was many years
> ago when she came into possesion of program the 'other side' was using
> and that she is now vulnerable. She wants
I thought that the following sequence
gl=0
def gen(x):
global gl
gl=x
yield x
s=gen(1)
suspends the generator just before the yield, so after the
assignment of s gl becomes 1.
Well, no. It is still zero. If I put
print "something"
before the yield, this doesn't get executed eit
On 10/3/05, spiffo <[EMAIL PROTECTED]> wrote:
> I am a corporate developer, working for a single company. Got a new project
> coming up and wondering if I should stay with Python for this new, fairly
> large project, are jump back on the 'safe' M$ bandwagon using a dot net
> language? Cross platfo
Fredrik Lundh wrote:
> Amir Michail wrote:
>
> > Is there an easy way to execute a python cgi script on a different
> > machine from the cgi server?
>
> http://www.google.com/search?q=reverse+proxy
>
>
Is there an easy way to do this without modifying the configuration of
the cgi server and w
Jerzy Karczmarczuk wrote:
> Could you tell me please where can I read something in depth about the
> semantics of generators? I feel a bit lost.
the behaviour is described in the language reference manual:
http://docs.python.org/ref/yield.html
"When a generator function is called, it re
Paul Rubin wrote:
> Antoon Pardon <[EMAIL PROTECTED]> writes:
>
>>>Or you just code without declaring, intending to go
>>>back and do it later, and invariably forget.
>>
>>What's the problem, the compilor will allert you
>>to your forgetfullness and you can then correct
>>them all at once.
>
>
On Tue, 04 Oct 2005 12:48:03 +0100, Jerzy Karczmarczuk
<[EMAIL PROTECTED]> wrote:
> before the yield, this doesn't get executed either. *EVERYTHING*
> from the beginning until the yield gets executed only upon s.next().
>
> Could you tell me please where can I read something in depth about the
>
Amir Michail wrote:
> Is there an easy way to do this without modifying the configuration of
> the cgi server and without running a cgi server on the other machine
> where the script will actually run?
>
> Perhaps someone wrote a simple server that provides the required
> environment for the cgi s
On Mon, 2005-10-03 at 17:37, Steve Holden wrote:
> Carsten Haese wrote:
> > On Mon, 2005-10-03 at 16:41, Carsten Haese wrote:
> >
> >>On Mon, 2005-10-03 at 15:52, Jacob Kroon wrote:
> >>
> >>>Hi, I'm having some problems with implementing dynamical module loading.
> >>>First let me
> >>>describe
> Boa Constructor, Iron Python etc... it seems all these projects get started,
> but never finished.
I don't know Boa (never liked it, never used it), but you could try
PythonCard: much higher level, easier and more productive. As for
Ironpython seems to be moving full steam towards a stable relea
Jerzy Karczmarczuk wrote:
> I thought that the following sequence
>
> gl=0
> def gen(x):
> global gl
> gl=x
> yield x
>
> s=gen(1)
>
> suspends the generator just before the yield, so after the
> assignment of s gl becomes 1.
>
> Well, no. It is still zero. If I put
>
> print "s
Carsten Haese wrote:
> On Mon, 2005-10-03 at 17:37, Steve Holden wrote:
>
>>Carsten Haese wrote:
>>
>>>On Mon, 2005-10-03 at 16:41, Carsten Haese wrote:
>>>
>>>
On Mon, 2005-10-03 at 15:52, Jacob Kroon wrote:
>Hi, I'm having some problems with implementing dynamical module loadin
Op 2005-10-04, Steve Holden schreef <[EMAIL PROTECTED]>:
> Paul Rubin wrote:
>> Antoon Pardon <[EMAIL PROTECTED]> writes:
>>
Or you just code without declaring, intending to go
back and do it later, and invariably forget.
>>>
>>>What's the problem, the compilor will allert you
>>>to your
I am trying to wrap some C code I have. Currently I have something
like...
defs.h
---
typedef unsigned long MY_DIGIT;
myapp.c
-
void MakeDigits(MY_DIGIT digits[]) {
}
char* GetString(char *inMessage, MY_DIGIT *digit) {
char *results;
...
...
return r
Fredrik Lundh wrote:
> Amir Michail wrote:
>
> > Is there an easy way to do this without modifying the configuration of
> > the cgi server and without running a cgi server on the other machine
> > where the script will actually run?
> >
> > Perhaps someone wrote a simple server that provides the re
look in the gc module ...
Celine & Dave wrote:
> Hello All,
>
> I am trying to find a profiler that can measure the
> memory usage in a Python program. I would like to
> gather some statistics about object usages. For
> example, I would like to be able to see how much time
> it takes to search fo
H!
I'm using a windows machine.
And a FreeBSD server where I run my python scripts.
I'm working/making my python scripts in a windows OS with putty now.
But I really want the python text colors and tab spacing like the
python windows IDE but the problem is that I can't find a good program.
Thank
Thank you all for some precisions about yield and generators.
But I would like to underline that I am *not* a complete newbie,
and I understand this stuff in general. I read the yield.html
material quite a time ago. But thank you for the PEP, I should
have scanned it more carefully.
My problem was
On Tue, 2005-10-04 at 08:32, Steve Holden wrote:
> Carsten Haese wrote:
> > On Mon, 2005-10-03 at 17:37, Steve Holden wrote:
> >
> >>Carsten Haese wrote:
> >>
> >>>On Mon, 2005-10-03 at 16:41, Carsten Haese wrote:
> >>>
> >>>
> On Mon, 2005-10-03 at 15:52, Jacob Kroon wrote:
>
>
> >>
Carsten Haese wrote:
> On Tue, 2005-10-04 at 08:32, Steve Holden wrote:
>
>>Carsten Haese wrote:
>>
>>>On Mon, 2005-10-03 at 17:37, Steve Holden wrote:
>>>
>>>
Carsten Haese wrote:
>On Mon, 2005-10-03 at 16:41, Carsten Haese wrote:
>
>
>
>>On Mon, 2005-10-03 at 15
I'm writing a Tree class, which should behave a lot like a dictionary.
In order to test this, I took the unittest from the source distribution
for dictionaries and used it to test against my Tree class.
Things are working out rather well, but I stumbled on a problem.
this unittest tries to test
Gerry Blais wrote:
> Newbie questions:
>
> Suppose abc.xls has sheets a, b, c.
>
> How can I find, in Python, the sheet names?
>
> Given a sheet name, how can I export the sheet as a csv file?
>
> Finally, how can I, in Python, make a .txt version of a Word document?
I think Google will help y
Alex wrote:
> Alterbnative 2 is simple and useful, so that's why everybody use that
> alternative.
Everybody doesn't... Particularly in Windows, it's common that
people make a .pyw-file, and then you don't see any console,
or otherwise they double-click on a .py-file, and if the app
dies with an
Hi,
I need a Python NNTP module that is capable of doing "MODE STREAM" as
client and as server. Does anyone here know of such a module except
the twisted.protocols.nntp module?
Cheers,
--
Klaus Alexander Seistrup
Copenhagen, Denmark
http://streetkids.dk/
--
http://mail.python.org/mailman/li
On Tuesday 04 October 2005 01:43, Svennglenn wrote:
> Have the program check for a file hidden somewhere on the computer.
> For instance, if the file dummyfile.dll doesn't exist in the
> windows/system32 folder the program just doesn't start. And when you
> install the program on her computer just
> What can one do to swiftly detect this type of bug?
While I can only speak from my own experience I can't remember a
single instance where this type of bug caused any kind of serious
problem. IMHO these are very trivial errors, that get caught
immediately and I would not even qualify them as
Luis M. Gonzalez wrote:
> If not Ironpython, Boo (which could be considered almost an static
> version of Python for .NET) would be a great choice.
You could also use Python for .Net
(http://www.zope.org/Members/Brian/PythonNet).
--
Benji York
--
http://mail.python.org/mailman/listinfo/python-l
[EMAIL PROTECTED] wrote:
> H!
>
> I'm using a windows machine.
> And a FreeBSD server where I run my python scripts.
>
> I'm working/making my python scripts in a windows OS with putty now.
> But I really want the python text colors and tab spacing like the
> python windows IDE but the problem is t
>was using to track clients and transactions. He couldn't demonstrate
>the program for one reason or another because it was protected in a way
>that neither could circumvent. (She didn't remember how it was
>protected, she had hired this person a long time ago.)
I'd venture to guess that neither
Carsten Haese wrote:
> I don't see how to make __import__ do that.
hint: you might get more people to look at your problems/proposals if you
actually trim the replies a little. (is 295 angle brackets in a single message
perhaps some kind of c.l.py record?)
--
http://mail.python.org/mailma
>So you're using Putty to telenet/ssh into the FreeBSD server, but what
>editor on you using on the FreeBSD server?
I use pico for that.
That Samba isn't available but I can install it.
Or are there other editors for FreeBSD that I can run with putty ?
I'm going googling arround again,
Thanks.
Disclaimer: this is not a flame against Boo.
It just boggles my mind that a language that describes itself as
"python inspired syntax" keeps being touted as:
> Luis M. Gonzalez wrote:
> Boo (which could be considered almost an static version of Python for .NET)
Boo is *nothing* like a static ve
> (is 295 angle brackets in a single message perhaps some kind of c.l.py
> record?)
oh, nevermind.
--
http://mail.python.org/mailman/listinfo/python-list
googling arround give me a full list of python editors and other stuff
http://wiki.python.org/moin/PythonEditors
--
http://mail.python.org/mailman/listinfo/python-list
Lasse Vågsæther Karlsen wrote:
> While Microsoft and other big software vendors might have a roadmap
> that ties you very tightly in with their budget, and also changes that
> roadmap from time to time which breaks your current software, a lot of
> open source projects have no roadmap at all.
>
> T
Antoon Pardon wrote:
> I'm writing a Tree class, which should behave a lot like a dictionary.
>
> In order to test this, I took the unittest from the source distribution
> for dictionaries and used it to test against my Tree class.
>
> Things are working out rather well, but I stumbled on a probl
Amir Michail wrote:
> Fredrik Lundh wrote:
>
>>Amir Michail wrote:
>>
>>
>>>Is there an easy way to do this without modifying the configuration of
>>>the cgi server and without running a cgi server on the other machine
>>>where the script will actually run?
>>>
>>>Perhaps someone wrote a simple se
"projecktzero" wrote:
> If samba isn't available/set-up, you can try using FTP. You can then
> use Crimson Editor which does the syntax coloring and can ftp to/from a
> server.
are you guys for real?
is there any major text editor for Unix that doesn't support Python syntax
coloring and indentat
I'd like to do some basic SQL stuff in Python. It seems like there are
a heck of a lot of SQL modules for Python. What's the simplest and
easiest one to use?
Thanks,
--Steve ([EMAIL PROTECTED])
--
http://mail.python.org/mailman/listinfo/python-list
Have those of you who think that the lack of required declarations in
Python is a huge weakness given any thought to the impact that adding
them would have on the rest of the language? I can't imagine how any
language with required declarations could even remotely resemble Python.
And if you wa
- I'm a newbie at freeBSD so I think there is , but I don't know where.
And i'm using putty on a windows OS what don't understand the syntax
coloring.
--
http://mail.python.org/mailman/listinfo/python-list
Hello,
I have this code:
s = smtplib.SMTP()
s.set_debuglevel(1)
s.connect(host=smtp_host)
s.set_debuglevel(0)
log("Connected, sending e-mail")
sys.stdout.flush()
s.sendmail(
consts.EMAIL_FROMADDRESS,
[to],
[EMAIL PROTECTED] wrote:
>- I'm a newbie at freeBSD so I think there is , but I don't know where.
I just complained when someone included the entire message thread in their
replies, but not including anything at all is pretty annoying too.
> And i'm using putty on a windows OS what don't understa
Istvan Albert wrote:
> Disclaimer: this is not a flame against Boo.
>
> It just boggles my mind that a language that describes itself as
> "python inspired syntax" keeps being touted as:
>
>
>>Luis M. Gonzalez wrote:
>>Boo (which could be considered almost an static version of Python for .NET)
>
> However, I think the functionality you're asking for is available as
> inspect.currentframe(), and if the implementation is in "C" it may have a tiny
> performance advantage over the Python version.
You're absolutely right, in fact the code snippet from my OP was taken
directly from inspect.curr
Laszlo Zsolt Nagy wrote:
> I have this code:
>
> s = smtplib.SMTP()
> s.set_debuglevel(1)
> s.connect(host=smtp_host)
> s.set_debuglevel(0)
> log("Connected, sending e-mail")
> sys.stdout.flush()
> s.sendmail(
> consts.EMAIL_FROM
mrstephengross schrieb:
> I'd like to do some basic SQL stuff in Python. It seems like there are
> a heck of a lot of SQL modules for Python. What's the simplest and
> easiest one to use?
>
> Thanks,
> --Steve ([EMAIL PROTECTED])
>
Do you have any DBMS in mind?
Philipp
--
http://mail.python.or
mrstephengross wrote:
> I'd like to do some basic SQL stuff in Python. It seems like there are
> a heck of a lot of SQL modules for Python. What's the simplest and
> easiest one to use?
It looks like pysqlite would be good for getting started with the
SQL/Python combo:
http://www.pysqlite.org/
In article <[EMAIL PROTECTED]>,
Peter Otten <[EMAIL PROTECTED]> wrote:
> Laszlo Zsolt Nagy wrote:
>
> > I have this code:
> >
> > s = smtplib.SMTP()
> > s.set_debuglevel(1)
> > s.connect(host=smtp_host)
> > s.set_debuglevel(0)
> > log("Connected, sending
thanks for all the help,
got it working ok now, connecting once, sending many.
thanks for the link too.
cheers,
sk
--
http://mail.python.org/mailman/listinfo/python-list
On 2005-10-04, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I'm working/making my python scripts in a windows OS with putty now.
> But I really want the python text colors and tab spacing like the
> python windows IDE but the problem is that I can't find a good program.
Jed, Emacs, and Vim all
If you read again my comment, I said "almost" an static version of
Python for .NET.
That means that it's not a Python implementation, but another language.
It takes a lot from python though, and it is aknowledeged by its
creator in the first paragraph of its homepage.
And if you still feel the nee
Just wrote:
>> smtplib obtains a copy of stderr by
>> from sys import stderr
> Ouch. I'd consider this a bug. "from sys import stderr" should at least
> be considered bad style.
I'd rather say this is the low-tech equivalent to
debug = logging.getLogger("smtplib").debug
an approach which is c
In article <[EMAIL PROTECTED]>, whoopsi
mailto:[EMAIL PROTECTED]> wrote:
>I thought I would simply be able to open a port, and send SCPI
> commands to configure and aquire values. But when I tried to run GPIB
> .py files from gpib-device-0.0.4 I got an error: "symbol 'ibsta' not
> found". Doing
I'm using MySQLdb. I use a FREE MySQL server at freesql.org. I also have an example class and some functions that use the module. even a simple script that turns a .cvs into a mysql table.
contact me if interested.
-edward
--
http://mail.python.org/mailman/listinfo/python-list
On 4 Oct 2005 05:46:27 -0700, Java and Swing <[EMAIL PROTECTED]> wrote:
> ...Ok, so I have a couple questions.
> 1) How would I call MakeDigits from python? In the C code I would
> normally have something like...
> MY_DIGIT tmp[10];
> MakeDigits(tmp);
How I usually do this is to
Hi, I am trying to create a python script to install a set of network
printers. I have had success using an os.popen statement, using
rundll32 and printui.dll. This takes way too long. Can someone point
me in a quicker direction?
thanks,
Matt
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
> >So you're using Putty to telenet/ssh into the FreeBSD server, but what
> >editor on you using on the FreeBSD server?
>
> I use pico for that.
> That Samba isn't available but I can install it.
>
> Or are there other editors for FreeBSD that I can run with putty ?
I use
leo wrote:
>>However, I think the functionality you're asking for is available as
>>inspect.currentframe(), and if the implementation is in "C" it may have a tiny
>>performance advantage over the Python version.
>
>
> You're absolutely right, in fact the code snippet from my OP was taken
> direct
Paul Rubin wrote:
>
> Let's see, say I'm a bank manager, and I want to close my cash vault
> at 5pm today and set its time lock so it can't be opened until 9am
> tomorrow, including by me. Is that "handcuffs"? It's normal
> procedure at any bank, for good reason. It's not necessarily some
> distr
leo wrote:
>
> You're absolutely right, in fact the code snippet from my OP was taken
> directly from inspect.currentframe. We're intending on using this in
> production, and I'm trying to gauge what the implications may be.
Use sys._getframe() instead; it doesn't raise an exception.
> Wow, I wa
In article <[EMAIL PROTECTED]>,
"Cigar" <[EMAIL PROTECTED]> wrote:
> I am developing a program for a client. She runs a shop where her
> clients bring in items for sale or short term buyback. Development of
> the program has been going great but she's mentioned that there is a
> 'feature' comin
Hello,
my programm sometime gives "Segmentation fault" message (no matter how long the
programm had run (1 day or 2 weeks). And there is nothing in log-files that can
points the problem.
My question is how it possible to find out where is the problem in the code?
Thanks for any help.
Python 2
Antoon Pardon <[EMAIL PROTECTED]> writes:
> Op 2005-10-03, Steven D'Aprano schreef <[EMAIL PROTECTED]>:
>> On Mon, 03 Oct 2005 13:58:33 +, Antoon Pardon wrote:
> Declarations also allow easier writable closures. Since the declaration
> happens at a certain scope, the run time can easily find th
1 - 100 of 232 matches
Mail list logo