On 5/10/23 08:19, Ondřej Jůn wrote:
Good day.
After installing the Python program from your site and restarting the
computer as requested by the program, problems occurred.
That's rather suspicious, because the python installer doesn't do that.
That's only needed if you replace files in use b
Hi,
On Wed, May 10, 2023 at 10:33 AM Ondřej Jůn wrote:
>
> Good day.
>
> After installing the Python program from your site and restarting the
> computer as requested by the program, problems occurred. Programs like Word
> are all in black. In addition, a black color appears in
Good day.
After installing the Python program from your site and restarting the
computer as requested by the program, problems occurred. Programs like Word
are all in black. In addition, a black color appears in the file explorer
which sometimes completely covers everything (the black color
On 22/10/19 3:18 AM, lizhollinshe...@gmail.com wrote:
What do people think about black?
I'm asking because one of my personal preferences is to use spaces for clarity:
1. right = mystr[ start : ]
black version right=mystr[start:]
2. mtime = time.asctime( time.loca
On 21Oct2019 07:18, lizhollinshe...@gmail.com wrote:
What do people think about black?
Personally, I prefer yapf. Details below.
I'm asking because one of my personal preferences is to use spaces for clarity:
1. right = mystr[ start : ]
black version right=mystr[start
x27;s life easier, but harmony
within a team is an intangible value and much under-rated - until
experienced!
On 22/10/19 3:49 AM, Paul Moore wrote:
IMO, if you care enough to not like black's formatting choices, you
probably shouldn't use it. The point of black is to *not* care ab
IMO, if you care enough to not like black's formatting choices, you
probably shouldn't use it. The point of black is to *not* care about
formatting, but leave the decisions to the tool. If you're not doing
that, then it's probably the wrong tool for you. There may be other
code
On 21/10/2019 15:18, lizhollinshe...@gmail.com wrote:
What do people think about black?
It's the new orange?
Seriously, some context would be good. I take it from a quick Google
that black is a Python code formatter that makes some frankly rather
dubious claims for what it will do to
What do people think about black?
I'm asking because one of my personal preferences is to use spaces for clarity:
1. right = mystr[ start : ]
black version right=mystr[start:]
2. mtime = time.asctime( time.localtime( info.st_mtime ) )
black version
On Monday, January 8, 2018 at 1:16:08 PM UTC, jorge@cptec.inpe.br wrote:
> Hi,
>
> Please, I woudl like to plot a map like this figure. How can I do this
> using Python2.7
>
> Thanks,
>
> Conrado
Figures don't get through and you've all ready asked this question, possibly on
another forum
Hi,
Please, I woudl like to plot a map like this figure. How can I do this
using Python2.7
Thanks,
Conrado
--
https://mail.python.org/mailman/listinfo/python-list
On Wed, Jan 15, 2014 at 7:04 AM, BobAalsma wrote:
> A program took much too long to check some texts collected from web pages.
> As this could be made parallel easily, I put in fork.
Rather than using the low-level fork() function, you may find it
easier to manage things if you use the multiproce
A program took much too long to check some texts collected from web pages.
As this could be made parallel easily, I put in fork.
And the result seems to be that the program simply stops in the line with
urlopen. Any suggestions?
Relevant part:
try:
print 'urlopen by', kind_nummer, '-
Use this http://hg.python.org/cpython/file/92022b45e60b/setup.py#l36
Add the list of modules you want to disable and redo make
2013/11/5 Travis Griggs
>
> On Nov 4, 2013, at 9:22 AM, Travis Griggs wrote:
>
> > I'm playing with a BeagleBone Black running the angstrom
On 11/4/2013 7:23 PM, Travis Griggs wrote:
On Nov 4, 2013, at 9:22 AM, Travis Griggs wrote:
I'm playing with a BeagleBone Black running the angstrom distro. Of course,
stock python is 2.7, I'd rather use python3. There isn't a python3 package
available for angstrom. So I
On Nov 4, 2013, at 9:22 AM, Travis Griggs wrote:
> I'm playing with a BeagleBone Black running the angstrom distro. Of course,
> stock python is 2.7, I'd rather use python3. There isn't a python3 package
> available for angstrom. So I downloaded the source and compil
Hi Travis,
I see, looking at ./configure --help | less, that I could provide
> --disable-FEATURE and --without-PACKAGE directives to my ./configure
> invocation. But what I don't see is how to generate a list of what
> FEATURES/PACKAGES I could put there for consideration of omission. Is there
> s
I'm playing with a BeagleBone Black running the angstrom distro. Of course,
stock python is 2.7, I'd rather use python3. There isn't a python3 package
available for angstrom. So I downloaded the source and compiled. It seemed to
work pretty well. I used the basic approach outline
On 12/05/13 03:02, duncan smith wrote:
On 12/05/13 02:29, Dan Stromberg wrote:
On Sat, May 11, 2013 at 4:24 PM, Dan Stromberg mailto:drsali...@gmail.com>> wrote:
[snip]
What should BinaryTree.find() do if it finds a data.node that is None?
A call to "find(data)" should find and return e
On 12/05/13 02:29, Dan Stromberg wrote:
On Sat, May 11, 2013 at 4:24 PM, Dan Stromberg mailto:drsali...@gmail.com>> wrote:
I'm afraid I'm having some trouble with the module. I've checked it
into my SVN at
http://stromberg.dnsalias.org/svn/red-black-tree-mo
On 12/05/13 00:24, Dan Stromberg wrote:
I'm afraid I'm having some trouble with the module. I've checked it
into my SVN at
http://stromberg.dnsalias.org/svn/red-black-tree-mod/trunk/duncan
I have two versions of your tests in there now - "t" is minimally
changed, an
On Sat, May 11, 2013 at 4:24 PM, Dan Stromberg wrote:
>
> I'm afraid I'm having some trouble with the module. I've checked it into
> my SVN at
> http://stromberg.dnsalias.org/svn/red-black-tree-mod/trunk/duncan
>
> I have two versions of your tests in there now
I'm afraid I'm having some trouble with the module. I've checked it into
my SVN at http://stromberg.dnsalias.org/svn/red-black-tree-mod/trunk/duncan
I have two versions of your tests in there now - "t" is minimally changed,
and test-red_black_tree_mod is pretty restruct
On 09/05/13 02:40, Dan Stromberg wrote:
OK, I've got one copy of trees.py with md5
211f80c0fe7fb9cb42feb9645b4b3ffe. You seem to be saying I should have
two though, but I don't know that I do...
[snip]
Yes, 211f80c0fe7fb9cb42feb9645b4b3ffe is the correct checksum for the
latest version. The
On 09/05/13 02:40, Dan Stromberg wrote:
OK, I've got one copy of trees.py with md5
211f80c0fe7fb9cb42feb9645b4b3ffe. You seem to be saying I should have
two though, but I don't know that I do...
I've just re-sent it.
Duncan
--
http://mail.python.org/mailman/listinfo/python-list
r to be doing deletions correctly - the tree
>> would become unprintable after deleting one element. It's possible I
>> introduced the bug, but right now I don't particularly suspect so,
>> having not changed the __del__ method.
>>
>> I'm starting to
ld become unprintable after deleting one element. It's possible I
introduced the bug, but right now I don't particularly suspect so,
having not changed the __del__ method.
I'm starting to think Red Black Trees are pretty complex.
Mine is fixed now (sent to your gmail address).
On 07/05/13 02:20, Dan Stromberg wrote:
[snip]
I'm starting to think Red Black Trees are pretty complex.
A while ago I looked at a few different types of self-balancing binary
tree. Most look much easier to implement.
BTW, the licence might be MIT - I just copied it from so
On Tue, May 7, 2013 at 10:55 AM, duncan smith wrote:
> Here's the text I usually prepend.
>
>
> ##Copyright (c) 2013 duncan g. smith
> ##
> ##Permission is hereby granted, free of charge, to any person obtaining a
> ##copy of this software and associated documentation files (the "Software"),
> ##t
orrectly - the tree would
become unprintable after deleting one element. It's possible I introduced
the bug, but right now I don't particularly suspect so, having not changed
the __del__ method.
I'm starting to think Red Black Trees are pretty complex.
--
http://mail.python.org/mailman/listinfo/python-list
On 03/05/13 03:00, Dan Stromberg wrote:
On Wed, May 1, 2013 at 7:06 PM, duncan smith mailto:buzzard@invalid.invalid>> wrote:
I have an implementation that you can try out. It's not based on any
other implementation, so my bugs will be independent of any bugs in
the code you're curre
On Wed, May 1, 2013 at 7:06 PM, duncan smith wrote:
> I have an implementation that you can try out. It's not based on any other
> implementation, so my bugs will be independent of any bugs in the code
> you're currently using. It looks more like a set - add, remove, discard.
> Not tried on Python
On Thu, May 2, 2013 at 3:46 AM, Christian Heimes wrote:
> Am 02.05.2013 01:11, schrieb Dan Stromberg:
> No wonder it's getting slow and doesn't stand a change against Python's
> dict implementation. The rbtree implementation from
> newcenturycomputers.net is written entirely in Python. It's goo
Am 02.05.2013 01:11, schrieb Dan Stromberg:
>
> What's the best Red Black Tree implementation for Python with an
> opensource license?
>
> I started out looking at
> http://newcenturycomputers.net/projects/rbtree.html
> <http://newcenturycomputers.net/projects
On 02/05/13 00:11, Dan Stromberg wrote:
What's the best Red Black Tree implementation for Python with an
opensource license?
I started out looking at
http://newcenturycomputers.net/projects/rbtree.html because it was
pretty high in Google and had the operators I wanted, but it gets very
What's the best Red Black Tree implementation for Python with an opensource
license?
I started out looking at
http://newcenturycomputers.net/projects/rbtree.htmlbecause it was
pretty high in Google and had the operators I wanted, but it
gets very slow at about half a million elements. I
LG Optimus Black review
http://natigtas7ab.blogspot.com/2012/10/lg-optimus-black-review.html
--
http://mail.python.org/mailman/listinfo/python-list
On Sun, Dec 16, 2012 at 1:42 AM, Son Tung Nguyen Trong
wrote:
> Vào 20:27:42 UTC+7 Thứ bảy, ngày 15 tháng mười hai năm 2012, Chris Angelico
> đã viết:
>> On Sat, Dec 15, 2012 at 11:47 PM, Son Tung Nguyen Trong
>>
>> wrote:
>>
>> > I'm stuck in Phase 1- Get_value method and deal_card in Back-jack
Vào 20:27:42 UTC+7 Thứ bảy, ngày 15 tháng mười hai năm 2012, Chris Angelico đã
viết:
> On Sat, Dec 15, 2012 at 11:47 PM, Son Tung Nguyen Trong
>
> wrote:
>
> > I'm stuck in Phase 1- Get_value method and deal_card in Back-jack project
> > and the course in Coursea as well :(. I just returned an
On Sat, Dec 15, 2012 at 11:47 PM, Son Tung Nguyen Trong
wrote:
> I'm stuck in Phase 1- Get_value method and deal_card in Back-jack project and
> the course in Coursea as well :(. I just returned and working on it, this is
> what I've done so far. Can you guys help me? I really wanna accomplish t
I'm stuck in Phase 1- Get_value method and deal_card in Back-jack project and
the course in Coursea as well :(. I just returned and working on it, this is
what I've done so far. Can you guys help me? I really wanna accomplish this
course.
http://www.codeskulptor.org/#user7-xlgwHlbg4O-0.py
--
I'm stuck in Phase 1- Get_value method and deal_card in Back-jack project and
the course in Coursea as well :(. I just returned and working on it, this is
what I've done so far. Can you guys help me? I really wanna accomplish this
course.
http://www.codeskulptor.org/#user7-xlgwHlbg4O-0.py
--
Bringing this back to Python a bit:
http://newcenturycomputers.net/projects/rbtree.html
http://pypi.python.org/pypi/bintrees/0.3.0
http://pypi.python.org/pypi/treap/0.995
Red-Black trees are supposed to be slower than treaps on average, but
they're also supposed to have a lower sta
nswer from Professor Guidas:
"from Leonidas Guibas gui...@cs.stanford.edu to of the "Red-Black"
term mailed-by cs.stanford.edu hide details 16:16 (0 minutes ago)
we had red and black pens for drawing the trees."
Laszlo
On Wed, Apr 11, 2012 at 19:39, Ian Kelly wrote:
> O
On Wed, Apr 11, 2012 at 11:14 AM, Jabba Laci wrote:
> Hi,
>
> It's not really a Python-related question, sorry for that. Does anyone
> know why red-black trees got these colors in their names? Why not
> blue-orange for instance? I'm just curious.
http://programmers.st
Hi,
It's not really a Python-related question, sorry for that. Does anyone
know why red-black trees got these colors in their names? Why not
blue-orange for instance? I'm just curious.
Thanks,
Laszlo
--
http://mail.python.org/mailman/listinfo/python-list
On Sep 4, 5:19 am, Ned Deily wrote:
> In article
> ,
> Kristoffer Follesdal wrote:
>
> > *Forgot to tell that I am using a Mac with Snow Leopard.
>
> Which version of Python 3.1.2? From the python.org installer?
> MacPorts? Built from source - if so, which version of Tk?
>
> --
> Ned Deily,
In article
,
Kristoffer Follesdal wrote:
> *Forgot to tell that I am using a Mac with Snow Leopard.
Which version of Python 3.1.2? From the python.org installer?
MacPorts? Built from source - if so, which version of Tk?
--
Ned Deily,
n...@acm.org
--
http://mail.python.org/mailman/lis
*Forgot to tell that I am using a Mac with Snow Leopard.
--
http://mail.python.org/mailman/listinfo/python-list
Hi
I am new to python and have installed python 3.1.2. I have began using
IDLE and like it very good.
But when an IDLE window is active. There is a thick black frame around
the white text field. Is there some way I can get rid of this frame?
The frame is very distracting when I write
redfolder")
> \1.1.1.1\sharedfolder
> >>>
>
>
> >
> > I saved this python file as a.pyw, run it with pythonw.exe a.pyw, then a
> > black console window display one second.
> > Only remote folder has this problem, local folder has no this problem.
> >
That won't work:
>>> print("\\1.1.1.1\sharedfolder")
\1.1.1.1\sharedfolder
>>>
>
> I saved this python file as a.pyw, run it with pythonw.exe a.pyw, then a
> black console window display one second.
> Only remote folder has this problem, local folder h
Hi all,
I want to use os.chmod or os.access to check the permission of a folder
on remote Windows computer:
os.chmod("\\1.1.1.1\sharedfolder", stat.S_IWRITE)
or
os.access("\\1.1.1.1\sharedfolder", os.W_OK)
I saved this python file as a.pyw, run it with pythonw.exe a.pyw,
On Jun 23, 8:32 pm, "k...@att.bi"
wrote:
> You're absolutely clueless.
http://www.washingtonpost.com/wp-dyn/content/article/2010/06/25/AR2010062504155.html?hpid=moreheadlines
Judge in drilling case held stock in oil company affected by
moratorium
Giant oil plume lingers below surfa
US Senators Urge Obama To Stand By Israel
By Ma'an News
25 June, 2010
Ma'an News
Bethlehem – Ma’an – In a letter, 87 American senators told President
Barack Obama that the US "must continue" to stand with Israel. In a
senate of 100 members, the group of 87 represents a strong majority.
Declarin
On Jun 22, 8:30 pm, small Pox wrote:
> Jew Judges NEVER came out against the CRIMES of BUSH and CHENEY and
> LARRY S I L V E R S T E I N - The main player in 911
>
> Jews are coming out from the directions of Corporations, Mafias,
> Legislators, and now Judge to SUBVERT the UNITED STATES
On Wed, 23 Jun 2010 19:10:45 -0700 (PDT), MooseFET wrote:
>On Jun 23, 2:02 pm, nanothermite911fbibustards
> wrote:
>> FASCINATING !!!
>> An ECOLOGICAL DISASTER is taking place.
>> There is a need for HERCULEAN effort to STOP the oil spill.
>> Then there is need for a THOROUGH study of the inciden
On Jun 23, 2:02 pm, nanothermite911fbibustards
wrote:
> FASCINATING !!!
> An ECOLOGICAL DISASTER is taking place.
> There is a need for HERCULEAN effort to STOP the oil spill.
> Then there is need for a THOROUGH study of the incident and EXEMPLARY
> PUNISHMENT of ALL THE OIL COMPANY BASTARDS, Brit
FASCINATING !!!
An ECOLOGICAL DISASTER is taking place.
There is a need for HERCULEAN effort to STOP the oil spill.
Then there is need for a THOROUGH study of the incident and EXEMPLARY
PUNISHMENT of ALL THE OIL COMPANY BASTARDS, Brits, Halliburtons and
ALL of them.
But the JUDGE is worried about h
Jew Judges NEVER came out against the CRIMES of BUSH and CHENEY and
LARRYS I L V E RS T E I N - The main player in 911
Jews are coming out from the directions of Corporations, Mafias,
Legislators, and now Judge to SUBVERT the UNITED STATES.
Please listen to the Speech of Mr Benjamin H
http://www.blacksandjews.com/JewsBlackHolocaust.html
Jews and the Black Holocaust - What are the Issues?
Blacks and Jews have been involved in a re-evaluation of their current
and historical relationship. Events of the past several years have
raised both tensions and the level of rhetoric coming
Blacks and Jews is a historical
accounting of the part of the relationship that has been ignored by
both Blacks and Jews.
http://www.blacksandjews.com/BlackJewishFAQ.html
http://www.blacksandjews.com/BlackJewishFAQ.Hate.html
Black-Jewish History FAQ - Is The Secret Relationship between blacks
and
"BOLLYWOOD GIRLS" "HOLLYWOOD GIRLS" "LOLLYWOOD GIRLS" "INDIAN GIRLS"
"PAKISTANI GIRLS" "KARACHI GIRLS" "LAHORE GIRLS" "ISLAMABAD GIRLS"
"MUSLIM GIRLS" "TURKISH GIRLS" "BLACK GIRLS" "P
On Dec 26, 2:52 am, Scott David Daniels wrote:
> Chris Rebert wrote:
> > On Thu, Dec 25, 2008 at 3:32 PM, Gandalf wrote:
> >> I use WX gui so the user doesn't actually need it, Is their any way to
> >> hide it?
>
> > Make sure your Python program is run by pythonw.exe as opposed to python.exe
> >
Chris Rebert wrote:
On Thu, Dec 25, 2008 at 3:32 PM, Gandalf wrote:
I use WX gui so the user doesn't actually need it, Is their any way to
hide it?
Make sure your Python program is run by pythonw.exe as opposed to python.exe
pythonw.exe exists specifically for the purpose of suppressing the D
On Thu, Dec 25, 2008 at 3:32 PM, Gandalf wrote:
> I use WX gui so the user doesn't actually need it, Is their any way to
> hide it?
Make sure your Python program is run by pythonw.exe as opposed to python.exe
pythonw.exe exists specifically for the purpose of suppressing the DOS
Box on Windows.
I use WX gui so the user doesn't actually need it, Is their any way to
hide it?
thanks
--
http://mail.python.org/mailman/listinfo/python-list
black dateing
.
.
.
Free Online Dating
.
***CLICK HERE***
http://dating365.co.cc/black-dateing
*
.
Free Online Dating
.
.
.
.
.
.
.
.
.
.
black dateing
--
http://mail.python.org/mailman/listinfo/python-list
On Sep 10, 4:34 pm, Mike Driscoll <[EMAIL PROTECTED]> wrote:
> On Sep 10, 3:53 pm, James A. Donald <[EMAIL PROTECTED]> wrote:
>
>
>
> > James A. Donald
>
> > > > Horrible installs are a chronic problem of GUI programs driven by
> > > > interpreted languages Installing visual basic programs that wo
James A. Donald
> > > > Horrible installs are a chronic problem of GUI programs driven by
> > > > interpreted languages Installing visual basic programs that worked on
> > > > one Windows machine to work on a very slightly different windows
> > > > machine was also a nightmare.
> > > >
> > > > I h
On Sep 10, 3:53 pm, James A. Donald <[EMAIL PROTECTED]> wrote:
> James A. Donald
>
> > > Horrible installs are a chronic problem of GUI programs driven by
> > > interpreted languages Installing visual basic programs that worked on
> > > one Windows machine to work on a very slightly different wind
James A. Donald
> > Horrible installs are a chronic problem of GUI programs driven by
> > interpreted languages Installing visual basic programs that worked on
> > one Windows machine to work on a very slightly different windows
> > machine was also a nightmare.
> >
> > I have not attempted to cre
Mike Driscoll wrote:
On Sep 10, 6:48 am, James A. Donald <[EMAIL PROTECTED]> wrote:
On Tue, 9 Sep 2008 14:35:13 -0700 (PDT), icarus <[EMAIL PROTECTED]>
wrote:
Oh ok. Thanks. In windows xp I just renamed the file extension to .pyw
That did it.
one more question...
how do I
On Sep 10, 6:48 am, James A. Donald <[EMAIL PROTECTED]> wrote:
> On Tue, 9 Sep 2008 14:35:13 -0700 (PDT), icarus <[EMAIL PROTECTED]>
> wrote:
>
> > Oh ok. Thanks. In windows xp I just renamed the file extension to .pyw
> > That did it.
>
> > one more question...
>
> > how do I create a pythonw stan
On Tue, 9 Sep 2008 14:35:13 -0700 (PDT), icarus <[EMAIL PROTECTED]>
wrote:
> Oh ok. Thanks. In windows xp I just renamed the file extension to .pyw
> That did it.
>
> one more question...
>
> how do I create a pythonw standalone executable that works on w32,
> linux, mac, etc..?
I have noticed
icarus top-posted:
> one more question...
...deserves a separate thread.
> how do I create a pythonw standalone executable that works on w32,
> linux, mac, etc..?
Either it is Python, then it is portable but no executable, or it is an
executable, then it is standalone but not portable. I'm afrai
e app was written in python. All he knows that when he
double-clicks on it, the application pops up without the DOS black
screen in the background (for w32 users.)
On Sep 9, 10:49 am, "Chris Rebert" <[EMAIL PROTECTED]> wrote:
You need to have the script be run by pyth
My intent is to have the process transparent to the user. He wouldn't
> even know the app was written in python. All he knows that when he
> double-clicks on it, the application pops up without the DOS black
> screen in the background (for w32 users.)
>
> On Sep 9, 10:49 am, "
en in python. All he knows that when he
double-clicks on it, the application pops up without the DOS black
screen in the background (for w32 users.)
On Sep 9, 10:49 am, "Chris Rebert" <[EMAIL PROTECTED]> wrote:
> You need to have the script be run by pythonw.exe as opposed to
indows xp professional, python 2.5, wxpython
>
> When I double-check on my program file test.py (for simplicity I'll be
> using this code below), I see the window just fine. But the ms-dos
> black window pops up in the background. On Linux, no issues at all.
>
> How can I get ri
platform: windows xp professional, python 2.5, wxpython
When I double-check on my program file test.py (for simplicity I'll be
using this code below), I see the window just fine. But the ms-dos
black window pops up in the background. On Linux, no issues at all.
How can I get rid of that m
Brand Watches CITIZEN Eco Drive Women's Black Dial 2-Hand Watch
SY2030-54E Discount, Replica, Fake
Browse our CITIZEN Eco Drive Women's Black Dial 2-Hand Watch
SY2030-54E replica watches, which is sure the watch you are looking
for at low price. There are more high quality designer watc
Chopard Happy Sport Diamond Steel Black Ladies Watch 27/8361-23
Chopard Happy Sport Diamond Steel Black Ladies Watch 27/8361-23 Link :
http://www.aaa-replica-watch.com/Chopard_27_8361_23.html
Buy the cheapest Chopard Happy Sport Diamond Steel Black Ladies Watch
27/8361-23 in toppest Replica
http://worsethanfailure.com/Comments/The_Black_Box_of_Or.aspx
--
Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/
"I disrespectfully agree." --SJM
--
http://mail.python.org/mailman/listinfo/python-list
On Fri, 15 Dec 2006 01:20:34 +, Just Another Victim of the Ambient
Morality wrote:
> I need a red-black tree in Python and I was wondering if there was one
> built in or if there's a good implementation out there. Something that,
> lets face it, does whatever the C++ std
You could try and wrap the C/C++ code at
http://web.mit.edu/~emin/www/source_code/index.html and make a python
extension...
On Dec 14, 8:20 pm, "Just Another Victim of the Ambient Morality"
<[EMAIL PROTECTED]> wrote:
> I need a red-black tree in Python and I was wonderi
On Fri, 15 Dec 2006 01:20:34 GMT, Just Another Victim of the Ambient Morality
<[EMAIL PROTECTED]> wrote:
> I need a red-black tree in Python and I was wondering if there was one
> built in or if there's a good implementation out there. Something that,
> lets face it,
Just Another Victim of the Ambient Morality wrote:
> I need a red-black tree in Python and I was wondering if there was one
> built in or if there's a good implementation out there. Something that,
> lets face it, does whatever the C++ std::map<> allows you to do...
>
At Thursday 14/12/2006 22:20, Just Another Victim of the Ambient
Morality wrote:
I need a red-black tree in Python and I was wondering if there was one
built in or if there's a good implementation out there. Something that,
lets face it, does whatever the C++ std::map<> allow
I need a red-black tree in Python and I was wondering if there was one
built in or if there's a good implementation out there. Something that,
lets face it, does whatever the C++ std::map<> allows you to do...
Thank you...
--
http://mail.python.org/mailman/listinfo/python-list
On 26/05/2006 4:33 AM, Andrew Robert wrote:
> Hi Everyone,
>
>
> Thanks for all of your patience on this.
>
> I finally got it to work.
>
>
> Here is the completed test code showing what is going on.
Consider doing what you should have done at the start: state what you
are trying to achieve.
Hi Everyone,
Thanks for all of your patience on this.
I finally got it to work.
Here is the completed test code showing what is going on.
Not cleaned up yet but it works for proof-of-concept purposes.
#!/usr/bin/python
import re,base64
# Evaluate captured character as hex
def ret_hex(va
Andrew Robert <[EMAIL PROTECTED]> wrote:
> import re,base64
>
> # Evaluate captured character as hex
> def ret_hex(value):
> return base64.b16encode(value)
>
> def ret_ascii(value):
> return base64.b16decode(value)
>
Note that you can just do this:
from base64 import b16encode,b16dec
Max Erickson wrote:
> Try getting rid of the lamba, it might make things clearer and it
> simplifies debugging. Something like(this is just a sketch):
>
>
> max
>
Yeah.. trying to keep everything on one line is becoming something of a
problem.
To make this easier, I followed something from
Andrew Robert <[EMAIL PROTECTED]> wrote:
> ValueError: invalid literal for int(): %
>
> Does anyone see what I am doing wrong?
>
Try getting rid of the lamba, it might make things clearer and it
simplifies debugging. Something like(this is just a sketch):
def callback(match):
print match.
Hi everyone,
I have two test scripts, an encoder and a decoder.
The encoder, listed below, works perfectly.
import re,sys
output = open(r'e:\pycode\out_test.txt','wb')
for line in open(r'e:\pycode\sigh.txt','rb') :
output.write( re.sub(r'([^\w\s])', lambda s: '%%%2X' %
ord(s.group()), line)
Alexander Anderson:
> ...I like to study large files of (hobby) code on paper. I have a
> black and white bubble-jet printer. However, my (Win NT4) screen
> syntax-highlighting setup has a couple of problems when it comes to
> doing print-outs.
>
> The _chief_ pro
is is the right place to ask this type of
question, but...
...I like to study large files of (hobby) code on paper. I have a
black and white bubble-jet printer. However, my (Win NT4) screen
syntax-highlighting setup has a couple of problems when it comes to
doing print-outs.
The _c
Hi all.
Here's the problem: I've got a black box and a bunch of particles in
an environment. The particles go into the black box, follow a path,
and pop out the end after some processing. They are processed
first-in-first-out, like a queue.
Inside the black box is a physical layou
My name is Richard Keebler. I live in Pennsylvania. I recently
visited my friend Gerald Newton in Alaska. I never expected to see so
many watermelon eating black african jungle bunny niggers in the state.
What a fucken surprise.
Sigh...
Richard Keebler
--
http://mail.python.org
1 - 100 of 101 matches
Mail list logo