I am trying to fetch email from gmail, but what I am really interested
is the attachment.
I manage to access the gmail server and get the messege but the
attachment came as text:
"--=_Part_5286_15861975.1197955173158
Content-Type: audio/mpeg; name="Dire Straits - 12 - Calling Elvis.mp3"
Conten
Adam Funk <[EMAIL PROTECTED]> wrote:
>
>I'm using this sort of standard thing:
>
> for line in fileinput.input():
> do_stuff(line)
>
>and wondering whether it reads until it hits an EOF and then passes
>lines (one at a time) into the variable line. This appears to be the
>behaviour when it'
On Dec 19, 12:16 pm, [EMAIL PROTECTED] wrote:
> Hello,
>
> It is not possible to give sharp hints without more relevant
> information like:
> - What is your platform?
> - Which version of python?
> - What is the version of: $tar--version (GNUtar, other proprietarytar,
> according to my personal ex
En Thu, 20 Dec 2007 00:46:50 -0300, Gary <[EMAIL PROTECTED]> escribió:
> 1) Is it best/more standard to read in, and parse the XML into some
> kind of Python hierarchy first, and then build the UI out of the data
> in that structure, or call out UI commands as say, callbacks from the
> parser live
En Thu, 20 Dec 2007 00:33:00 -0300, Noah <[EMAIL PROTECTED]> escribió:
> I'm trying to use the trace module to build coverage files for
> a multi-threaded program.
>
> http://docs.python.org/lib/module-trace.html
>
> I test my application using trace.py from the command-line like this:
>
>
En Wed, 19 Dec 2007 23:45:28 -0300, Yue Fei <[EMAIL PROTECTED]> escribió:
> I have a multi thread python code, threads can start immediately if I
> run on command line, but I can get them started right the way if I call
> the same code from C/C++.
Only one thread at a time can execute Python
On Dec 19, 7:01 pm, "Terry Reedy" <[EMAIL PROTECTED]> wrote:
> Hi, Gary. Welcome to Python. I hope you will take some of the reaction
> you got as initiatory ribbing.
Thanks, Terry, and absolutely! You guys are quite tame compared to
some of the lions whose dens I've stumbled into on usenet. Yo
On Dec 19, 7:01 pm, "Terry Reedy" <[EMAIL PROTECTED]> wrote:
> Hi, Gary. Welcome to Python. I hope you will take some of the reaction
> you got as initiatory ribbing.
Thanks, Terry, and absolutely! You guys are quite tame compared to
some of the lions whose dens I've stumbled into on usenet. Yo
On Dec 19, 6:44 pm, Ross Ridge <[EMAIL PROTECTED]>
wrote:
> Sam <[EMAIL PROTECTED]> wrote:
> >cmds.window(t='gwfUI Builder')
> >cmds.paneLayout(configuration='vertical3', ps=((1, 25, 100), (3, 20,
> >100)))
> >cmds.paneLayout(configuration='horizontal2')
> >cmds.frameLayout(l='Layouts')
On Dec 19, 6:44 pm, Ross Ridge <[EMAIL PROTECTED]>
wrote:
> Sam <[EMAIL PROTECTED]> wrote:
> >cmds.window(t='gwfUI Builder')
> >cmds.paneLayout(configuration='vertical3', ps=((1, 25, 100), (3, 20,
> >100)))
> >cmds.paneLayout(configuration='horizontal2')
> >cmds.frameLayout(l='Layouts')
On Dec 19, 3:50 pm, "Chris Mellon" <[EMAIL PROTECTED]> wrote:
> You have been done a disservice
> by whoever wrote the Maya python bindings, as far as using this tool
> to improve your knowledge and understanding of Python goes.
No worries there. I'm definitely not using Maya as the way to learn
On 20 Dic, 03:47, Istvan Albert <[EMAIL PROTECTED]> wrote:
> On Dec 19, 9:44 pm, Istvan Albert <[EMAIL PROTECTED]> wrote:
>
> > On Dec 19, 8:07 pm, "Giampaolo Rodola'" <[EMAIL PROTECTED]> wrote:
> > > download_url = 'http://code.google.com/p/pyftpdlib/downloads/list',
>
> this is from looking at yo
I'm trying to use the trace module to build coverage files for
a multi-threaded program.
http://docs.python.org/lib/module-trace.html
I test my application using trace.py from the command-line like this:
/usr/lib/python2.5/trace.py --missing --count --summary tools/
testall.py
When I ex
"Gary" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
| Hi! I'd like to join the fray, as the person who posted that original
| LJ rant. First, some full disclosure, and stampings out of what seem
| to me to be misconceptions...
Hi, Gary. Welcome to Python. I hope you will take so
Sam <[EMAIL PROTECTED]> wrote:
>cmds.window(t='gwfUI Builder')
>cmds.paneLayout(configuration='vertical3', ps=((1, 25, 100), (3, 20,
>100)))
>cmds.paneLayout(configuration='horizontal2')
>cmds.frameLayout(l='Layouts')
>cmds.scrollLayout(cr=True)
>cmds.columnL
I have a multi thread python code, threads can start immediately if I run on
command line, but I can get them started right the way if I call the same code
from C/C++.
test code like this:
from threading import Thread
import thread
class testThread(Thread):
def __init__ (self, id):
T
On Dec 19, 9:44 pm, Istvan Albert <[EMAIL PROTECTED]> wrote:
> On Dec 19, 8:07 pm, "Giampaolo Rodola'" <[EMAIL PROTECTED]> wrote:
> > download_url = 'http://code.google.com/p/pyftpdlib/downloads/list',
this is from looking at your setup.py here:
http://pyftpdlib.googlecode.com/svn/trunk/setup.py
On Dec 19, 8:07 pm, "Giampaolo Rodola'" <[EMAIL PROTECTED]> wrote:
> Could someone point me in the right direction?
> download_url = 'http://code.google.com/p/pyftpdlib/downloads/list',
you'll need to specify the full path to the actual archive, a link
that one could use to download the archive,
On Dec 19, 4:23 pm, John Machin <[EMAIL PROTECTED]> wrote:
> On Dec 20, 9:10 am, Larry Bates <[EMAIL PROTECTED]> wrote:
>
> In particular Paul Maguire recently pointed to a safe evaluator that
> was restricted (IIRC) to something like lists/dicts/etc of ints/floats/
> string/etc constants -- looks
jolly <[EMAIL PROTECTED]> writes:
> import time
>
> today = time.localtime(time.time())
> theDate = time.strftime("%A %B %d", today)
> [...]
>
> can someone explain to me the %A and the %B?
Your first resort for more information about the standard library
should be the online standard library r
En Wed, 19 Dec 2007 22:20:17 -0300, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> escribió:
> On Dec 19, 7:42 pm, "Gabriel Genellina" <[EMAIL PROTECTED]>
> wrote:
>> En Wed, 19 Dec 2007 18:11:49 -0300, [EMAIL PROTECTED]
>> <[EMAIL PROTECTED]> escribió:
>>
>> > I was wondering what would happen, so I tri
On Dec 19, 4:23 pm, John Machin <[EMAIL PROTECTED]> wrote:
> On Dec 20, 9:10 am, Larry Bates <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > Stef Mientki wrote:
> > > hello,
>
> > > I need to translate the following string
> > >a = '(0, 0, 0, 255), (192, 192, 192, 255), True, 8'
>
> > > into the follo
Jack <[EMAIL PROTECTED]> wrote:
>I learned a lot from the other thread 'Is a "real" C-Python possible?' about
>Python performance and optimization. I'm almost convinced that Python's
>performance is pretty good for this dynamic language although there are
>areas to improve, until I read some art
En Wed, 19 Dec 2007 21:59:25 -0300, jolly <[EMAIL PROTECTED]> escribió:
> I'm following a tutorial on Python and I came across this in one of
> the examples.
>
> import time
>
> today = time.localtime(time.time())
> theDate = time.strftime("%A %B %d", today)
>
> print today
> print theDate
>
>
> R
http://wanderer.artificial-stupidity.net/
On Dec 16, 1:26 am, Michael Lalonde <[EMAIL PROTECTED]> wrote:
> x-no-archive: yes
> Michael Lalonde saw a movie made by Mr Harnwell on an ironing board
> and got locked in a room full of greasy meat because he felt like it
> and chased a bunnywhich got
__zip__ wrote:
> Hi,
>
> I am using pySerial for communication with modem.
>
> Does anyone knows which values are for what in these variables?
>
> xonxoff=0
> rtscts=0
> dsrdtr=0
>
> if xonxoff=0 is it hardware control on or of (logic says it would be off
> , but who knows).
>
>
> Second que
On Dec 19, 7:42 pm, "Gabriel Genellina" <[EMAIL PROTECTED]>
wrote:
> En Wed, 19 Dec 2007 18:11:49 -0300, [EMAIL PROTECTED]
> <[EMAIL PROTECTED]> escribió:
>
>
>
> > I was wondering what would happen, so I tried this out for the heck of
> > it with:
> > Python 3.0a2 (py3k:59572M, Dec 19 2007, 15:54:
Hello,
I’m looking for a Python library that can return data about wireless
networks. In particular, I’m looking for signal quality, noise, etc.
I’ve found:
HYPERLINK
"http://www.romanofski.de/downloads/pywifi"http://www.romanofski.de/download
s/pywifi
But it’s only for Linux. Is ther
Hi,
I noticed tonight that I can't download/install a package of mine
hosted on pypi by using easy_install.
By running "ez_setup.py pyftpdlib" I get:
--- snippet --
options (after parsing config files):
no commands known yet
options (after parsing command line):
option dict for 'aliases' command:
Hrvoje Niksic wrote:
> Steven D'Aprano <[EMAIL PROTECTED]> writes:
>
>> On Tue, 18 Dec 2007 21:13:14 +0100, Hrvoje Niksic wrote:
>>
>>> Each object takes 36 bytes itself: 4 bytes refcount + 4 bytes type ptr +
>>> 4 bytes dict ptr + 4 bytes weakptr + 12 bytes gc overhead. That's not
>>> counting m
Hey guys,
I'm following a tutorial on Python and I came across this in one of
the examples.
import time
today = time.localtime(time.time())
theDate = time.strftime("%A %B %d", today)
print today
print theDate
Result:
(2007, 12, 20, 9, 48, 15, 3, 354, 1)
Thursday December 20
can someone ex
Hey guys,
I'm following a tutorial on Python and I came across this in one of
the examples.
(Toggle Plain Text)
import time
today = time.localtime(time.time())
theDate = time.strftime("%A %B %d", today)
print today
print theDate
import time today = time.localtime(time.time()) theDate =
time.st
En Wed, 19 Dec 2007 19:23:36 -0300, John Machin <[EMAIL PROTECTED]>
escribió:
> On Dec 20, 9:10 am, Larry Bates <[EMAIL PROTECTED]> wrote:
>> Stef Mientki wrote:
>>
>> > I need to translate the following string
>> >a = '(0, 0, 0, 255), (192, 192, 192, 255), True, 8'
>>
>> > into the followin
En Wed, 19 Dec 2007 18:11:49 -0300, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> escribió:
> I was wondering what would happen, so I tried this out for the heck of
> it with:
> Python 3.0a2 (py3k:59572M, Dec 19 2007, 15:54:07) [MSC v.1500 32 bit
> (Intel)] on win32
>
> class a(int):
> def __new__(cls
En Wed, 19 Dec 2007 08:10:59 -0300, Philippe DAVID
<[EMAIL PROTECTED]> escribió:
> I would like to use python to write some scripts for a system that will
> be used
> for more than 10 years. My problem is the following:
> In 10 years, if the OS evolves and ships with the latest stable version
I'm happy to announce the CoCo/r for Python release candidate. CoCo/r is an
scanner generator and LL(k) parser generator which has already been ported to
many languages. CocoPy 1.1.0rc can be found in the Python Package Index.
CoCo/r for Python now passes all tests in the official COCO test su
En Wed, 19 Dec 2007 17:17:43 -0300, N L <[EMAIL PROTECTED]> escribió:
> How do I list the members of a class? Meaning, how do I know what are
> the functions a particular class has, if i do not want to manually
> browse through the class?
From the interpreter, just print dir(class) or dir(in
>
> Hi -
> in fact, you can do pretty much everything you have to do with pydev
> in eclipse. Eclipse itself is very flexible, robust and intuitive.
> pydev may be a touch too nervous, but is very supportive. It has a few
> bugs, but none lethal. Only setback is that you have to pay a small
> licen
On Dec 19, 2007 4:05 PM, Gary <[EMAIL PROTECTED]> wrote:
>
>
> Chris Mellon writes:
> """It's interesting that the solutions "move away from the terrible
> abomination of a GUI toolkit" and "write Python wrappers that don't
> cause actual physical pain" never occur to him."""
>
> Oh, but they hav
scripteaze wrote:
>>> I need to be able to send a rip1 request to my rip1 enabled device.,
> Well, i use scapy quite often, however, this needs to be very portable
import socket
rip_request = '\x01\x01\x00\x00\x00\x02' + '\x00' * 17 + '\x10'
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
s
On Dec 19, 3:19 pm, Grant Edwards <[EMAIL PROTECTED]> wrote:
> The problem is that to everybody else in the world, indentation
> in Python represents control flow nesting, not GUI widget
> nesting.
Thanks, Grant. That's the first solid reasoning I've seen, and it's a
very solid argument, as well.
On 2007-12-19, Gary <[EMAIL PROTECTED]> wrote:
> Grant Edwards said:
> "Code should work the way it looks and look the way it works."
>
> I fully agree. To that end, the MEL UI code I write does look
> exactly like how it works to me. To me, the layouts are a
> stack of a containers, which can be
On Dec 19, 5:14 pm, scripteaze <[EMAIL PROTECTED]> wrote:
> On Dec 19, 10:34 am, Dirk Loss <[EMAIL PROTECTED]> wrote:
>
>
>
> > scripteaze wrote:
> > > I need to be able to send a rip1 request to my rip1 enabled device.,
> > > so i need python to send :
> > > 01 01 00 00 00 02 00 00 00 00 00 00 00
On Dec 19, 10:34 am, Dirk Loss <[EMAIL PROTECTED]> wrote:
> scripteaze wrote:
> > I need to be able to send a rip1 request to my rip1 enabled device.,
> > so i need python to send :
> > 01 01 00 00 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> > 10
>
> Use Scapy:
>
> from scapy import
Hi,
I would like to use python to write some scripts for a system that will be used
for more than 10 years. My problem is the following:
In 10 years, if the OS evolves and ships with the latest stable version of
python, is there a chance for my 10 year old scripts to run on the new system ?
(I am
Dirk Loss wrote:
> Bjoern Schliessmann wrote:
>> readline module applies its autocompletion functions to (and only
>> to) sys.stdout.
>
> I see. Then I guess I'll have to avoid redirecting sys.stdout and
> come up with some kind of workaround instead.
Just use a "central" function for printing o
Christian Joergensen schrieb:
> Hello
>
> I stumpled upon this "feature" during my work tonight, and found it
> a bit confusing:
>
class A(object):
> ... class C:
> ... foobar = 42
> ...
class B(A): pass
> ...
A.C
>
B.C
>
B.C.foobar = 60
A.C.foob
On Dec 20, 9:10 am, Larry Bates <[EMAIL PROTECTED]> wrote:
> Stef Mientki wrote:
> > hello,
>
> > I need to translate the following string
> >a = '(0, 0, 0, 255), (192, 192, 192, 255), True, 8'
>
> > into the following list or tuple
> >b = [(0, 0, 0, 255), (192, 192, 192, 255), True, 8 ]
>
On 14 Dez., 10:59, king kikapu <[EMAIL PROTECTED]> wrote:
> On 14 Äåê, 01:09, "Fabio Zadrozny" <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > > Hmmm...but this means that i am forced to do this for ALL .ui files on
> > > the project, either changed or not and this can slow things down...
> > > (pyuic.bat
On Dec 19, 4:23 pm, Christian Joergensen <[EMAIL PROTECTED]> wrote:
> Hello
>
> I stumpled upon this "feature" during my work tonight, and found it
> a bit confusing:
>
> >>> class A(object):
>
> ... class C:
> ... foobar = 42
> ...>>> class B(A): pass
> ...
> >>> A.C
>
> >>> B.C
>
> >>
Stef Mientki wrote:
> hello,
>
> I need to translate the following string
>a = '(0, 0, 0, 255), (192, 192, 192, 255), True, 8'
>
> into the following list or tuple
>b = [(0, 0, 0, 255), (192, 192, 192, 255), True, 8 ]
>
> Is there a simple way to to this.
> (Not needed now, but might nee
Hi! I'd like to join the fray, as the person who posted that original
LJ rant. First, some full disclosure, and stampings out of what seem
to me to be misconceptions...
1) I am not a CS major. I majored in Computer Animation at an art
college. I'm quite well aware that I don't know all there is to
Hi! I'd like to join the fray, as the person who posted that original
LJ rant. First, some full disclosure, and stampings out of what seem
to me to be misconceptions...
1) I am not a CS major. I majored in Computer Animation at an art
college. I'm quite well aware that I don't know all there is to
Stef,
You can quickly get a tuple via:
t = eval('(0, 0, 0, 255), (192, 192, 192, 255), True, 8')
Joseph Armbruster
On Dec 19, 4:17 pm, Stef Mientki <[EMAIL PROTECTED]> wrote:
> hello,
>
> I need to translate the following string
> a = '(0, 0, 0, 255), (192, 192, 192, 255), True, 8'
>
> into
>I need to translate the following string
>a = '(0, 0, 0, 255), (192, 192, 192, 255), True, 8'
>
>into the following list or tuple
>b = [(0, 0, 0, 255), (192, 192, 192, 255), True, 8 ]
>Is there a simple way to to this.
>Stef Mientki
>>> a = '(0, 0, 0, 255), (192, 192, 192, 255), True, 8
Hello,
I have three web sites hosting the identical Python web application, each
theoretically identical in content and configuration. One is used for
development; the second is a back-up/mirror; and the third is the production
site. The development site is running on my local network, the mirr
How do I list the members of a class? Meaning, how do I know what are the
functions a particular class has, if i do not want to manually browse through
the class?
N
Never miss a thing. Make Yahoo your
Hello
I stumpled upon this "feature" during my work tonight, and found it
a bit confusing:
>>> class A(object):
... class C:
... foobar = 42
...
>>> class B(A): pass
...
>>> A.C
>>> B.C
>>> B.C.foobar = 60
>>> A.C.foobar
60
Whe
hello,
I need to translate the following string
a = '(0, 0, 0, 255), (192, 192, 192, 255), True, 8'
into the following list or tuple
b = [(0, 0, 0, 255), (192, 192, 192, 255), True, 8 ]
Is there a simple way to to this.
(Not needed now, but might need it in the future: even deeper nested
I was wondering what would happen, so I tried this out for the heck of
it with:
Python 3.0a2 (py3k:59572M, Dec 19 2007, 15:54:07) [MSC v.1500 32 bit
(Intel)] on win32
class a(int):
def __new__(cls,number):
return int.__new__(cls,number)
for x in range(0,a(5)):
print(x)
Which resulted in
"MarkE" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
|| > Is there a short Pythonic way to determine whether an object is
| > iterable (iteratable ??)
Welcome to Python and its neat concept of iterables and iterators.
An iterable is an object that has an __iter__ method that retur
On Dec 20, 4:02 am, [EMAIL PROTECTED] wrote:
> I've got a pointer to a position in a line of code that contains
> either a digit or a period (decimal point). I've got this comment:
>
> Numbers are one of these:
> integers:
> digit+
>
Are there any python dbus bindings under windows ?
--
http://mail.python.org/mailman/listinfo/python-list
"Christian Heimes" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
| Terry Reedy wrote:
| > Good idea. I think people who moved to 64 bits to get 64 bits would be
| > upset if they did not ;-).
|
| Windows X64 users still get 32bit ints. The long datatype is 32bit even
| on the 64bit
On Dec 20, 5:00 am, Paul McGuire <[EMAIL PROTECTED]> wrote:
> On Dec 19, 10:48 am, [EMAIL PROTECTED] wrote:
>
> > This morning block comments disappeared from the Decaf design. Maybe
> > later today they'll be instantiated in the tokenizer.
>
> Out of the idlest of curiousity, does this language ha
On 2007-12-18, Jonathan Gardner wrote:
>> As a test, I tried this:
>>
>>for line in fileinput.input():
>> print '**', line
>>
>> and found that it would print nothing until I hit Ctl-D, then print
>> all the lines, then wait for another Ctl-D, and so on (until I pressed
>> Ctl-D twice in
On Wed, 19 Dec 2007 13:50:10 -0600, Larry Bates <[EMAIL PROTECTED]> wrote:
>PaulS wrote:
>> Connecting to a Linux server from XP pc using a telnet program, I run a
>> report and convert it to a pdf document(using Reportlab) which I need to
>> display. The pdf is on the Linux server. Ideas how to d
On Dec 19, 1:41 pm, "PaulS" <[EMAIL PROTECTED]> wrote:
> Connecting to a Linux server from XP pc using a telnet program, I run a
> report and convert it to a pdf document(using Reportlab) which I need to
> display. The pdf is on the Linux server. Ideas how to display to the pc
> would be appreciat
PaulS wrote:
> Connecting to a Linux server from XP pc using a telnet program, I run a
> report and convert it to a pdf document(using Reportlab) which I need to
> display. The pdf is on the Linux server. Ideas how to display to the pc
> would be appreciated. thanks, paul
>
>
You will need w
Connecting to a Linux server from XP pc using a telnet program, I run a
report and convert it to a pdf document(using Reportlab) which I need to
display. The pdf is on the Linux server. Ideas how to display to the pc
would be appreciated. thanks, paul
--
http://mail.python.org/mailman/listi
En Wed, 19 Dec 2007 14:02:00 -0300, <[EMAIL PROTECTED]> escribi�:
> I've got a pointer to a position in a line of code that contains
> either a digit or a period (decimal point). I've got this comment:
>
> Numbers are one of these:
> integers:
> digi
En Wed, 19 Dec 2007 14:02:20 -0300, <[EMAIL PROTECTED]> escribi�:
> I'm just beginning to create some python modules for my own use and
> I'm wondering where to put them. Initially I have put them in
> $HOME/bin and I have set PYTHONPATH to point to them there. It all
> seems to be OK but I was
> I need an environment that can be delivered to our customers without
> installing python, qt and pyqt. We want to provide the complete package.
> In order to do so I need to link at least python and qt. How can this be done?
You should link all extension modules into the Python executable,
thro
En Wed, 19 Dec 2007 06:28:03 -0300, MarkE <[EMAIL PROTECTED]>
escribi�:
>> Is there a short Pythonic way to determine whether an object is
>> iterable (iteratable ??) that I haven't thought of (getattr(obj,
>> '__iter__') ?). Would operator.isIterable() be at all a useful
>> addition ?
Yes, I t
En Wed, 19 Dec 2007 07:02:00 -0300, Chris <[EMAIL PROTECTED]> escribió:
> #fp.py
> import cli
>
> #cli.py
> import os
>
> #config.py
> import cli
> print cli.os.environ['HOME']
>
> if you wish to use the os module loaded by the cli module
En Wed, 19 Dec 2007 09:42:31 -0300, Donn Ingle <[EMAIL PRO
[EMAIL PROTECTED] a écrit :
> I'm just beginning to create some python modules for my own use and
> I'm wondering where to put them. Initially I have put them in
> $HOME/bin and I have set PYTHONPATH to point to them there. It all
> seems to be OK but I was wondering if I might be storing up prob
On Dec 19, 5:26 am, Emmanuel <[EMAIL PROTECTED]> wrote:
> I recently upgraded wxpython (and python) on XP using wxPython2.8-
> win32-unicode-2.8.7.1-py25.exe
>
> Now when I run
>
> from wxPython.wx import *
>
> It crashes :
>
> -> import _wx
> ...
>
> from _misc import *
>
> ...
>
> --> 456 wxDate
> You guess. When fisrt imported, the module's source is executed, a
> module object is created and stored in sys.modules, and the needed names
> are inserted into the importing module's namespace. Next times the
> module is "served" directly from sys.modules.
Peachy, thanks.
\d
--
http://mail.
On 2007-12-19, Paul McGuire <[EMAIL PROTECTED]> wrote:
> On Dec 19, 10:48 am, [EMAIL PROTECTED] wrote:
>> This morning block comments disappeared from the Decaf design.
>> Maybe later today they'll be instantiated in the tokenizer.
>
> Out of the idlest of curiousity, does this language have a BNF,
On Dec 19, 10:48 am, [EMAIL PROTECTED] wrote:
> This morning block comments disappeared from the Decaf design. Maybe
> later today they'll be instantiated in the tokenizer.
Out of the idlest of curiousity, does this language have a BNF, or
some other form of grammar definition?
-- Paul
--
http:/
On Dec 19, 12:01 pm, Carl Banks <[EMAIL PROTECTED]> wrote:
> They should have converted the
> old-style to new when they decided to derive from both types (it's not
> like that's terribly difficult).
Unless perhaps the old-style class is part of an stdlib or 3rd party
(or rather 4th party since
On Dec 19, 7:15 am, anton <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I would like to know if some of you knows a
>
> - working
>
> - actual
>
> - out of the box (for me: binaries available)
>
> Package/Lib to do 3D plotting out of the box.
>
> I know matplotlib.
>
> There is MayaVi from enthon but yo
Bjoern Schliessmann wrote:
> readline module applies its autocompletion functions to (and only
> to) sys.stdout.
I see. Then I guess I'll have to avoid redirecting sys.stdout and
come up with some kind of workaround instead.
Nevertheless, thanks for the info.
Regards
Dirk
--
http://mail.python.o
On 19 Gru, 15:15, anton <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I would like to know if some of you knows a
>
> - working
>
> - actual
>
> - out of the box (for me: binaries available)
>
> Package/Lib to do 3D plotting out of the box.
>
> I know matplotlib.
>
> There is MayaVi from enthon but you
Stefan Salewski wrote:
> Hello,
>
> I just start learning Python (ordered "Dive into Python" a week ago).
>
> In the past I have used the Python interactive interpreter for some
> calculations instead of Linux command line tools like "bc" or "calc".
>
> I wonder if it is possible to do a pre-pro
I'm just beginning to create some python modules for my own use and
I'm wondering where to put them. Initially I have put them in
$HOME/bin and I have set PYTHONPATH to point to them there. It all
seems to be OK but I was wondering if I might be storing up problems
for the future by putting pytho
I've got a pointer to a position in a line of code that contains
either a digit or a period (decimal point). I've got this comment:
Numbers are one of these:
integers:
digit+
0xhex_digit+
decimals:
On Dec 19, 10:55 am, George Sakkis <[EMAIL PROTECTED]> wrote:
> On Dec 18, 3:16 pm, Carl Banks <[EMAIL PROTECTED]> wrote:
>
> > On Dec 18, 10:08 am, "[EMAIL PROTECTED]"
>
> > <[EMAIL PROTECTED]> wrote:
> > > We are trying to monkey-patch a third-party library that mixes new and
> > > old-style clas
On Dec 19, 2007 10:46 AM, Sam <[EMAIL PROTECTED]> wrote:
> On Dec 19, 11:09 am, gDog <[EMAIL PROTECTED]> wrote:
> > Hi, Sam-
> >
> > I'm not wanting to start a flame war, either, but may I ask why does
> > your friend want to do that? I'm always intrigued by the folks who
> > object to the indenta
This morning block comments disappeared from the Decaf design. Maybe
later today they'll be instantiated in the tokenizer.
--
http://mail.python.org/mailman/listinfo/python-list
On Dec 19, 11:09 am, gDog <[EMAIL PROTECTED]> wrote:
> Hi, Sam-
>
> I'm not wanting to start a flame war, either, but may I ask why does
> your friend want to do that? I'm always intrigued by the folks who
> object to the indentation rules in Python, even though I've always
> tried to keep consist
scripteaze wrote:
> I need to be able to send a rip1 request to my rip1 enabled device.,
> so i need python to send :
> 01 01 00 00 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 10
Use Scapy:
from scapy import *
myrip = RIP()/RIPEntry(metric=16)
ans, unans = sr(IP(dst="192.168.1.1")/
On 2007-12-19, Terry Jones <[EMAIL PROTECTED]> wrote:
>> "Grant" == Grant Edwards <[EMAIL PROTECTED]> writes:
>Grant> On 2007-12-19, abhishek <[EMAIL PROTECTED]> wrote:
> Hi everyone, I am trying to generate a PDF printable format file from
> an html page. Is there a way to do this us
Hi, Sam-
I'm not wanting to start a flame war, either, but may I ask why does
your friend want to do that? I'm always intrigued by the folks who
object to the indentation rules in Python, even though I've always
tried to keep consistent indentation in all the languages I've used
(and I've been at
On 2007-12-15, Carl Banks <[EMAIL PROTECTED]> wrote:
> On Dec 15, 9:05 am, [EMAIL PROTECTED] wrote:
>> My reasoning is (I hope) that the container ought to support
>> every comparison operation supported by the contained objects.
>> This can be ensured by being careful in the implementation.
>
> I
Hello,
I just start learning Python (ordered "Dive into Python" a week ago).
In the past I have used the Python interactive interpreter for some
calculations instead of Linux command line tools like "bc" or "calc".
I wonder if it is possible to do a pre-processing of command strings in
the inter
On Dec 18, 3:16 pm, Carl Banks <[EMAIL PROTECTED]> wrote:
> On Dec 18, 10:08 am, "[EMAIL PROTECTED]"
>
> <[EMAIL PROTECTED]> wrote:
> > We are trying to monkey-patch a third-party library that mixes new and
> > old-style classes with multiple inheritance.
>
> New library? Geez, if people are dumb
Wednesday 19 December 2007 17:40:17 tarihinde Terry Jones şunları yazmıştı:
> > "Grant" == Grant Edwards <[EMAIL PROTECTED]> writes:
>
> Grant> On 2007-12-19, abhishek <[EMAIL PROTECTED]> wrote:
> >>> > Hi everyone, I am trying to generate a PDF printable format file from
> >>> > an html page.
> "Grant" == Grant Edwards <[EMAIL PROTECTED]> writes:
Grant> On 2007-12-19, abhishek <[EMAIL PROTECTED]> wrote:
>>> > Hi everyone, I am trying to generate a PDF printable format file from
>>> > an html page. Is there a way to do this using python. If yes then
>>> > which library and functions
On 2007-12-19, abhishek <[EMAIL PROTECTED]> wrote:
>> > Hi everyone, I am trying to generate a PDF printable format file from
>> > an html page. Is there a way to do this using python. If yes then
>> > which library and functions are required and if no then reasons why it
>> > cant be done.
>>
>>
1 - 100 of 155 matches
Mail list logo