Hope someone can help.
I am trying to read data from a file binary file and then unpack the
data into python variables. Some of the data is store like this;
xbuffer: '\x00\x00\xb9\x02\x13EXCLUDE_CREDIT_CARD'
# the above was printed using repr(xbuffer).
# Note that int(0x13) = 19 which is exactl
e addition, helping
with code clarity, readability and saving quite a few lines of code -
well atleast me anyways !
Thanks again.
Peter Hansen <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>...
> Geoffrey wrote:
> > As I mentioned, I can parse the string
I am working on a file conversion project that reads data from a one
file format, reformats in and writes in out to another. The data is
records of informations - names address, account number,statistics.
The numeric values in the original file are stored in what appears to
be a "packed" data for
I just wanted to let you now that as someone whose boss prefers to use WK1 in
2017, this is going to save my life. Thanks :)
About to try this out, if I have to do anything to get it to work with Python3
I'll post the changes here later.
--
https://mail.python.org/mailman/listinfo/python-list
"lux" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi to all,
> I need to handle EVT_CHAR in a wxGrid when wxCellEditor is activated,
> but I don't know how.
> Can anyone help me?
>
it's probably better to ask this on comp.soft-sys.wxwindows
--
Geoff
--
http://mail.python.o
Ken Tilton wrote:
> alex23 wrote:
> > Xah Lee wrote:
> >
> >>No personal offense intended, but human animal's history is what? 3000
> >>years at least in recorded history? And, all you can think of is what,
> >>the view points of a fraction of your personal life span?
> >
> >
> > Thank god evoluti
"Kevin Walzer" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>I want to write some variables (user preferences, specifically) to a
> text file and then read the values from that file.
>
> Here is my code to write the data:
>
> verbosemodes= """
>Detailed = "-vv"
>Basic = "-q
<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
On Feb 2, 1:38 pm, rzed <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote
> innews:[EMAIL PROTECTED]:
>
>
>
> > On Feb 2, 1:16 pm, rzed <[EMAIL PROTECTED]> wrote:
> >> [EMAIL PROTECTED] wrote
> >> innews:[EMAIL PROTECTED]:
>
> >> > Hi
<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi - Feeling a bit weird about this but I cannot find the 'begin'
> method on a connection object of MySQLdb. Can anyone explain why ?
>
> I'm using version 1.2.0 which is pretty recent and I've read that
> 'begin' should be a method of
"Bill Atkins" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> John Bokma <[EMAIL PROTECTED]> writes:
>
> [snip]
>
>> --
>> John MexIT: http://johnbokma.com/mexit/
>>personal page: http://johnbokma.com/
>> Exper
"John Bokma" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Dra¾en Gemiæ <[EMAIL PROTECTED]> wrote:
>
>> There is a person on USENET, particularly in hr. hierarchy that
>> posts under three different accounts. Sometimes he argues with
>> himself, and sometimes event supports himsel
"John Bokma" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> "Geoffrey Summerhayes" <[EMAIL PROTECTED]> wrote:
>
>> After you kill Navarth, will it be nothing but gruff and deedle
>> with a little wobbly to fill in the chinks?
>
"urikaluzhny" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
On May 15, 10:06 am, "Terry Reedy" <[EMAIL PROTECTED]> wrote:
> "urikaluzhny" <[EMAIL PROTECTED]> wrote in message
>
> news:[EMAIL PROTECTED]
> | It seems that I rather frequently need a list or iterator of the form
> | [x f
"Bill McClain" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On 2008-08-09, dusans <[EMAIL PROTECTED]> wrote:
>> Is there a py module, which would get me information of a movie file:
>> - resolution
>> - fps
>
> I don't know of one. I use the transcode utilities for this and parse
Wade Humeniuk wrote:
> [EMAIL PROTECTED] wrote:
> > What I have in mind is the efficient, generation of the
> > complement S^n/WC(S^n). A good program should initialize, generate, and
> > terminate.
> >
> > T=cartprodex(S,n,WC); //initialize
> > for all i in T do
> > what you want with i
> >
"Dinko Tenev" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> [EMAIL PROTECTED] wrote:
>> It would seem that your program is just filtering the full cartesian
>> product, right? The solution I'm looking for generates the elements
>> one-by-one so that it could be used in a loop.
>
>
<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> After the basic fact of generating the exclusion - a considerable
> achievement - the program should be interactive. What if the target set
> has thousands or millions of elements? There should be a loop-like way
> ('do' in Haskell, f
"lallous" wrote in message news:ha2htc$u9...@aioe.org...
> Hello
>
> What is faster when clearing a list?
>
> del L[:]
>
> or
>
> L = []
>
Oh, "L = []" definitely, on the basis that there are fewer characters to
type.
http://docs.python.org/3.1/library/profile.html
--
Geoff
--
http://mai
18 matches
Mail list logo