Soumen banerjee writes:
> Is there any IDE with support for autocomplete in python 2.6 with all
> the newer functions included?
Emacs, with the right library, is an excellent Python IDE with
auto-completion and many other features
http://tellarite.net/2008/05/09/emacs-as-a-powerful-python-ide/>.
Carl Banks:
>1. Singly-linked lists can and should be handled with iteration.<
I was talking about a binary tree with list-like topology, of course.
>All recursion does it make what you're doing a lot less readable for almost
>all programmers.<
I can't agree. If the data structure is recursiv
My PHB is insane.
Today he drops 50,000 databases in MS Access format on my desk, and tells me
that by Friday I need to:
* Remove all of the "junk content" in the record fields;
* Remove all records with blank fields in them;
* Correct all fields in which the markup is "wrong";
* Correct all field
On May 4, 4:06 pm, bearophileh...@lycos.com wrote:
> Carl Banks:
>
> >1. Singly-linked lists can and should be handled with iteration.<
>
> I was talking about a binary tree with list-like topology, of course.
"(every node has 1 child, and they are chained)"
That's a singly-linked list, not a tre
On 5/4/2009 4:30 PM Amber said...
My PHB is insane.
Today he drops 50,000 databases in MS Access format on my desk, and
tells me that by Friday I need to:
* Remove all of the "junk content" in the record fields;
* Remove all records with blank fields in them;
* Correct all fields in which the
On May 4, 7:51 pm, Emile van Sebille wrote:
> On 5/4/2009 4:30 PM Amber said...
>
>
>
>
>
> > My PHB is insane.
>
> > Today he drops 50,000 databases in MS Access format on my desk, and
> > tells me that by Friday I need to:
> > * Remove all of the "junk content" in the record fields;
> > * Remove
On May 4, 10:01 am, Ross wrote:
> The "magic numbers" that everyone is wondering about are
> indeed used for spreading out the bye selection and I got
> them by simply calculating a line of best fit when plotting
> several courts: byes ratios.
But that doesn't really help you. When you do seq[::
definitive on Toplevel was the biggest help. All I have read have
never clearly stated its purpose. (A non-root root)
per Tkinter help:
"class Toplevel(BaseWidget, Wm)
Toplevel widget, e.g. for dialogs.
...
"
Since I'm not doing dialogs, I quite reading and move on.
John: Thank you again.
Today: 20090504
copy/paste from Python 2.5.2 on Linux Slackware 10.2
Steve
norse...@hughes.net
--
http://mail.python.org/mailman/listinfo/python-list
Thank you _ that solved it.
Amélie
Please consider the environment before printing this e-mail or any of its
attachments (if applicable)
-Original Message-
From: python-list-bounces+aydavis=purdue@python.org
[mailto:python-list-bounces+aydavis=purdue@python.org] On Be
On May 4, 7:59 pm, John Yeung wrote:
> On May 4, 10:01 am, Ross wrote:
>
> > The "magic numbers" that everyone is wondering about are
> > indeed used for spreading out the bye selection and I got
> > them by simply calculating a line of best fit when plotting
> > several courts: byes ratios.
>
>
On May 1, 4:18 pm, Aaron Brady wrote:
> On May 1, 12:09 am, Robert Dailey wrote:
>
> > I'm currently calling subprocess.call() on a batch file (in Windows)
> > that sets a few environment variables that are needed by further
> > processes started via subprocess.call(). How can I persist the
> > e
Hello,
I had used python on windows and one of the features i liked best was
that you could start a module-docs server and then use firefox to
access it. This would show module-docs for all modules you had
installed(including any 3rd party installs) . How do i do this on
linux?
regards
Soumen
--
ht
On May 4, 8:56 pm, Ross wrote:
> Anyways, you're right that seq[0] is always evaluated.
> That's why my algorithm works fine when there are odd
> numbers of players in a league.
It doesn't work fine for all odd numbers of players. For example, 15
players on 3 courts should result in 5 byes. Bu
Hi Soumen,
You could try running the Python Package Manager that we are developing
on sourceforge.
There isn't a release yet but we have implemented two buttons inside
the program for 'Examples' and 'Documentation'.
What they do is go off and find any documentation files or example
directories f
On May 4, 7:33 pm, John Yeung wrote:
> On May 4, 8:56 pm, Ross wrote:
>
> > Anyways, you're right that seq[0] is always evaluated.
> > That's why my algorithm works fine when there are odd
> > numbers of players in a league.
>
> It doesn't work fine for all odd numbers of players. For example, 1
On Mon, 04 May 2009 15:51:15 -0700, Carl Banks wrote:
> All
> recursion does it make what you're doing a lot less readable for almost
> all programmers.
What nonsense. There are many algorithms that are more understandable
written recursively than iteratively -- consult any good text book for
e
Does anyone know of a way to get the unique pathname for files stored
on FAT32 or other case insensitive drives?
For example:
os.path.samefile('/media/usbkey/file1.jpg','/media/usbkey/FILE1.jpg')
returns True
but, is there a simple way to determine whether '/media/usbkey/
file1.jpg' or '/media/
On Mon, 04 May 2009 16:33:13 -0700, Carl Banks wrote:
> On May 4, 4:06 pm, bearophileh...@lycos.com wrote:
>> Carl Banks:
>>
>> >1. Singly-linked lists can and should be handled with iteration.<
>>
>> I was talking about a binary tree with list-like topology, of course.
>
> "(every node has 1 chi
dmoore wrote:
Does anyone know of a way to get the unique pathname for files stored
on FAT32 or other case insensitive drives?
For example:
os.path.samefile('/media/usbkey/file1.jpg','/media/usbkey/FILE1.jpg')
returns True
but, is there a simple way to determine whether '/media/usbkey/
file1.
On May 4, 10:30 pm, Soumen banerjee wrote:
> Hello,
> I had used python on windows and one of the features i liked best was
> that you could start a module-docs server and then use firefox to
> access it.
pydoc -p
--
http://mail.python.org/mailman/listinfo/python-list
Hello,
I have an encoded string in the form "004e006100700061006c006d", if you
split on every 4 characters it decodes to a single character.
I have come up with this:
name = '004e006100700061006c006d'
name2 = ""
for x in range(0, len(name), 4):
name2 = name2 + chr(int(name[x:x+4], 16))
Is t
Piet van Oostrum wrote:
AJ> if __name__ == '__main__':
AJ>THREADS = []
AJ>for i in range(CONCURRENCY):
AJ>THREADS.append(threading.Thread(target=threadProcessRecipient))
AJ>for thread in THREADS:
AJ>thread.run()
You should use thread.start(), not thread.run(). W
On May 4, 11:01 pm, Ross wrote:
> Anyways, I'm new to
> programming and this has been a good learning experience.
I'm glad that you've been trying, and seem to be sticking it out
despite sometimes getting negative feedback here.
> Next time around, I'll be sure to thoroughly comment
> my code be
"Napalmski" wrote in message
news:mpg.2469d7edf8bbcd0a989...@eu.news.astraweb.com...
Hello,
I have an encoded string in the form "004e006100700061006c006d", if you
split on every 4 characters it decodes to a single character.
I have come up with this:
name = '004e006100700061006c006d'
name2
En Mon, 04 May 2009 23:25:42 -0300, Robert Dailey
escribió:
Thanks for your help guys. Unfortunately both ideas will not work. I
guess I should have mentioned that the batch file in question is
vsvars32.bat, from the Visual Studio installation directory. I should
not modify this file, nor can
I want to make something very similar to the command tail -f (follow a
file), i have been trying with some while True and some microsleeps
(about .1 s); did someone has already done something like this?
And about the file is the apache acceslog of a site with a lot of
traffic.
Regards
joe
On Mon, 04 May 2009 17:54:50 -0400, Terry Reedy wrote:
> bearophileh...@lycos.com wrote:
>
>> Another possible syntax:
>>
>> def fact(n):
>> return 1 if n <= 1 else n * return(n - 1)
>>
>> But I guess most people don't see this problem as important&common
>> enough to justify changing the l
On May 4, 8:22 pm, Steven D'Aprano
wrote:
> On Mon, 04 May 2009 15:51:15 -0700, Carl Banks wrote:
> > All
> > recursion does it make what you're doing a lot less readable for almost
> > all programmers.
>
> What nonsense.
It's not nonsense for a singly-linked list. I don't need to be taught
the
Could you tell me does Python have any advantages over Java for the development
of GUI applications?
Thanks,
Srini
Now surf faster and smarter ! Check out the new Firefox 3 - Yahoo!
Edition http://downloads.yahoo.com/in/firefox/?fr=om_email_firefox
--
http://mail.python.org/mailman/list
On Mon, May 4, 2009 at 11:08 PM, Steven D'Aprano
wrote:
> On Mon, 04 May 2009 17:54:50 -0400, Terry Reedy wrote:
>
>> bearophileh...@lycos.com wrote:
>>
>>> Another possible syntax:
>>>
>>> def fact(n):
>>> return 1 if n <= 1 else n * return(n - 1)
>>>
>>> But I guess most people don't see thi
On May 5, 2:00 am, Joel Juvenal Rivera Rivera
wrote:
> I want to make something very similar to the command tail -f (follow a
> file), i have been trying with some while True and some microsleeps
> (about .1 s); did someone has already done something like this?
>
> And about the file is the apac
101 - 131 of 131 matches
Mail list logo