On Mar 4, 4:25 pm, Dan Stromberg wrote:
> Python folk: Any guesses why a simple file.read(blocksize) would have
> such an affinity for returning 16K when redirected from /dev/zero? If
> I run the program against a file on disk, it gets larger blocksizes
> fine.
Never mind - it was a bug in my c
On 5 mrt, 21:40, "Martin P. Hellwig"
wrote:
> On 03/05/10 20:09, wongjoek...@yahoo.com wrote:
>
>
>
> > On 5 mrt, 21:02, "Martin P. Hellwig"
> > wrote:
> >> On 03/05/10 19:45, wongjoek...@yahoo.com wrote:
>
> >>> On 5 mrt, 20:40, "Martin P. Hellwig"
> >>> wrote:
> On 03/05/10 19:21, wongjoek.
hey,
How can I construct a compiler with python just for informatiom ., I have
habit to construct it with C language,
sorry for my english ;-)
--
issolah mohamed
--
http://mail.python.org/mailman/listinfo/python-list
Hi, Python!
I build Python-2.6.4 on my GNU/Linux (Debian Sarge) box. I get a warning
message "Failed to find the necessary bits to build these modules:
_ssl ... RTFS to find out what!".
I need _ssl for an application. So, I look at setup.py in the top
directory. It seems that _ssl needs
mohamed issolah wrote:
hey,
How can I construct a compiler with python just for informatiom ., I have
habit to construct it with C language,
sorry for my english ;-)
You need to tell us what you're really trying to do, what tools you're
willing to use, and probably why you want it. And if
I have this directory structure
C:
\A
__init__.py
amodule.py
\B
__init__.py
bmodule.py
\D
__init__.py
dmodule.py
and I want to import bmodule.py
C:\>cd \
C:\>python
Python 2.5 (r25:51908, Sep 19 2006, 09:
On 03/06/10 09:45, wongjoek...@yahoo.com wrote:
Yes, I saw this example also before. HOwever what I want is to call an
internal function which gets a reference of another internal function
as input and not calling an external program. Do you have any example
on that with subprocess module ?
Tha
hey,
I want to create a compiler which transform a code like pascal code (that
what I do in C) to "quad"
In C, I use BISON and FLEX tools.
--
issolah mohamed
--
http://mail.python.org/mailman/listinfo/python-list
"olivia wilde" "olivia williams" "olivia" "olivia" "olivia" "virgin
women" "virgin girl test" on http://sexyandpretty-girls.blogspot.com/
"torrie wilson playboy march 2004" "torrie wilson" "torrie wilson no
clothes" "torrie wilson 2009" ""olivia wilde" "olivia williams"
"olivia" "olivia" "olivia" "
On Sat, 06 Mar 2010 03:53:53 -0800, Johny wrote:
import sys
sys.path.append('C:\\A')
from A.B import bmodule
> Traceback (most recent call last):
> File "", line 1, in
> ImportError: No module named A.B
The current directory is irrelevant, except that it is automatically
added
Call for Paper
The International Journal of Computer Science (IJCS) publishes
original papers on all subjects relevant to computer science,
communication network, and information systems. The highest priority
will be given to those contributions concerned with a discussion of
the background of a pr
RE U WANT RUSSIAN GIRL FRIENDS...
WEBPAGE ---> http://123maza.com/hashan/
--
http://mail.python.org/mailman/listinfo/python-list
mohamed issolah wrote:
2010/3/6 Dave Angel
mohamed issolah wrote:
hey,
How can I construct a compiler with python just for informatiom ., I have
habit to construct it with C language,
sorry for my english ;-)
You need to tell us what you're really trying to do, what tool
Pete Emerson a écrit :
(snip)
> I'm really liking the rigid flexibility I'm experiencing with python
> so far.
"rigid flexibility" !-)
+1 QOTW - and welcome on board BTW.
--
http://mail.python.org/mailman/listinfo/python-list
Alan Mackenzie writes:
> Hi, Python!
>
> I build Python-2.6.4 on my GNU/Linux (Debian Sarge) box. I get a warning
> message "Failed to find the necessary bits to build these modules:
> _ssl ... RTFS to find out what!".
At a guess, you're missing libssl-dev. You might consider installing
p
How to escape the first '}' in the next string?
s = "}\n{0}".format('foo')
--
http://mail.python.org/mailman/listinfo/python-list
* Joan Miller:
How to escape the first '}' in the next string?
s = "}\n{0}".format('foo')
s = "}}\n{0}".format('foo')
Cheers & hth.,
- Alf
--
http://mail.python.org/mailman/listinfo/python-list
Joan Miller wrote:
How to escape the first '}' in the next string?
s = "}\n{0}".format('foo')
>>> "}}\n{0}".format('foo')
'}\nfoo'
Gary Herron
--
http://mail.python.org/mailman/listinfo/python-list
Is it possible he's talking about a 'quad core'? as in a CPU? In that
case I think he wants
to optimize a python program for a multiprocessor core with four processors.
sph
On 03/06/2010 07:56 AM, Dave Angel wrote:
mohamed issolah wrote:
2010/3/6 Dave Angel
mohamed issolah wrote:
hey,
Since Mohamed is talking about compilation I think it's more likely he's talking
about an intermediate program represention based on quad tuples like
(OP, DESTINATION, ARG1, ARG2)
Cheers,
- Alf
* Steven Howe:
Is it possible he's talking about a 'quad core'? as in a CPU? In that
case I thi
hey, yes quad = quad tuple like ("+",x1,x2,temp)
I work in linux
example : my parser with flex :
--
issolah mohamed
token.l
Description: Binary data
--
http://mail.python.org/mailman/listinfo/python-list
On behalf of the Python development team, I'm pleased to announce a release
candidate for the second bugfix release of the Python 3.1 series, Python 3.1.2.
This bug fix release fixes numerous issues found in 3.1.1. This release
candidate has been released to solicit testing and feedback over an p
On Mar 5, 9:29 pm, Pete Emerson wrote:
>
> I have written my first module called "logger" that logs to syslog via
> the syslog module but also allows forloggingto STDOUT in debug mode
> at multiple levels (to increase verbosity depending on one's need), or
> both. I've looked at theloggingmodule a
On behalf of the Python development team, I'm overjoyed to announce the fourth
alpha release of Python 2.7.
Python 2.7 is scheduled (by Guido and Python-dev) to be the last major version
in the 2.x series. Though more major releases have not been absolutely ruled
out, it's likely that the 2.7 rel
Opps: found a few errors in that last ScrolledListbox class, try this
one...
import Tkinter as tk
from Tkconstants import *
class ScrolledList(tk.Listbox):
def __init__(self, master, **kw):
self.frame = tk.Frame(master)
self.frame.rowconfigure(0, weight=1)
self.frame
On Mar 6, 2:38 pm, Vinay Sajip wrote:
> On Mar 5, 9:29 pm, Pete Emerson wrote:
>
>
>
> > I have written my first module called "logger" that logs to syslog via
> > the syslog module but also allows forloggingto STDOUT in debug mode
> > at multiple levels (to increase verbosity depending on one's
At the command prompt:
python b.py 8
works fine on both XP and Vista
python b.python 8
works on XP (and Linux)
but on Vista
python b.python 8
ImportError: No module named b
?
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
I'd like to notify python processes asynchronously.
at notification time a callback should be called
The solution should be working on linux and Windows.
I could add a wrapper to switch between a windows / linux implementation
though
If possible I'd like to avoid
- having to poll for an ext
On Sat, Mar 6, 2010 at 3:53 PM, Isaac Gouy wrote:
> At the command prompt:
>
> python b.py 8
> works fine on both XP and Vista
>
> python b.python 8
> works on XP (and Linux)
>
> but on Vista
>
> python b.python 8
>
> ImportError: No module named b
>
> ?
Code please. Also, .python is not a
News123 wrote:
> Hi,
>
> I'd like to notify python processes asynchronously.
> at notification time a callback should be called
>
> The solution should be working on linux and Windows.
>
> I could add a wrapper to switch between a windows / linux implementation
> though
>
> If possible I'd like
On Mar 6, 4:02 pm, Chris Rebert wrote:
> On Sat, Mar 6, 2010 at 3:53 PM, Isaac Gouy wrote:
> > At the command prompt:
>
> > python b.py 8
> > works fine on both XP and Vista
>
> > python b.python 8
> > works on XP (and Linux)
>
> > but on Vista
>
> > python b.python 8
>
> > ImportError: No
asit wrote:
>
>According to me, indentation is ok. but the python interpreter gives
>an indentation error
>
>[asit ~/py] $ python search.py
> File "search.py", line 7
>findResults = string.split(commandOutput, "\n")
> ^
>IndentationError: unind
On Sat, Mar 6, 2010 at 4:42 PM, Isaac Gouy wrote:
> On Mar 6, 4:02 pm, Chris Rebert wrote:
>> On Sat, Mar 6, 2010 at 3:53 PM, Isaac Gouy wrote:
>> > At the command prompt:
>>
>> > python b.py 8
>> > works fine on both XP and Vista
>>
>> > python b.python 8
>> > works on XP (and Linux)
>>
>>
On Mar 6, 4:53 pm, Chris Rebert wrote:
> On Sat, Mar 6, 2010 at 4:42 PM, Isaac Gouy wrote:
> > On Mar 6, 4:02 pm, Chris Rebert wrote:
> >> On Sat, Mar 6, 2010 at 3:53 PM, Isaac Gouy wrote:
> >> > At the command prompt:
>
> >> > python b.py 8
> >> > works fine on both XP and Vista
>
> >> > p
On Mar 6, 2010, at 8:23 PM, Isaac Gouy wrote:
> On Mar 6, 4:53 pm, Chris Rebert wrote:
>> On Sat, Mar 6, 2010 at 4:42 PM, Isaac Gouy wrote:
>>> On Mar 6, 4:02 pm, Chris Rebert wrote:
On Sat, Mar 6, 2010 at 3:53 PM, Isaac Gouy wrote:
> At the command prompt:
>>
> python b.py 8
On Sat, 06 Mar 2010 21:10:02 -0500, sstein...@gmail.com wrote:
> On Mar 6, 2010, at 8:23 PM, Isaac Gouy wrote:
>
>> On Mar 6, 4:53 pm, Chris Rebert wrote:
>>> On Sat, Mar 6, 2010 at 4:42 PM, Isaac Gouy wrote:
On Mar 6, 4:02 pm, Chris Rebert wrote:
> On Sat, Mar 6, 2010 at 3:53 PM, Isa
On Mar 6, 6:50 pm, Steven D'Aprano wrote:
> On Sat, 06 Mar 2010 21:10:02 -0500, sstein...@gmail.com wrote:
> > On Mar 6, 2010, at 8:23 PM, Isaac Gouy wrote:
>
> >> On Mar 6, 4:53 pm, Chris Rebert wrote:
> >>> On Sat, Mar 6, 2010 at 4:42 PM, Isaac Gouy wrote:
> On Mar 6, 4:02 pm, Chris Reber
Hi all,
yappi(yet another python profiler with multithreading support)
released.
See:
http://code.google.com/p/yappi/
Thanks,
--
http://mail.python.org/mailman/listinfo/python-list
On Sat, 06 Mar 2010 19:04:56 -0800, Isaac Gouy wrote:
> That was "Thanks." as in problem solved.
>
> When the code switches on multiprocessing.cpu_count() - single core vs
> multicore matters.
I'm glad you solved your problem. Out of curiosity, what was the fault?
Not the condition that leads t
Hi,
I'm trying to find a way to create an asynchronous HTTP client so I
can get responses from web servers in a way like
async_http_open('http://example.com/', callback_func)
# immediately continues, and callback_func is called with response
as arg when it is ready
It seems twisted can do it
40 matches
Mail list logo