On Apr 7, 9:25 am, "mkPyVS" <[EMAIL PROTECTED]> wrote:
> On Apr 5, 6:37 pm, "John Machin" <[EMAIL PROTECTED]> wrote:
>
> >>> help(list.index)
> > Help on method_descriptor:
>
> > index(...)
> > L.index(value, [start, [stop]]) -> integer -- return first index
> > of value
>
> > I look forward to
On Apr 7, 10:43 am, cyb <[EMAIL PROTECTED]> wrote:
> For some reason I can ping these two sites fine, but when I try to go to
> them I cannot get to them. Normal python.org homepage works just fine.
> This is preventing me from getting setuptools and using pyOpenGL =(
>
> I'm using COmcast in savan
I'm using the Mimewriter and mimetools modules to create html messages.
They work OK, except that when the messages are received, they always
have the timestamp of 12/31/1969. I've looked through both packages and
can't find anything that would allow me to manually set it. Can someone
help me o
On Sat, 07 Apr 2007 00:19:20 +0200, hlubenow wrote:
> Hi,
>
> recently there was a thread about hiding the python-script from the user.
> The OP could use
>
> http://freshmeat.net/projects/pyobfuscate/
Wearing my developer hat, I can tell you that there's nothing I love more
than getting error
On Apr 6, 6:09 pm, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote:
> On 6 Apr 2007 04:02:52 -0700, "Christoph Krammer"
> <[EMAIL PROTECTED]> declaimed the following in comp.lang.python:
>
> > Hello everybody,
>
> > I need to get the different frames from a GIF image in my python
> > script and want to
John Machin wrote:
> On Apr 7, 10:43 am, cyb <[EMAIL PROTECTED]> wrote:
>> For some reason I can ping these two sites fine, but when I try to go to
>> them I cannot get to them. Normal python.org homepage works just fine.
>> This is preventing me from getting setuptools and using pyOpenGL =(
>>
>>
On Apr 6, 8:13 am, James Stroud <[EMAIL PROTECTED]> wrote:
> Hello All,
>
> The built-in mac osx vecLib is segfaulting in some cases--A very fun
> fact to find out the hard way over two nights of work. I also spent an
> embarrassing amount of time figuring out just where. Although I'm in
> quite a
On Apr 6, 6:20 pm, "John Machin" <[EMAIL PROTECTED]> wrote:
> On Apr 7, 6:48 am, [EMAIL PROTECTED] wrote:
>
> > Hi,
>
> > I am populating a mySQL database with data from the MS Access
> > database. I have successfully figured out how to extract the data from
> > Access, and I can insert the data s
Neal Becker wrote:
> One thing I sometimes miss, which is common in some other languages (c++),
> is idea of block scope. It would be useful to have variables that did not
> outlive their block, primarily to avoid name clashes. This also leads to
> more readable code. I wonder if this has been d
James Stroud <[EMAIL PROTECTED]> writes:
> Probably, with good code, block scope would be overkill, except that I
> would welcome list comprehensions to have a new scope:
Block scope is a win because it gets rid of the uncertainty of whether
the variable is used outside the block or not. The "goo
Paul Rubin wrote:
> James Stroud <[EMAIL PROTECTED]> writes:
>
>>Probably, with good code, block scope would be overkill, except that I
>>would welcome list comprehensions to have a new scope:
>
>
> Block scope is a win because it gets rid of the uncertainty of whether
> the variable is used out
John Nagle <[EMAIL PROTECTED]> writes:
> In a language with few declarations, it's probably best not to
> have too many different nested scopes. Python has a reasonable
> compromise in this area. Functions and classes have a scope, but
> "if" and "for" do not. That works adequately.
I think
>
> Could the file like object still be encoded in MIME or something?
>
Yes it is. You don't need to seek(0).
Try this:
decoded = email.base64mime.decode(part.get_payload())
fileObj.write(decoded)
-Basilisk96
--
http://mail.python.org/mailman/listinfo/python-list
Lorenzo Thurman wrote:
> I'm using the Mimewriter and mimetools modules to create html messages.
> They work OK, except that when the messages are received, they always
> have the timestamp of 12/31/1969. I've looked through both packages and
> can't find anything that would allow me to manually s
dumbkiwi wrote:
> I'm working on a script to download and parse a web page, and it
> includes xml symbol notation, such as ' for the ' character. Does
> anyone know of a pre-existing python script/lib to convert the xml
> notation back to the actual symbol it represents?
Try the htmlentitydefs m
Jack wrote:
> Since the full installation of Python (from either the standard installer or
> ActiveState installer) is too big for my intended use, I'd like to build a
> custom distribution of Python for Windows platform, omitting some lib files,
> such as audio, tk, printing, testing units, etc.
Basilisk96 wrote:
> >
> > Could the file like object still be encoded in MIME or something?
> >
>
> Yes it is. You don't need to seek(0).
> Try this:
>
> decoded = email.base64mime.decode(part.get_payload())
> fileObj.write(decoded)
>
>
> -Basilisk96
--
http://mail.python.org/mailman/listinfo/py
Basilisk96 wrote:
> >
> > Could the file like object still be encoded in MIME or something?
> >
>
> Yes it is. You don't need to seek(0).
> Try this:
>
> decoded = email.base64mime.decode(part.get_payload())
> fileObj.write(decoded)
Or better:
decoded = part.get_payload(decode=True)
fileObj.write
Some one knows some python module for working with pdf files (extract text)?
or any kind of document such as PostScript, doc, etc?
thanks in advance
--
http://mail.python.org/mailman/listinfo/python-list
Hello,
I'm studying compilers now on my university and I can't quite
understand one thing about the python interpreter. Why is its input a
binary file (pyc)? The LOAD_CONST opcode is 100 (dec) and STORE_FAST's
is 125 (dec). The translation of the following code:
foo.py:
x = 10
Could be t
101 - 120 of 120 matches
Mail list logo