comp.lang.python - 25 new messages in 17 topics - digest
comp.lang.python
http://groups.google.com/group/comp.lang.python?hl=en
comp.lang.python@googlegroups.com
Today's topics:
* Fast GUI pipemeter: gprog - 1 messages, 1 author
http://groups.google.com/group/comp.lang.python/t/1692f771329d02d2?hl=en
* start function in new process - 2 messages, 2 authors
http://groups.google.com/group/comp.lang.python/t/87262d1edfe35a69?hl=en
* Building Python-2.6.4 on G/L: can't build in _ssl support. - 2 messages, 2
authors
http://groups.google.com/group/comp.lang.python/t/e9b636bf834f401d?hl=en
* compiler with python - 4 messages, 3 authors
http://groups.google.com/group/comp.lang.python/t/cb204e8c749a46be?hl=en
* Import problem - 2 messages, 2 authors
http://groups.google.com/group/comp.lang.python/t/ef2fcb3907a5e3fc?hl=en
* PAYPAL WHOLESALE ALL BRAND (UGG BOOTS,SHOES,CLOTHING,HANDBAG,WATCH,JEANS,
JERSEY,T-SHIRT,SHIRTS.HOODY,EYEGLASS,CAP,SHAWL,WALLET) - 1 messages, 1 author
http://groups.google.com/group/comp.lang.python/t/7649dd1044f86e91?hl=en
* "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" " - 1 messages, 1 author
http://groups.google.com/group/comp.lang.python/t/031c90c3079f8992?hl=en
* Call for Paper The International Journal of Computer Science (IJCS) - 1
messages, 1 author
http://groups.google.com/group/comp.lang.python/t/25ff2e712c43f6d5?hl=en
* intersting datt with girls.......sign in to this website - 1 messages, 1
author
http://groups.google.com/group/comp.lang.python/t/399e6b5a44567a7b?hl=en
* best practices: is collections.defaultdict my friend or not? - 1 messages, 1
author
http://groups.google.com/group/comp.lang.python/t/4bfdc60d3f58c960?hl=en
* Shop online without credit card - 1 messages, 1 author
http://groups.google.com/group/comp.lang.python/t/bd771074a0287d1a?hl=en
* Escape curly bracket together to a variable extension - 3 messages, 3
authors
http://groups.google.com/group/comp.lang.python/t/3d3f1e5a111efe52?hl=en
* Cash for structured settlement - 1 messages, 1 author
http://groups.google.com/group/comp.lang.python/t/c1828bee347b7e12?hl=en
* Python 3.1.2 release candidate - 1 messages, 1 author
http://groups.google.com/group/comp.lang.python/t/af84215bf2d6e895?hl=en
* Conditional based on whether or not a module is being used - 1 messages, 1
author
http://groups.google.com/group/comp.lang.python/t/ee22c223fa73a429?hl=en
* Python 2.7 alpha 4 - 1 messages, 1 author
http://groups.google.com/group/comp.lang.python/t/779e761d934dbc1a?hl=en
* Sample code usable Tkinter listbox - 1 messages, 1 author
http://groups.google.com/group/comp.lang.python/t/bd27ec170800827f?hl=en
==============================================================================
TOPIC: Fast GUI pipemeter: gprog
http://groups.google.com/group/comp.lang.python/t/1692f771329d02d2?hl=en
==============================================================================
== 1 of 1 ==
Date: Sat, Mar 6 2010 12:21 am
From: Dan Stromberg
On Mar 4, 4:25 pm, Dan Stromberg <strom...@gmail.com> 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 code.
Now on a slower machine, it runs about 2.5 times faster than it did on
the faster machine.
==============================================================================
TOPIC: start function in new process
http://groups.google.com/group/comp.lang.python/t/87262d1edfe35a69?hl=en
==============================================================================
== 1 of 2 ==
Date: Sat, Mar 6 2010 1:45 am
From: "wongjoekmeu@yahoo.com"
On 5 mrt, 21:40, "Martin P. Hellwig" <martin.hell...@dcuktec.org>
wrote:
> On 03/05/10 20:09, wongjoek...@yahoo.com wrote:
>
>
>
> > On 5 mrt, 21:02, "Martin P. Hellwig"<martin.hell...@dcuktec.org>
> > wrote:
> >> On 03/05/10 19:45, wongjoek...@yahoo.com wrote:
>
> >>> On 5 mrt, 20:40, "Martin P. Hellwig"<martin.hell...@dcuktec.org>
> >>> wrote:
> >>>> On 03/05/10 19:21, wongjoek...@yahoo.com wrote:
> >>>> <cut os.fork problem>
> >>>> Any specific reason why threading.Thread or multiprocessing is not
> >>>> suitable to solve your problem?
>
> >>>> --
> >>>> mph
>
> >>> Because I got a memory leak in my function f(). It uses scipy, numpy,
> >>> pylab, and I am not planning to solve the memory leak because its too
> >>> complicated. So I thought of just calling the function then when it is
> >>> finished the process is gone and all memory is released. With
> >>> threading I don't think I would solve this problem. I am not sure
> >>> though.
>
> >> I would be surprised if you can't do the same with
> >> subprocess/multiprocessing, since you seem to know how to identify the
> >> memory leak it shouldn't be a problem scripting out a test to see if it
> >> works this way. I would be interested though in your findings.
>
> >> --
> >> mph
>
> > I can't use multiprocessing module since it comes only with python 2.6
> > and I am bound to python2.4. But subprocess does exist in python2.4,
> > but the question now is, how do I achieve that ? Any example ?
>
> Sure, for example if I want to check the openssl version (didn't specify
> I need to provide a useful example :-)
>
> I would normally do on the command line:
> [martin@aspire8930 /usr/home/martin/Desktop]$ /usr/bin/openssl version
> OpenSSL 0.9.8k 25 Mar 2009
>
> The python subprocess equivalent is:
> [martin@aspire8930 /usr/home/martin/Desktop]$ python
> Python 2.6.4 (r264:75706, Jan 31 2010, 20:52:16)
> [GCC 4.2.1 20070719 [FreeBSD]] on freebsd8
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import subprocess as _sp
> >>> ssl_version = _sp.Popen(['/usr/bin/openssl', 'version'],
> stdout=_sp.PIPE)
> >>> print(ssl_version.stdout.readlines())
> ['OpenSSL 0.9.8k 25 Mar 2009\n']
> >>> quit()
> [martin@aspire8930 /usr/home/martin/Desktop]$
>
> If you get any error in the Popen part, you probably did not use the
> full path or an illegal parameter.
>
> If you get a long wait in the readlines part, this usually means that
> there is either nothing written to stdout or something is still being
> written (I am not sure about this part though, it has been a while).
>
> hth
> --
> mph
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 ?
Thanks.
== 2 of 2 ==
Date: Sat, Mar 6 2010 4:28 am
From: "Martin P. Hellwig"
On 03/06/10 09:45, wongjoekmeu@yahoo.com wrote:
<cut>
>
> 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 ?
> Thanks.
Well yes that is possible but you would more or less be just reinventing
parts of the multiprocessing module, so I would use that one (at the
location Robert Kern suggested).
--
mph
==============================================================================
TOPIC: Building Python-2.6.4 on G/L: can't build in _ssl support.
http://groups.google.com/group/comp.lang.python/t/e9b636bf834f401d?hl=en
==============================================================================
== 1 of 2 ==
Date: Sat, Mar 6 2010 3:20 am
From: Alan Mackenzie
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 to find certain .h files, but is
looking in /usr/local/ssl and /usr/contrib (or subdirectories thereof).
These look like highly non-standard directories.
Either something is hugely amiss, or I'm missing some vital nugget of
information (possibly through not being a Python hacker).
Would somebody please give me a tip to get this sorted out? Thanks!
--
Alan Mackenzie (Nuremberg, Germany).
== 2 of 2 ==
Date: Sat, Mar 6 2010 8:24 am
From: Anssi Saari
Alan Mackenzie <acm@muc.de> 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
python2.6 or python2.6-minimal from unstable or testing too.
> I need _ssl for an application. So, I look at setup.py in the top
> directory. It seems that _ssl needs to find certain .h files, but is
> looking in /usr/local/ssl and /usr/contrib (or subdirectories thereof).
> These look like highly non-standard directories.
Looks to me like it looks in those non-standard directories, but in
addition to normal /usr/include.
==============================================================================
TOPIC: compiler with python
http://groups.google.com/group/comp.lang.python/t/cb204e8c749a46be?hl=en
==============================================================================
== 1 of 4 ==
Date: Sat, Mar 6 2010 3:37 am
From: 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 tools you're
willing to use, and probably why you want it. And if you're not sure
about your English, keep the sentence structure straightforward.
Let me make a couple of wild guesses:
You want to design and build a compiler that takes xml information as
its source code, and compiles those xml files into Intel x86 machine
code. The compiler and the resulting executable needs to run on an x86
Linux machine. Your previous experience was in doing this sort of thing
in C, but you want to try it with Python instead. You want to do it
without using the lxml libraries.
You want to build a python compiler, that takes python source code and
produces Java byte code files. You'd like to do this in C, but don't
want to use any of the available existing CPython or Jython source
code. Your goal is not to make a commercially viable product, but to
learn as much as possible in the process.
DaveA
== 2 of 4 ==
Date: Sat, Mar 6 2010 7:56 am
From: Dave Angel
mohamed issolah wrote:
>
> 2010/3/6 Dave Angel <davea@ieee.org>
>
>
>> 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 you're not sure about
>> your English, keep the sentence structure straightforward.
>>
>> Let me make a couple of wild guesses:
>>
>>
>
>
>
>> You want to design and build a compiler that takes xml information as its
>> source code, and compiles those xml files into Intel x86 machine code. The
>> compiler and the resulting executable needs to run on an x86 Linux machine.
>> Your previous experience was in doing this sort of thing in C, but you want
>> to try it with Python instead. You want to do it without using the lxml
>> libraries.
>>
>> You want to build a python compiler, that takes python source code and
>> produces Java byte code files. You'd like to do this in C, but don't want
>> to use any of the available existing CPython or Jython source code. Your
>> goal is not to make a commercially viable product, but to learn as much as
>> possible in the process.
>>
>>
>> DaveA
>>
>>
>
> 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.
>
>
>
I've forwarded your message to the list, and fixed your top-posting by
moving your response to the bottom. I don't have a clue what "quad" is,
unless it's a synonym for Forth.
You haven't specified the OS you'll be using to run the compiler, nor
the one you're targeting, so some of these choices may not be useful.
For example, the first one is Linux only.
http://www.freenet.org.nz/python/pybison/
PyBison - Python binding for Bison/Flex
http://freshmeat.net/projects/yeanpypa/
http://www.slash-me.net/dev/snippets/yeanpypa/documentation.html
http://www.python.org/community/sigs/retired/parser-sig/towards-standard/
Or you could go here, which has links to (most of) these and others.
http://wiki.python.org/moin/LanguageParsing
DaveA
== 3 of 4 ==
Date: Sat, Mar 6 2010 1:13 pm
From: Steven Howe
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 <davea@ieee.org>
>>
>>> 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 you're not
>>> sure about
>>> your English, keep the sentence structure straightforward.
>>>
>>> Let me make a couple of wild guesses:
>>>
>>
>>
>>> You want to design and build a compiler that takes xml information
>>> as its
>>> source code, and compiles those xml files into Intel x86 machine
>>> code. The
>>> compiler and the resulting executable needs to run on an x86 Linux
>>> machine.
>>> Your previous experience was in doing this sort of thing in C, but
>>> you want
>>> to try it with Python instead. You want to do it without using the
>>> lxml
>>> libraries.
>>>
>>> You want to build a python compiler, that takes python source code and
>>> produces Java byte code files. You'd like to do this in C, but
>>> don't want
>>> to use any of the available existing CPython or Jython source code.
>>> Your
>>> goal is not to make a commercially viable product, but to learn as
>>> much as
>>> possible in the process.
>>>
>>>
>>> DaveA
>>>
>>
>> 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.
>>
>>
> I've forwarded your message to the list, and fixed your top-posting by
> moving your response to the bottom. I don't have a clue what "quad"
> is, unless it's a synonym for Forth.
>
> You haven't specified the OS you'll be using to run the compiler, nor
> the one you're targeting, so some of these choices may not be useful.
> For example, the first one is Linux only.
>
> http://www.freenet.org.nz/python/pybison/
> PyBison - Python binding for Bison/Flex
>
> http://freshmeat.net/projects/yeanpypa/
> http://www.slash-me.net/dev/snippets/yeanpypa/documentation.html
>
> http://www.python.org/community/sigs/retired/parser-sig/towards-standard/
>
> Or you could go here, which has links to (most of) these and others.
> http://wiki.python.org/moin/LanguageParsing
>
> DaveA
== 4 of 4 ==
Date: Sat, Mar 6 2010 1:29 pm
From: "Alf P. Steinbach"
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 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 <davea@ieee.org>
>>>
>>>> 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 you're not
>>>> sure about
>>>> your English, keep the sentence structure straightforward.
>>>>
>>>> Let me make a couple of wild guesses:
>>>>
>>>
>>>
>>>> You want to design and build a compiler that takes xml information
>>>> as its
>>>> source code, and compiles those xml files into Intel x86 machine
>>>> code. The
>>>> compiler and the resulting executable needs to run on an x86 Linux
>>>> machine.
>>>> Your previous experience was in doing this sort of thing in C, but
>>>> you want
>>>> to try it with Python instead. You want to do it without using the
>>>> lxml
>>>> libraries.
>>>>
>>>> You want to build a python compiler, that takes python source code and
>>>> produces Java byte code files. You'd like to do this in C, but
>>>> don't want
>>>> to use any of the available existing CPython or Jython source code.
>>>> Your
>>>> goal is not to make a commercially viable product, but to learn as
>>>> much as
>>>> possible in the process.
>>>>
>>>>
>>>> DaveA
>>>>
>>>
>>> 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.
>>>
>>>
>> I've forwarded your message to the list, and fixed your top-posting by
>> moving your response to the bottom. I don't have a clue what "quad"
>> is, unless it's a synonym for Forth.
>>
>> You haven't specified the OS you'll be using to run the compiler, nor
>> the one you're targeting, so some of these choices may not be useful.
>> For example, the first one is Linux only.
>>
>> http://www.freenet.org.nz/python/pybison/
>> PyBison - Python binding for Bison/Flex
>>
>> http://freshmeat.net/projects/yeanpypa/
>> http://www.slash-me.net/dev/snippets/yeanpypa/documentation.html
>>
>> http://www.python.org/community/sigs/retired/parser-sig/towards-standard/
>>
>> Or you could go here, which has links to (most of) these and others.
>> http://wiki.python.org/moin/LanguageParsing
>>
>> DaveA
==============================================================================
TOPIC: Import problem
http://groups.google.com/group/comp.lang.python/t/ef2fcb3907a5e3fc?hl=en
==============================================================================
== 1 of 2 ==
Date: Sat, Mar 6 2010 3:53 am
From: Johny
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:52:17) [MSC v.1310 32 bit
(Intel)] on win
32
Type "help", "copyright", "credits" or "license" for more information.
>>> from A.B import bmodule
I am bmodule
>>>
C:\>
so far so good. Now I would like to import bmodule but if the current
directory is \D subdirectory.
C:> cd \A\B\D
C:\A\B\D>
C:\A\B\D>python
Python 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32 bit
(Intel)] on win
32
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.path.append('C:\\A')
>>> from A.B import bmodule
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named A.B
C:\>
so I can not import a module from the parent directory? Or where did I
make an error?
Thanks for help
L.
== 2 of 2 ==
Date: Sat, Mar 6 2010 6:48 am
From: Steven D'Aprano
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 "<stdin>", line 1, in <module>
> ImportError: No module named A.B
The current directory is irrelevant, except that it is automatically
added to the PYTHONPATH. That's why you can import A.B when the current
directory is C.
You are trying to import module B from package A *inside* directory C:\A,
but there is no such package A inside C:\A. You need to add C to the
path, and then it should work.
--
Steven
==============================================================================
TOPIC: PAYPAL WHOLESALE ALL BRAND (UGG BOOTS,SHOES,CLOTHING,HANDBAG,WATCH,
JEANS,JERSEY,T-SHIRT,SHIRTS.HOODY,EYEGLASS,CAP,SHAWL,WALLET)
http://groups.google.com/group/comp.lang.python/t/7649dd1044f86e91?hl=en
==============================================================================
== 1 of 1 ==
Date: Sat, Mar 6 2010 5:14 am
From: brandmarket
PAYPAL payment wholesale
SHOES(NIKE,ADIDAS,LV,GUCCI,CHANEL,PRADA,POLO,UGG BOOTS,D&G,DIOR AND SO
ON)
PAYPAL payment wholesale CLOTHING and jeans(A&F,D&G,ED
HARDAY,BAPE,BBC,LV,GUCCI,ARMANI,POLO,POUL SMITH AND SO ON)
http://www.globlepurchase.com
PAYPAL payment WATCH(ROLEX,OMEGA,CHANEL,LV,CARTIER,IWC,GUCCI,RADO AND
SO ON)
PAYPAL payment
HANDBAG(LV,GUCCI,CHANEL,PRADA,POLO,COACH,FENDI,CHLOE,BUBERRY,JUICY AND
SO ON)
paypal payment brand cap,shawl,belt,wallet,under wear,and so on.
More detail land, address:http://www.globlepurchase.com
==============================================================================
TOPIC: "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" "
http://groups.google.com/group/comp.lang.python/t/031c90c3079f8992?hl=en
==============================================================================
== 1 of 1 ==
Date: Sat, Mar 6 2010 5:33 am
From: Naeem
"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" "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" "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" "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" "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" "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" "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" "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" "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" "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" "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" "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" "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" "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" "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" "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" "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" "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" "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" "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" "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" "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" "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" "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" "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" "
==============================================================================
TOPIC: Call for Paper The International Journal of Computer Science (IJCS)
http://groups.google.com/group/comp.lang.python/t/25ff2e712c43f6d5?hl=en
==============================================================================
== 1 of 1 ==
Date: Sat, Mar 6 2010 7:31 am
From: editor ijcs
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 practical problem, the establishment of an
appropriate model, the determination of a solution, approximate or
exact, analytical or numerical, and a discussion of the relevance of
the results when applied to the real-life problem. Paper submissions
are invited in the area of computer science, in particular the
technological advances and research results in the fields of
theoretical, experimental, applied electronics, computer science,
communication network and Information technology.
Topics of interest include but are not limited to the following:
Computer Science
* Parallel Processing and Distributed Computing
* Foundations of High-performance Computing
* Graph Theory and Analysis of Algorithms
* Artificial Intelligences and Pattern/Image Recognitions
* Neural Networks and Biomedical Simulations
* Virtual Visions and Virtual Simulations
* Data Mining, Web Image Mining and Applications
* Data Base Management & Information Retrievals Adaptive Systems
* Bifurcation, Biocybernetics & Bioinformatics
* Blind Systems, Neural Networks &Control Systems
* Cryptosystems &Data Compression
* Evolutional Computation &Fuzzy Systems
* Image Processing and Image Recognition, Modeling & Optimization
* Speech Processing, Speech Synthesis & Speech Recognition
* Video Signal Processing, Watermarking & Wavelet Transform
* All topics related Computer Science
Communication Network
* Quantum Computing & Coding
* Error Controls Agent Computing & Multi-Agents Systems
* Defining Spectrum Rights and Open Spectrum Solutions
* Quality of Services and Communication Protocols
* Satellite and Optical Communication Systems
* 3G/4G Network Evolutions & CDMA/GSM Communication Protocols
* Mobile Computing, Transmission/Switching/Distribution
technologies
* Communication Theory & Signal Processing for Communications
* Wireless Communications, Wireless & Mobile Networking
* Optical Networks and Systems &Next-Generation Networking and
Internet
* Communication QoS &Reliability and Modeling
* Ad-hoc, Sensor & Mesh Networking
* Multimedia Services, Communication Software & Services
* Communication and Information System Security
* System control and network/service management
* Network and Internet protocols and standards
* Client-server, distributed & Web-based communication systems
* Broadband and multimedia systems & applications
* Trials of advanced systems and services
* Any topics related Communication Network
Information and Systems
* Cryptography and Foundation of Computer Security
* Authentication/Authorization Issues
* IDS/Firewall, Anti-Spam mail & Anti-virus issues
* Biometric authentication & algorithms
* Fingerprint /Hand/Biometrics Recognitions and Technologies
* IC-card Security, OTP & Key Management Issues
* E-commerce, Ubiquitous & RFID Applications
* Metadata, Meta Modeling, XML & Data Management
* Knowledge Management, Web Security & Privacy
* Cyber Threats, Web Services & Web Engineering
* Web Intelligence, Protocols & Standards
* Proxies and Servers
* Multimedia Applications
* Ontology and the Semantic Web
* B2B, B2C and C2C
* E-Business System Design and Development, E-Payment
* Portal Strategies, Social Networks and Information Systems
* Social and Legal Issues and Digital Ecology
* E-Governance, E-Learning and Virtual Classrooms
* E-Entertainment, E-Journalism
* Any topics related Information systems
Electronics
* Circuits & Devices
* Communication Networks & Systems
* Communications & Information Processing
* Digital Signal Processing & Electrical Engineering
Communications
* Electromagnetics & Microwaves
* Instrumentation
* Measurement & Testing
* Nanoscience & Nanotechnology
* Optics & Optoelectronic Effects
* Devices, Systems &Semiconductors
* Systems & Control Engineering
* Telecommunications
* Any topics related Electronics
International Journal of Computer Science (IJCS)
ISSN: 1884-9083
Website: https://sites.google.com/site/ijcsorg/
Manuscript submission to: ijcsorgeditor@gmail.com
All submitted papers will be judged based on their quality by the
technical committee and reviewers. Papers that describe research and
experimentation are encouraged. All paper submissions will be handled
electronically and detailed instructions on submission procedure are
available on IJCS web pages. Researchers and authors are invited to
participate in the peer-review process of IJCS papers if your research
interest matches with the themes of Call for Papers. For other
information, please contact IJCS Managing Editor.
==============================================================================
TOPIC: intersting datt with girls.......sign in to this website
http://groups.google.com/group/comp.lang.python/t/399e6b5a44567a7b?hl=en
==============================================================================
== 1 of 1 ==
Date: Sat, Mar 6 2010 7:40 am
From: karan arjun
RE U WANT RUSSIAN GIRL FRIENDS...
WEBPAGE ---> http://123maza.com/hashan/
==============================================================================
TOPIC: best practices: is collections.defaultdict my friend or not?
http://groups.google.com/group/comp.lang.python/t/4bfdc60d3f58c960?hl=en
==============================================================================
== 1 of 1 ==
Date: Sat, Mar 6 2010 7:04 am
From: Bruno Desthuilliers
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.
==============================================================================
TOPIC: Shop online without credit card
http://groups.google.com/group/comp.lang.python/t/bd771074a0287d1a?hl=en
==============================================================================
== 1 of 1 ==
Date: Sat, Mar 6 2010 8:15 am
From: soniyaa 1111
Shop online without credit card. It's only @ http://www.shoppingreps.com?SourceId=1259
Membership is absolutely free. Join and enjoy your shopping. For more
details visit http://www.shoppingreps.com?SourceId=1259
==============================================================================
TOPIC: Escape curly bracket together to a variable extension
http://groups.google.com/group/comp.lang.python/t/3d3f1e5a111efe52?hl=en
==============================================================================
== 1 of 3 ==
Date: Sat, Mar 6 2010 10:33 am
From: Joan Miller
How to escape the first '}' in the next string?
s = "}\n{0}".format('foo')
== 2 of 3 ==
Date: Sat, Mar 6 2010 10:38 am
From: "Alf P. Steinbach"
* Joan Miller:
> How to escape the first '}' in the next string?
>
> s = "}\n{0}".format('foo')
s = "}}\n{0}".format('foo')
Cheers & hth.,
- Alf
== 3 of 3 ==
Date: Sat, Mar 6 2010 10:41 am
From: Gary Herron
Joan Miller wrote:
> How to escape the first '}' in the next string?
>
> s = "}\n{0}".format('foo')
>
>>> "}}\n{0}".format('foo')
'}\nfoo'
Gary Herron
==============================================================================
TOPIC: Cash for structured settlement
http://groups.google.com/group/comp.lang.python/t/c1828bee347b7e12?hl=en
==============================================================================
== 1 of 1 ==
Date: Sat, Mar 6 2010 12:47 pm
From: coolboy8
Visit Here http://alturl.com/vz8b
==============================================================================
TOPIC: Python 3.1.2 release candidate
http://groups.google.com/group/comp.lang.python/t/af84215bf2d6e895?hl=en
==============================================================================
== 1 of 1 ==
Date: Sat, Mar 6 2010 2:13 pm
From: Benjamin Peterson
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 possible
regressions from 3.1.1. Please consider testing it with your library or
application and reporting an bugs you encounter. This will help make the final
3.1.2 release, planned in 2 weeks time, all the more stable.
The Python 3.1 version series focuses on the stabilization and optimization of
the features and changes that Python 3.0 introduced. For example, the new I/O
system has been rewritten in C for speed. File system APIs that use unicode
strings now handle paths with undecodable bytes in them. Other features include
an ordered dictionary implementation, a condensed syntax for nested with
statements, and support for ttk Tile in Tkinter. For a more extensive list of
changes in 3.1, see http://doc.python.org/3.1/whatsnew/3.1.html or Misc/NEWS in
the Python distribution.
To download Python 3.1.2rc1 visit:
http://www.python.org/download/releases/3.1.2/
A list of changes in 3.1.2rc1 can be found here:
http://svn.python.org/projects/python/tags/r312rc1/Misc/NEWS
The 3.1 documentation can be found at:
Bugs can always be reported to:
Enjoy!
--
Benjamin Peterson
Release Manager
benjamin at python.org
(on behalf of the entire python-dev team and 3.1.2's contributors)
==============================================================================
TOPIC: Conditional based on whether or not a module is being used
http://groups.google.com/group/comp.lang.python/t/ee22c223fa73a429?hl=en
==============================================================================
== 1 of 1 ==
Date: Sat, Mar 6 2010 2:38 pm
From: Vinay Sajip
On Mar 5, 9:29 pm, Pete Emerson <pemer...@gmail.com> 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 and while it might suit my
> needs, it's overkill for me right now (I'm still *very* much a python
> newbie).
>
Overkill in what sense? You just need to write a few lines of code to
be able to use the logging package which comes with Python:
import logging, logging.handlers, sys
logging.basicConfig(level=logging.DEBUG, stream=sys.stdout)
logging.getLogger().addHandler(logging.handlers.SysLogHandler())
# default logs to syslog at (localhost, 514) with facility LOG_USER
# you can change the default to use e.g. Unix domain sockets and a
different facility
So you're experienced enough and have time enough to write your own
logger module, but too much of a newbie to use a module which is part
of Python's included batteries? If you're writing something like
logging to learn about it and what the issues are, that's fair enough.
But I can't see what you mean by overkill, exactly. The three lines
above (or thereabouts) will, I believe, let you log to syslog and to
stdout...which is what you say you want to do.
> I want to write other modules, and my thinking is that it makes sense
> for those modules to use the "logger" module to do thelogging, if and
> only if the parent using the other modules is also using the logger
> module.
>
> In other words, I don't want to force someone to use the "logger"
> module just so they can use my other modules, even if the "logger"
> module is installed ... but I also want to take advantage of it if I'm
> using it.
>
> Now that I've written that, I'm not sure that makes a whole lot of
> sense. It seems like I could say, "hey, this person has the 'logger'
> module available, let's use it!".
>
> Thoughts?
Well, the logging package is available in Python and ready for use and
pretty much battle tested, so why not use that? Are you planning to
use third-party libraries in your Python work, or write everything
yourself? If you are planning to use third party libraries, how would
their logging be hooked into your logger module? And if not, is it
good to have two logging systems in parallel?
Of course as the maintainer of Python's logging package, you'd expect
me to be biased in favour of it. You maybe shouldn't let that sway
you ;-)
Regards,
Vinay Sajip
==============================================================================
TOPIC: Python 2.7 alpha 4
http://groups.google.com/group/comp.lang.python/t/779e761d934dbc1a?hl=en
==============================================================================
== 1 of 1 ==
Date: Sat, Mar 6 2010 2:41 pm
From: Benjamin Peterson
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 release will an extended period of maintenance for
the 2.x series.
2.7 includes many features that were first released in Python 3.1. The faster
io module, the new nested with statement syntax, improved float repr, set
literals, dictionary views, and the memoryview object have been backported from
3.1. Other features include an ordered dictionary implementation, unittests
improvements, a new sysconfig module, and support for ttk Tile in Tkinter. For
a more extensive list of changes in 2.7, see
http://doc.python.org/dev/whatsnew/2.7.html or Misc/NEWS in the Python
distribution.
To download Python 2.7 visit:
http://www.python.org/download/releases/2.7/
Please note that this is a development release, intended as a preview of new
features for the community, and is thus not suitable for production use.
The 2.7 documentation can be found at:
Please consider trying Python 2.7 with your code and reporting any bugs you may
notice to:
Enjoy!
--
Benjamin Peterson
2.7 Release Manager
benjamin at python.org
(on behalf of the entire python-dev team and 2.7's contributors)
==============================================================================
TOPIC: Sample code usable Tkinter listbox
http://groups.google.com/group/comp.lang.python/t/bd27ec170800827f?hl=en
==============================================================================
== 1 of 1 ==
Date: Sat, Mar 6 2010 2:46 pm
From: rantingrick
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.columnconfigure(0, weight=1)
self.hbar = tk.Scrollbar(self.frame, orient=HORIZONTAL)
self.block = tk.Frame(self.frame, width=18, height=18)
self.block.grid(row=1, column=1)
self.vbar = tk.Scrollbar(self.frame, orient=VERTICAL)
kw.setdefault('activestyle', 'none')
kw.setdefault('highlightthickness', 0)
kw.setdefault('pack', 0)
if kw.pop('pack') == 1:
self.frame.pack(fill=BOTH, expand=1)
tk.Listbox.__init__(self, self.frame, **kw)
self.grid(row=0, column=0, sticky=N+S+E+W)
self.hbar.configure(command=self.xview)
self.vbar.configure(command=self.yview)
self.config(
yscrollcommand=self.vbar.set,
xscrollcommand=self.hbar.set
)
self.hbar.grid(row=1, column=0, sticky=W+E)
self.vbar.grid(row=0, column=1, sticky=N+S)
self.pack = lambda **kw: self.frame.pack(**kw)
self.grid = lambda **kw: self.frame.grid(**kw)
self.place = lambda **kw: self.frame.place(**kw)
self.pack_config = lambda **kw: self.frame.pack_config(**kw)
self.grid_config = lambda **kw: self.frame.grid_config(**kw)
self.place_config = lambda **kw: self.frame.place_config(**kw)
self.pack_configure = lambda **kw:
self.frame.pack_config(**kw)
self.grid_configure = lambda **kw:
self.frame.grid_config(**kw)
self.place_configure = lambda **kw:
self.frame.place_config(**kw)
def gets(self):
return self.get(0, END)
def sets(self, arg):
self.delete(0, END)
try:
arg = arg.strip('\n').splitlines()
except AttributeError:
pass
if hasattr(arg, '__getitem__'):
for item in arg:
self.insert(END, str(item))
else:
raise TypeError("Scrolledlist.sets() requires a string or
iterable of strings")
if __name__ == '__main__':
root = tk.Tk()
listbox = ScrolledList(root, width=50, height=10, pack=1)
#listbox.sets(1.25)
#listbox.sets('1\n2\n3\n4\n5\n\n\n')
listbox.sets(range(100))
#listbox.grid(row=0, column=0)
root.mainloop()
==============================================================================
You received this message because you are subscribed to the Google Groups "comp.lang.python"
group.
To post to this group, visit http://groups.google.com/group/comp.lang.python?hl=en
To unsubscribe from this group, send email to comp.lang.python+unsubscribe@googlegroups.com
To change the way you get mail from this group, visit:
http://groups.google.com/group/comp.lang.python/subscribe?hl=en
To report abuse, send email explaining the problem to abuse@googlegroups.com
==============================================================================
Google Groups: http://groups.google.com/?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home