Jorgen Grahn wrote:
On Wed, 5 Nov 2008 08:19:34 -0800 (PST), [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
On Nov 5, 5:12 pm, Michele Petrazzo
<[EMAIL PROTECTED]> wrote:
Hi all, I believe that this is a *nix question, but since I'm
developing in python, I'm here.
I have a code that execute into
> The codec is doing its job, but I want to override the codepoint for this
> character (plus others) to use the html entity instead (from \227 to
> — in this case).
>
> I see hints writing your own codec and updating the decoding_map, but I
> could use some more detail.
>
> Is that the best
On Mon, 3 Nov 2008 16:31:24 -0500
"Benjamin Kaplan" <[EMAIL PROTECTED]> wrote:
> I'm pretty sure all of the spam is automated, so your message won't get
> through to anyone.
Well, it got through to us adding to our spam problem.
--
D'Arcy J.M. Cain <[EMAIL PROTECTED]> | Democracy is thr
On approximately 11/5/2008 8:23 PM, came the following characters from
the keyboard of r:
I don't use one, but why not take a stab at coding one yourself.
Use Tkinter to start, its easy. well documented
gotta learn GUI somehow
Since you are recommending tkinter, maybe you know what is the stat
r <[EMAIL PROTECTED]> writes:
> On Nov 5, 7:55 pm, [EMAIL PROTECTED] (Edwin) wrote:
>> Hi there,
>>
>> I've been looking for a snippet manager and found PySnippet but it
>> requires PyGTK. Do you know any other option that doesn't need much?
>>
>> I'm sort of new to python and user interfaces seem
Hi, I'm using the codecs module to read in utf8 and write out cp1252
encodings. For some characters I'd like to override the default behavior.
For example, the mdash character comes out as the code point \227 and I'd
like to translate it as — instead.
Example: the file myutf8.txt contains this s
I would be interested in something like that as well. Can you please post
your links? I'm new to python. Well, I've been using it for a few months.
GUI Application development would be a highly desire thing for some of my
classes right now. I've done some PyGTK and wxPython tuts, but it's not
sinki
On Nov 5, 7:55 pm, [EMAIL PROTECTED] (Edwin) wrote:
> Hi there,
>
> I've been looking for a snippet manager and found PySnippet but it
> requires PyGTK. Do you know any other option that doesn't need much?
>
> I'm sort of new to python and user interfaces seem a bit far for me
> right now, that's w
Thanks it works OK
On Thu, 2008-11-06 at 13:14 +1000, James Mills wrote:
> On Mon, Nov 3, 2008 at 7:16 AM, Michel Perez <[EMAIL PROTECTED]>
> wrote:
> > HI all:
> >
> > imagine something like this:
> >
> > class father:
> >pass
> > class son( father ):
> >pass
> >
> > I need to know the so
On Wed, Nov 05, 2008 at 09:21:38PM EST, Lawrence D'Oliveiro wrote:
> In message <[EMAIL PROTECTED]>, Marc 'BlackJack' Rintsch
> wrote:
>
> > Well, if it handles your backups it doesn't work. It just pretends until
> > you really *need* the backed up data. ;-)
>
> That's why a backup system need
On Sun, Nov 2, 2008 at 1:16 PM, Michel Perez <[EMAIL PROTECTED]> wrote:
> HI all:
>
> imagine something like this:
>
> class father:
>pass
> class son( father ):
>pass
>
> I need to know the son ancestor class how can i know this.
Help on built-in function issubclass in module __builtin__:
In message <[EMAIL PROTECTED]>, Chris
Jones wrote:
> I'm one of them that need to get their hands dirty a bith .. lack the
> power of abstraction. Need to do some building before I can specify.
Nothing wrong with rapid prototyping. :)
--
http://mail.python.org/mailman/listinfo/python-list
On Nov 4, 3:30 pm, Peter Otten <[EMAIL PROTECTED]> wrote:
> George Sakkis wrote:
> > Is there any package that parses regular expressions and returns an
> > AST ? Something like:
>
> parse_rx(r'i (love|hate) h(is|er) (cat|dog)s?\s*!+')
> > Regex('i ', Or('love', 'hate'), ' h', Or('is', 'er'),
On Tue, Nov 4, 2008 at 7:31 AM, Benjamin Kaplan
<[EMAIL PROTECTED]> wrote:
> I'm pretty sure all of the spam is automated, so your message won't get
> through to anyone.
It feels good to let our frustration out :)
--
http://mail.python.org/mailman/listinfo/python-list
On Mon, Nov 3, 2008 at 7:16 AM, Michel Perez <[EMAIL PROTECTED]> wrote:
> HI all:
>
> imagine something like this:
>
> class father:
>pass
> class son( father ):
>pass
>
> I need to know the son ancestor class how can i know this.
>>> class Father(object): pass
...
>>> class Son(Father): p
On Tue, Nov 4, 2008 at 12:13 AM, Aspersieman <[EMAIL PROTECTED]> wrote:
> +1
+1
--
http://mail.python.org/mailman/listinfo/python-list
On Wed, Nov 05, 2008 at 08:12:40PM EST, Tim Rowe wrote:
> 2008/11/6 Chris Jones <[EMAIL PROTECTED]>:
>
> > Begs the question .. how do I tell what is an object-oriented vs. a
> > procedural problem?
>
> Practice, largely, so you're doing the right thing (provided you don't
> trust your /real/ bac
2008/11/4 Banibrata Dutta <[EMAIL PROTECTED]>:
> Without pretending to be an expert on the subject of music-theory or
> audio-processing, my n00b'ish doubt is -- MIDI, unlike MP3 would be devoid
> of voice... and in my overtly simplistic thinking -- presence / absence of
> which (i.e. voice) could
On approximately 11/3/2008 2:51 PM, came the following characters from
the keyboard of has:
On 3 Nov 2008, at 18:18, Glenn Linderman wrote:
On approximately 11/3/2008 12:20 AM, came the following characters
from the keyboard of has:
On 2 Nov, 14:06, Tino Wildenhain <[EMAIL PROTECTED]> w
I'm pretty sure all of the spam is automated, so your message won't get
through to anyone.
On Mon, Nov 3, 2008 at 9:05 AM, r <[EMAIL PROTECTED]> wrote:
> Hey, go sell your stupid watch somewhere else.
> i am tired of the message boards clogged with these stupid ads.
> Nobody here cares about your
HI all:
imagine something like this:
class father:
pass
class son( father ):
pass
I need to know the son ancestor class how can i know this.
Thanks
---
Red Telematica de Salud - Cuba
CNICM - Infomed
--
http://mail.python.org/mailman/li
gaurav kashyap wrote:
> What i want to do is open another terminal window from already opened
> terminal window.
>
Why?
> Can this be achieved.If yes,please provide a tested solution
>
How about GNU Screen
http://coding.derkeiler.com/Archive/Python/comp.lang.python/2008-09/msg01932.html
--
+1
--
Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo
On Mon, 03 Nov 2008 16:05:13 +0200, r <[EMAIL PROTECTED]> wrote:
Hey, go sell your stupid watch somewhere else.
i am tired of the message boards clogged with these stupid ads.
Nobody here cares about your cheap rolex watches
Hi,
I apologize if this is not the place to do this.
A python user group for malaysia is currently being formed , so if you
are in malaysia, feel free to join us at : www.python.my
Marcus.CM.
--
http://mail.python.org/mailman/listinfo/python-list
On Nov 4, 9:56 pm, Paul McGuire <[EMAIL PROTECTED]> wrote:
> On Nov 4, 1:34 pm, George Sakkis <[EMAIL PROTECTED]> wrote:
>
>
>
> > Is there any package that parses regular expressions and returns an
> > AST ? Something like:
>
> > >>> parse_rx(r'i (love|hate) h(is|er) (cat|dog)s?\s*!+')
>
> > Regex
On Wed, Nov 5, 2008 at 8:52 PM, Kurda Yon <[EMAIL PROTECTED]> wrote:
> By the where can I find a simle tutorial about the work with the
> "sqlite" from the Python?
> --
> http://mail.python.org/mailman/listinfo/python-list
>
Once you get the connection, you can pretty much just do whatever if
you
In message <[EMAIL PROTECTED]>, Chris
Jones wrote:
> But then I started thinking .. what if for instance I had to scale my
> effort from my single system to a large "data center" with hundred of
> hosts .. with different backup policies .. what if I had to take into
> account time slots where th
In message <[EMAIL PROTECTED]>, Marc 'BlackJack' Rintsch
wrote:
> Well, if it handles your backups it doesn't work. It just pretends until
> you really *need* the backed up data. ;-)
That's why a backup system needs to be absolutely simple as possible. Avoid
complicated formats, a straightforwa
Kurda Yon <[EMAIL PROTECTED]> writes:
> Is there a way to force Python to re-import the function, i.e. to
> force it to use the new version of the function?
A Python ‘import’ is conceptually two steps: execute the module, then
bind the objects that were created to names in a namespace.
The impor
Hi there,
I've been looking for a snippet manager and found PySnippet but it
requires PyGTK. Do you know any other option that doesn't need much?
I'm sort of new to python and user interfaces seem a bit far for me
right now, that's why I thought having to install PyGTK was
unnecessary.
Would yo
On Nov 5, 1:55 pm, Thorsten Kampe <[EMAIL PROTECTED]> wrote:
>
> You (and Kurda) keep on talking the wrong stuff. First: you don't need
> pysqlite2. SQLite support is included in the latest Python as module
> sqlite3.
>
By the way, I think the above statement is very helpfull. I tried to
install t
Hi,
I have the following small problem. I run Python interactively. In the
beginning of the run I import many functions from many modules. Than I
execute some commands and notice that one of the imported functions
contains a mistake. I open another terminal in which I open the file
with the proble
In message <[EMAIL PROTECTED]>, Michele Petrazzo wrote:
> I have a code that execute into a "Popen" a command (ssh). I need that,
> if the python process die, the parent pid (PPID) of the child don't
> become 1 (like I can seen on /proc/$pid$/status ), but it has to die,
> following it's parent
>
hi,
this is how i do it:
from subprocess import Popen, PIPE, call, check_call
if sys.platform == 'win32':
net.processWithoutGui = Popen(
['python', self.temporaryFilename,'-w'],
shell=False, cwd=lNetworkDir)
In message <[EMAIL PROTECTED]>, Tim Golden
wrote:
> Alternatively, you might be able to commandline control
> mencoder or ffmpeg itself to do this. Not sure, but there
> must be *something* among those millions of command-line
> options!
FFmpeg--yes!
--
http://mail.python.org/mailman/listinfo/pyt
2008/11/6 Chris Jones <[EMAIL PROTECTED]>:
> Begs the question .. how do I tell what is an object-oriented vs. a
> procedural problem?
Practice, largely, so you're doing the right thing (provided you don't
trust your /real/ backup data to a tutorial program). If you find that
the program is at it
On Thu, Nov 6, 2008 at 9:53 AM, <[EMAIL PROTECTED]> wrote:
> logFileName = 'log.txt'
>logfile = open(logFileName, "a")
>class MyUDPServer(SocketServer.UDPServer):
>def server_bind(self):
>self.socket.setsockopt(socket.SOL_SOCKET,
> socket.SO_
On Tue, Nov 04, 2008 at 11:11:17PM EST, Ben Finney wrote:
> Chris Jones <[EMAIL PROTECTED]> writes:
>
> > I am thinking of rewriting it in python using OOP tactics/strategy.
> >
> > Please advise.
>
> I advise you not to have the object-oriented programming hammer as
> your only tool, because it
Steven D'Aprano <[EMAIL PROTECTED]> writes:
> I'm surprised that nobody yet has RTFM:
> http://docs.python.org/reference/expressions.html
>
> generator_expression ::= "(" expression genexpr_for ")"
> ...
> The parentheses can be omitted on calls with only one argument.
It's a fair cop. Thanks f
logFileName = 'log.txt'
logfile = open(logFileName, "a")
class MyUDPServer(SocketServer.UDPServer):
def server_bind(self):
self.socket.setsockopt(socket.SOL_SOCKET,
socket.SO_RCVBUF, 8388608)
self.socket.bind(self.serve
Python List,
We have a setup where we have implemented NIS Netgroups through LDAP.
I'm looking to query this information through python. We don't have a
nis domain or nis server so I don't think the nis module is
appropriate, what I think I'm looking for is python bindings for nss
(name switching
Stef Mientki wrote:
hello,
I can't find any good documentation or examples of packages,
so I'm not sure if this is good / correct way, although it seems to work.
root
/ dir1
/ file1.py
/ general.py
/ dir2
/ file2.py
/ general_root.py
Now I want to be able to use functions of file
Ben Finney wrote:
> Falcolas writes:
>
>> Using the surrounding parentheses creates a generator object
>
> No. Using the generator expression syntax creates a generator object.
>
> Parentheses are irrelevant to whether the expression is a generator
> expression. The parentheses merely group the exp
On 5 Nov, 20:44, "Andy O'Meara" <[EMAIL PROTECTED]> wrote:
> On Nov 4, 10:59 am, sturlamolden <[EMAIL PROTECTED]> wrote:
>
> > For Christ sake, researchers
> > write global climate models using MPI. And you think a toy problem
> > like 'real-time video processing' is a show stopper for using multip
Arnaud Delobelle wrote:
> Lie <[EMAIL PROTECTED]> writes:
>> What makes a generator expression is " for in
>> ".
>>
>> Parenthesis is generally required because without it, it's almost
>> impossible to differentiate it with the surrounding. But it is not
>> part of the formally required syntax.
>
On Wed, 05 Nov 2008 21:23:57 +, Arnaud Delobelle wrote:
> Lie <[EMAIL PROTECTED]> writes:
>> What makes a generator expression is " for in
>> ".
>>
>> Parenthesis is generally required because without it, it's almost
>> impossible to differentiate it with the surrounding. But it is not part
>
[EMAIL PROTECTED] wrote:
> Hi,
> I cannot get the following code to work
>
> import win32com.client
> import time
>
> engine = win32com.client.Dispatch("DAO.DBEngine.36")
> db=engine.OpenDatabase(r"testdate2.mdb")
> access = db.OpenRecordset("select * from test")
>
> access.AddNew()
> access.Fi
Lie <[EMAIL PROTECTED]> writes:
> What makes a generator expression is " for in
> ".
>
> Parenthesis is generally required because without it, it's almost
> impossible to differentiate it with the surrounding. But it is not
> part of the formally required syntax.
... But *every* generator express
On Nov 5, 4:56 pm, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote:
> On Wed, 05 Nov 2008 14:39:36 +1100, Ben Finney wrote:
> > Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> writes:
>
> >> On Wed, 05 Nov 2008 13:18:27 +1100, Ben Finney wrote:
>
> >> > Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]>
On Nov 4, 9:33 am, Joe Strout <[EMAIL PROTECTED]> wrote:
> On Nov 3, 2008, at 5:27 PM, Marc 'BlackJack' Rintsch wrote:
>
> > Maybe this is a surprise for you, because we haven't discussed this in
> > much detail in this group lately, but it applies to Python which does
> > call-by-object or call-by
Mr.SpOOn <[EMAIL PROTECTED]> writes:
> The discussion's gone a bit off topic so I don't know if it is a good
> idea to continue here. I'll try.
>
> My first question was about a way to order a python set. Someone
> suggested to try this module:
>
> http://code.activestate.com/recipes/528878/
>
> I
Why do I feel like the coding style in Lutz' "Programming Python" is
very far from idiomatic Python? The content feels dated, and I find
that most answers that I get for Python questions use a different
style from the sort of code I see in this book.
Thomas
On Nov 5, 7:15 am, Jorgen Grahn <[EMAIL
On Nov 6, 3:21 am, BL <[EMAIL PROTECTED]> wrote:
> On Nov 4, 7:11 pm, John Machin <[EMAIL PROTECTED]> wrote:
>
>
>
> > On Nov 5, 9:18 am, BL <[EMAIL PROTECTED]> wrote:
>
> > > I am very new to python. I am installing it as part of a bazzar
> > > version control installation.
> > > I have installed
Zac Burns wrote:
> Greetings,
>
> I have a dictionary that seems to be misbehaving on a membership
> check. This test code:
>
> 1: import types
> 2: assert myDict.__class__ is types.DictionaryType
[...]
For the record, it would be much simpler and more readable to say
assert type(myDict) is
> 1) mimic glibc default behavior, i.e. if flags is unspecified or
>None, treat it as the default value of AI_V4MAPPED |
>AI_ADDRCONFIG).
Unfortunately, that contradicts with RFC 3493, which says
# If hints is a null pointer, the behavior
# shall be as if it referred to a structure co
Hi,
I cannot get the following code to work
import win32com.client
import time
engine = win32com.client.Dispatch("DAO.DBEngine.36")
db=engine.OpenDatabase(r"testdate2.mdb")
access = db.OpenRecordset("select * from test")
access.AddNew()
access.Fields("test").value=time.strptime('10:00AM', '%I:%M
Tim Golden wrote:
Martin wrote:
I've looked at Pymedia but I have to admit I couldn't work it out.
Commandline might be good, but I'm really hoping someone can point me
in the right direction, as this is not my area of expertise.
Nor mine :) Just so people can help you out, can you
be more
On Nov 5, 6:03 am, lkcl <[EMAIL PROTECTED]> wrote:
>
> * pyjamas (http://pyjs.org) - this is treating the web page and the
wow. I had never heard of it, but it is _damned_ impressive. THANK
YOU. I'm joining the club for my next webdev project!
rock on.
--
http://mail.python.org/mailman/listinfo/
Hello,
I am attempting to use Popen() in a Windows service. I have a small
Win32 .exe that I normally run through the os.popen2() function. I've
written a class to work with the input and output parameters that are
passed and captured from this exe. When I use the class outside of a
service using
On Wed, Nov 5, 2008 at 1:55 PM, Thorsten Kampe
<[EMAIL PROTECTED]> wrote:
> * Shawn Milochik (Wed, 5 Nov 2008 12:28:46 -0500)
>> >> Thanks, but either I'm missing something or you're missing
>> >> something. I can't do any of what you describe on the machine I
>> >> want to use sqlite on.
>> >>
>>
Sorry everyone, I found the bug in my code shortly after posting here.
For the curious:
I was using a QString (pyqt) inadvertently in the lookup. I guess the
behavior then would be would be that QStrings hash differently than
strings which accounts for the membership check failure, but lists do
a
On Nov 5, 2:14 pm, Stef Mientki <[EMAIL PROTECTED]> wrote:
> Now I want to be able to use functions of file2 in file1,
> and vice-versa.
It sounds like __all__ in __init__.py would work:
http://www.python.org/doc/2.5.2/tut/node8.html#SECTION00840
If not, then pkgutil might of use
On Nov 4, 10:59 am, sturlamolden <[EMAIL PROTECTED]> wrote:
> On Nov 4, 4:27 pm, "Andy O'Meara" <[EMAIL PROTECTED]> wrote:
>
> > People
> > in the scientific and academic communities have to understand that the
> > dynamics in commercial software are can be *very* different needs and
> > have to sh
Greetings,
I have a dictionary that seems to be misbehaving on a membership
check. This test code:
1: import types
2: assert myDict.__class__ is types.DictionaryType
3: assert (key in myDict.keys()) == (key in myDict)
raises AssertionError on line three. The dictionary items are all of
type (str
The discussion's gone a bit off topic so I don't know if it is a good
idea to continue here. I'll try.
My first question was about a way to order a python set. Someone
suggested to try this module:
http://code.activestate.com/recipes/528878/
It seemed pretty good, but I've tried it just today an
hello,
I can't find any good documentation or examples of packages,
so I'm not sure if this is good / correct way, although it seems to work.
root
/ dir1
/ file1.py
/ general.py
/ dir2
/ file2.py
/ general_root.py
Now I want to be able to use functions of file2 in file1,
and vice-
Matthieu Brucher wrote:
> 2008/11/5 L V <[EMAIL PROTECTED]>:
>> Why don't range and xrange threat floats as floats?
>> Is there any good reason range and xrange don't threat floats as floats but
>> as integers?
>> When I enter float arguments in a range, the floats are treated as integers.
>> (+ so
Artur Sousa wrote:
Hi everyone.
What I'm trying to do is a Python script that reads a txt file with the
following structure:
...
I've already started some programming, but I'm stuck.
You started from the bottom up. Now also try from the top down. What
should be the main structure of your
* Shawn Milochik (Wed, 5 Nov 2008 12:28:46 -0500)
> >> Thanks, but either I'm missing something or you're missing
> >> something. I can't do any of what you describe on the machine I
> >> want to use sqlite on.
> >>
> >> I have downloaded the binary sqlite3 file from sqlite's Web site,
> >> and
> >
On Wed, Nov 5, 2008 at 6:59 PM, Diez B. Roggisch <[EMAIL PROTECTED]> wrote:
> You need to call the __init__ of NoteSet inside Scale, as otherwise the
> instance isn't properly initialized.
Thanks, solved.
--
http://mail.python.org/mailman/listinfo/python-list
Rui Jorge Rei wrote:
I have been searching for a way to fetch the originating function object
from a generator.
Futile, I believe.
I would also like to get all the arguments and keyword
arguments that were used when calling the function that created the
generator.
The arguments to a genera
python 2.5
Since it was an indirect suggestion, I thought it belonged here.
What should python-list and python-dev both be used for?
I know there is an alternative, but why not make it easier?
From: Matthieu Brucher <[EMAIL PROTECTED]>
To: L V <[EMAIL PROTECTED]
2008/11/5 L V <[EMAIL PROTECTED]>:
> Why don't range and xrange threat floats as floats?
> Is there any good reason range and xrange don't threat floats as floats but
> as integers?
> When I enter float arguments in a range, the floats are treated as integers.
> (+ some warning)
>
> This is how I t
Dennis Lee Bieber wrote:
I'm sure all the programmers using FORTRAN for the last 50 years
will be very surprised to hear that it uses call-by-value!
That should be 'last 31 years'. Fortran IV *was* call-by-value, as
least for scalars. I remember spending a couple of hours tracking d
Hello,
I'm trying to add some better error handling to an async_chat client.
What I want is to retry or terminate gracefully if the connection to
the server doesn't succeed. Here's what I have:
import asyncore, asynchat, socket
class http_client(asynchat.async_chat):
def __init__(self, host
Mr.SpOOn wrote:
> Hi,
> I have a problem with this piece of code:
>
>
> class NoteSet(OrderedSet):
> def has_pitch(self):
> pass
> def has_note(self):
> pass
>
> class Scale(NoteSet):
> def __init__(self, root, type):
> self.append(root)
> self.type =
Hi everyone.
What I'm trying to do is a Python script that reads a txt file with the
following structure:
> AI_Tactic.dat
> NO_AI
> 1
>
> Animation.dat
> Intro
> 2
>
> Areas.dat
> Start
> 8
Then asks for a user input on what line containing one of those filenames
the script should read, sh
Hi,
I have a problem with this piece of code:
class NoteSet(OrderedSet):
def has_pitch(self):
pass
def has_note(self):
pass
class Scale(NoteSet):
def __init__(self, root, type):
self.append(root)
self.type = type
ScaleType(scale=self)
OrderedS
一首诗 wrote:
Hi all,
Recently I am writing a small network application with python.
The protocol is binary based and defined in c header files.
Now I'm using the upack function of 'struct' module, but it's really
annoying to write fmt strings for complicated structures.
What will be your choice
Hi,
I have been searching for a way to fetch the originating function object
from a generator. I would also like to get all the arguments and keyword
arguments that were used when calling the function that created the
generator. I checked the inspect module, but it doesn't seem to provide that
dat
On approximately 11/4/2008 5:31 PM, came the following characters from
the keyboard of Marc 'BlackJack' Rintsch:
On Tue, 04 Nov 2008 16:52:17 -0800, 一首诗 wrote:
Now I'm using the upack function of 'struct' module, but it's really
annoying to write fmt strings for complicated structures.
What
Hi guys,
Testing some older versions of Python. 2.2.3 compiled and runs just
fine on same machine. I get this error during 2.3.7 make:
case $MAKEFLAGS in \
*-s*) CC='gcc -pthread' LDSHARED='gcc -pthread -shared' OPT='-
DNDEBUG -g -O3 -Wall -Wstrict-prototypes' ./python -E ./setup.py -q
b
On Wed, 05 Nov 2008 17:12:08 +, Jorgen Grahn wrote:
> On Wed, 05 Nov 2008 17:42:43 +1300, Lawrence D'Oliveiro
>
>> Engineering rule #1: if it works, don't fix it.
>
> Especially if it handles your backups ;-)
Well, if it handles your backups it doesn't work. It just pretends until
you real
>> Thanks, but either I'm missing something or you're missing something.
>> I can't do any of what you describe on the machine I want to use
>> sqlite on.
>>
>> I have downloaded the binary sqlite3 file from sqlite's Web site, and
>
> The linux binary will not work. You need the headers and the
> l
On Tue, 04 Nov 2008 22:11:37 -0500, Chris Jones <[EMAIL PROTECTED]> wrote:
> I wrote a trivial backup script that does the following:
>
> If tonight is the first day of the month:
>
> save last month's archive
> do a full backup of the system
>
> else:
>
> save last night's differential
James Prav wrote:
> Hi ,
>
> Could anybody please point to any available Red Hat 32 bit RPM for python
> 2.4 or greater version on Net. I searched a lot but could find for other
> flavour and not Red hat.
RPMS are distro-specific. What distribution are you looking for? Since
python is an integr
On Wed, 05 Nov 2008 17:42:43 +1300, Lawrence D'Oliveiro <[EMAIL PROTECTED]>
wrote:
> In message <[EMAIL PROTECTED]>, Chris
> Jones wrote:
>
>> I wrote this in bash and although it's worked w/o a glitch for the last
>> couple of months .. I'm not comfortable with .. "the look & feel of it".
>
> Eng
On Nov 5, 10:07 pm, "Shawn Milochik" <[EMAIL PROTECTED]> wrote:
> On Wed, Nov 5, 2008 at 11:58 AM, [EMAIL PROTECTED]
>
>
>
> <[EMAIL PROTECTED]> wrote:
> > On Nov 5, 9:22 pm, "Shawn Milochik" <[EMAIL PROTECTED]> wrote:
> >> This is all useful and interesting stuff, but I don't think any of it
> >>
On Wed, 5 Nov 2008 08:19:34 -0800 (PST), [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:
> On Nov 5, 5:12 pm, Michele Petrazzo <[EMAIL PROTECTED]>
> wrote:
>> Hi all,
>> I believe that this is a *nix question, but since I'm developing in
>> python, I'm here.
>>
>> I have a code that execute into a "P
On Wed, Nov 5, 2008 at 11:58 AM, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> On Nov 5, 9:22 pm, "Shawn Milochik" <[EMAIL PROTECTED]> wrote:
>> This is all useful and interesting stuff, but I don't think any of it
>> addresses the original poster's problem, which is that he has no root
>> access
On Nov 5, 9:22 pm, "Shawn Milochik" <[EMAIL PROTECTED]> wrote:
> This is all useful and interesting stuff, but I don't think any of it
> addresses the original poster's problem, which is that he has no root
> access to a Linux or Unix box, and wants to get pysqlite2 working in
> his home directory.
I work with tab-delimited files for a living. Because of the same need
you have, I created a Python script to do this. It has usage
information that is easy to follow (just run it without any
arguments).
I hope someone else finds this useful. I have, and use it every month.
It can be easily modifi
On Nov 4, 7:11 pm, John Machin <[EMAIL PROTECTED]> wrote:
> On Nov 5, 9:18 am, BL <[EMAIL PROTECTED]> wrote:
>
> > I am very new to python. I am installing it as part of a bazzar
> > version control installation.
> > I have installed the Crypto, paramiko and cElementTree modules. I am
> > running
This is all useful and interesting stuff, but I don't think any of it
addresses the original poster's problem, which is that he has no root
access to a Linux or Unix box, and wants to get pysqlite2 working in
his home directory. I have exactly the same problem. I have tried the
"python setup.py ins
On Nov 5, 5:12 pm, Michele Petrazzo <[EMAIL PROTECTED]>
wrote:
> Hi all,
> I believe that this is a *nix question, but since I'm developing in
> python, I'm here.
>
> I have a code that execute into a "Popen" a command (ssh). I need that,
> if the python process die, the parent pid (PPID) of the ch
On Nov 5, 8:37 pm, Mat <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm trying to use raw sockets in python for a dhcp client. I write this code :
>
> soc = socket.socket(socket.PF_PACKET, socket.SOCK_RAW)
> soc.bind(("eth0",0x0800))
> data = soc.recv(1024)
> print len(data)
>
> It seems to work correctly
In article <[EMAIL PROTECTED]>,
Akira Kitada <[EMAIL PROTECTED]> wrote:
>
>I'm running Python 2.5 on FreeBSD 4.
>pthread on FreeBSD 4 has some problems so I would like to build
>python with lthread (linuxthreads) instead of BSD's pthread.
>So I looked at configure options but couldn't find any opti
On Nov 5, 12:29 pm, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote:
> On Tue, 04 Nov 2008 21:58:17 -0500, [EMAIL PROTECTED] declaimed
> the following in comp.lang.python:
>
> > Python depends upon Sqlite... which is weird... but it is what I
> > discovered...
>
> Not really (weird). Python,
Hi,
I'm trying to use raw sockets in python for a dhcp client. I write this code :
soc = socket.socket(socket.PF_PACKET, socket.SOCK_RAW)
soc.bind(("eth0",0x0800))
data = soc.recv(1024)
print len(data)
It seems to work correctly when interface is up, but when network interface is
down I get this
On Nov 5, 2:29 pm, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote:
[snip]
> So you have a classic (especially for COBOL and older FORTRAN) fixed
> field record layout, no?
>
> I presume the entire file is of a single layout? That would mean
> only one splitting format is needed...
>
[s
1 - 100 of 119 matches
Mail list logo