Re: Asking for help in forward and backward propagiation in neural network.

2020-01-16 Thread Tamás Tóthpál
attached picture: https://drive.google.com/open?id=1RnUcEhP8BEoIlsrstV3q40uUd0IuV-6v -- https://mail.python.org/mailman/listinfo/python-list

Re: Asking for help in forward and backward propagiation in neural network.

2020-01-16 Thread Tamás Tóthpál
2020. január 16., csütörtök 18:25:16 UTC+1 időpontban Tamás Tóthpál a következőt írta: > I have been doing an online course in data science, especially in neural > networks. But I got stuck in the programming assignment: > > > Could anyone hep me out what the code will look like in this case?

Asking for help in forward and backward propagiation in neural network.

2020-01-16 Thread Tamás Tóthpál
I have been doing an online course in data science, especially in neural networks. But I got stuck in the programming assignment: Could anyone hep me out what the code will look like in this case? -- https://mail.python.org/mailman/listinfo/python-list

Re: Asking for feedback: Mirror GitHub issues with a static site generator

2019-10-19 Thread Chris Angelico
ble, because of the middleware loophole. > Pelican - static site generator I base my work on - uses AGPL for their source > code, and no one is going around claiming all the blog posts are now copyleft. Good to know. I'm always a bit leery of anything that could potentially slap a GPL

Re: Asking for feedback: Mirror GitHub issues with a static site generator

2019-10-19 Thread Vitaly Potyarkin
On Fri, Oct 18, 2019 at 9:31 PM Chris Angelico wrote: > You mention a persistent Storage, merely in passing. I want to see > more about that. If that storage format is a nice easy thing to work > with (eg a set of JSON files), and is a documented and > forward/backward-compatible format, it could

Re: Asking for feedback: Mirror GitHub issues with a static site generator

2019-10-18 Thread Chris Angelico
On Sat, Oct 19, 2019 at 2:25 AM Vitaly Potyarkin wrote: > It's a backup mechanism for GitHub issues and pull requests that creates > human-readable issue archives in HTML - ready to be served as a static web > site. The project is written in Python and works by extending Pelican > static site gene

Asking for feedback: Mirror GitHub issues with a static site generator

2019-10-18 Thread Vitaly Potyarkin
Hello, I'm looking to get some feedback on my project. It's a backup mechanism for GitHub issues and pull requests that creates human-readable issue archives in HTML - ready to be served as a static web site. The project is written in Python and works by extending Pelican static site generator, it

Re: Asking help about Python

2017-10-04 Thread Chris Angelico
On Thu, Oct 5, 2017 at 1:48 PM, wrote: > Hi Everyone, > > I now do need to re-compile the Python 2.7 with VisualStudio 2012. > Can anyone here kindly give me any help? I appreciate any kind of help: > hints, learning sources, or ideally show me some instructions :(. > > Thank you. This is not g

Asking help about Python

2017-10-04 Thread yennguyen . agar
Hi Everyone, I now do need to re-compile the Python 2.7 with VisualStudio 2012. Can anyone here kindly give me any help? I appreciate any kind of help: hints, learning sources, or ideally show me some instructions :(. Thank you. -- https://mail.python.org/mailman/listinfo/python-list

Re: New to programming and asking about accessibility with jaws screen reader.

2016-07-24 Thread Jacob Kruger
Presume you're talking about python idle IDE? Forget it, and, like said, I use edSharp programmers text editor, and work from command line/console when want to test/run my code. Stay well Jacob Kruger Blind Biker Skype: BlindZA "Resistance is futile, but, acceptance is versatile..." On 20

Re: New to programming and asking about accessibility with jaws screen reader.

2016-07-24 Thread Jacob Kruger
What part is not accessible? Ask since while haven't really gone past 3.4 and 3.5.1, at times, I generally work with specific text/code editors, and the command line window, and this works fine for me with both NVDA, and jaws 17 at times. Stay well Jacob Kruger Blind Biker Skype: BlindZA "R

Re: New to programming and asking about accessibility with jaws screen reader.

2016-07-24 Thread Chris Angelico
On Mon, Jul 25, 2016 at 6:04 AM, josphine said wrote: > I have downloaded python3.6 and found it is not accessible with jaws 17. > So, is there any skripts for jaws for that? Exactly what did you download, and where from? ChrisA -- https://mail.python.org/mailman/listinfo/python-list

RE: New to programming and asking about accessibility with jaws screen reader.

2016-07-24 Thread Joseph Lee
josphine said Sent: Sunday, July 24, 2016 1:04 PM To: python-list@python.org Subject: New to programming and asking about accessibility with jaws screen reader. Hello, I have downloaded python3.6 and found it is not accessible with jaws 17. So, is there any skripts for jaws for that? Or any

New to programming and asking about accessibility with jaws screen reader.

2016-07-24 Thread josphine said
Hello, I have downloaded python3.6 and found it is not accessible with jaws 17. So, is there any skripts for jaws for that? Or any suggestions? Every guidance will highly appreciated. Thanks. -- https://mail.python.org/mailman/listinfo/python-list

Re: Bug asking for input number

2013-11-15 Thread Christopher Welborn
Sorry about my previous post, gmane is being really slow. :( I wouldn't have posted if I knew the question was already answered. -- - Christopher Welborn http://welbornprod.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Bug asking for input number

2013-11-15 Thread Christopher Welborn
On 11/15/2013 08:15 PM, Arturo B wrote:> Hi! I hope you can help me. > > I'm writting a simple piece of code. > I need to keep asking for a number until it has all this specifications: > > - It is a number > - It's lenght is 3 > - The hundred's digit diffe

Re: Bug asking for input number

2013-11-15 Thread Arturo B
MRAB your solution is good thank you I will use it. Terry Eddy I saw my mistake about for example 2 <= 2, I think it's easier to use break in this case thank you! -- https://mail.python.org/mailman/listinfo/python-list

Re: Bug asking for input number

2013-11-15 Thread Terry Reedy
On 11/15/2013 9:15 PM, Arturo B wrote: Hi! I hope you can help me. I'm writting a simple piece of code. I need to keep asking for a number until it has all this specifications: - It is a number - It's lenght is 3 - The hundred's digit differs from the one's digit by at leas

Re: Bug asking for input number

2013-11-15 Thread MRAB
On 16/11/2013 02:15, Arturo B wrote: Hi! I hope you can help me. I'm writting a simple piece of code. I need to keep asking for a number until it has all this specifications: - It is a number - It's lenght is 3 - The hundred's digit differs from the one's digit by at leas

Bug asking for input number

2013-11-15 Thread Arturo B
Hi! I hope you can help me. I'm writting a simple piece of code. I need to keep asking for a number until it has all this specifications: - It is a number - It's lenght is 3 - The hundred's digit differs from the one's digit by at least two My problem is that I enter a va

Re: What does it take to implement a chat system in Python (Not asking for code just advice before I start my little project)

2013-07-19 Thread Chris Angelico
On Fri, Jul 19, 2013 at 9:25 PM, Jorgen Grahn wrote: > On Thu, 2013-07-18, Chris Angelico wrote: > ... >> You can certainly do your server-side programming directly in Python; >> in fact, I recommend it for this task. There's no reason to use HTTP, >> much less a web framework (which usually consi

Re: What does it take to implement a chat system in Python (Not asking for code just advice before I start my little project)

2013-07-19 Thread Jorgen Grahn
On Thu, 2013-07-18, Chris Angelico wrote: ... > You can certainly do your server-side programming directly in Python; > in fact, I recommend it for this task. There's no reason to use HTTP, > much less a web framework (which usually consists of a structured way > to build HTML pages, plus a bunch o

Re: What does it take to implement a chat system in Python (Not asking for code just advice before I start my little project)

2013-07-19 Thread Chris Angelico
On Fri, Jul 19, 2013 at 5:10 PM, Jake Angulo wrote: > On Thu, Jul 18, 2013 at 2:36 PM, Aseem Bansal wrote: >> >> I wanted to do a little project for learning Python. I thought a chat >> system will be good as it isn't something that I have ever done. >> ... >> >> I wanted to know what

Re: What does it take to implement a chat system in Python (Not asking for code just advice before I start my little project)

2013-07-19 Thread Jake Angulo
On Thu, Jul 18, 2013 at 2:36 PM, Aseem Bansal wrote: > I wanted to do a little project for learning Python. I thought a chat > system will be good as it isn't something that I have ever done. > ... > I wanted to know what will I need? > 1 learn network/socket programming I was actua

Re: What does it take to implement a chat system in Python (Not asking for code just advice before I start my little project)

2013-07-18 Thread Owen Marshall
On 2013-07-18, Michael Torrie wrote: > On 07/18/2013 12:19 PM, Owen Marshall wrote: >> Huh - I (foolishly) didn't realize gmane actually had NNTP, I've always >> used it to search mailing lists. If the list dumped to usenet (much like >> c.l.python) I'd post through sunsite.dk, which is a very nic

Re: What does it take to implement a chat system in Python (Not asking for code just advice before I start my little project)

2013-07-18 Thread Michael Torrie
On 07/18/2013 12:19 PM, Owen Marshall wrote: > Huh - I (foolishly) didn't realize gmane actually had NNTP, I've always > used it to search mailing lists. If the list dumped to usenet (much like > c.l.python) I'd post through sunsite.dk, which is a very nice usenet > provider. But that still meant s

Re: What does it take to implement a chat system in Python (Not asking for code just advice before I start my little project)

2013-07-18 Thread Michael Torrie
On 07/17/2013 11:39 PM, Eric S. Johansson wrote: > Not discourage you but this is a "been there, done that" kind of project. > You could learn more from reading somebody else is code. What hasn't been > done, and this would be very cool, is a chat program that works > peer-to-peer with no cen

Re: What does it take to implement a chat system in Python (Not asking for code just advice before I start my little project)

2013-07-18 Thread Owen Marshall
On 2013-07-18, Grant Edwards wrote: > On 2013-07-18, Serhiy Storchaka wrote: >> 18.07.13 20:04, Terry Reedy ??(): >>> On 7/18/2013 3:29 AM, Aseem Bansal wrote: About reading comp.lang.python can you suggest how to read it and reply? >>> >>> To read this list as a newsgro

Re: What does it take to implement a chat system in Python (Not asking for code just advice before I start my little project)

2013-07-18 Thread Grant Edwards
On 2013-07-18, Serhiy Storchaka wrote: > 18.07.13 20:04, Terry Reedy ??(): >> On 7/18/2013 3:29 AM, Aseem Bansal wrote: >>> About reading comp.lang.python can you suggest how to read it and >>> reply? >> >> To read this list as a newsgroup use news.gmane.org. The difference >> betw

Re: What does it take to implement a chat system in Python (Not asking for code just advice before I start my little project)

2013-07-18 Thread Serhiy Storchaka
18.07.13 20:04, Terry Reedy написав(ла): On 7/18/2013 3:29 AM, Aseem Bansal wrote: About reading comp.lang.python can you suggest how to read it and reply? To read this list as a newsgroup use news.gmane.org. The difference between the mailing list interface and newsgroup interface is that the

Re: What does it take to implement a chat system in Python (Not asking for code just advice before I start my little project)

2013-07-18 Thread Terry Reedy
On 7/18/2013 3:29 AM, Aseem Bansal wrote: About reading comp.lang.python can you suggest how to read it and reply? To read this list as a newsgroup use news.gmane.org. The difference between the mailing list interface and newsgroup interface is that the latter automatically segregates messag

Re: What does it take to implement a chat system in Python (Not asking for code just advice before I start my little project)

2013-07-18 Thread Grant Edwards
On 2013-07-18, Chris Angelico wrote: > On Thu, Jul 18, 2013 at 4:11 PM, Aseem Bansal wrote: >> @vikash agrawal >> >> About GUI I discussed it at >> https://groups.google.com/forum/#!starred/comp.lang.python/M-Dy2pyWRfM and I >> am thinking about using PySide 1.2 for clients of chat system. I th

Re: What does it take to implement a chat system in Python (Not asking for code just advice before I start my little project)

2013-07-18 Thread aseem bansal
Ok I'll mail by e-mail now. Hope that it reaches the place correctly.-- http://mail.python.org/mailman/listinfo/python-list

Re: What does it take to implement a chat system in Python (Not asking for code just advice before I start my little project)

2013-07-18 Thread Chris Angelico
On Thu, Jul 18, 2013 at 6:10 PM, Aseem Bansal wrote: > I tried replying to your message by mail. I used the reply button and send it > to "python-list@python.org"? Or do I need to use "pytho...@python.org" as you > wrote in your post? You replied correctly. The ellipsis was presumably an anti-s

Re: What does it take to implement a chat system in Python (Not asking for code just advice before I start my little project)

2013-07-18 Thread Aseem Bansal
I tried replying to your message by mail. I used the reply button and send it to "python-list@python.org"? Or do I need to use "pytho...@python.org" as you wrote in your post? -- http://mail.python.org/mailman/listinfo/python-list

Re: What does it take to implement a chat system in Python (Not asking for code just advice before I start my little project)

2013-07-18 Thread Chris Angelico
On Thu, Jul 18, 2013 at 5:48 PM, Aseem Bansal wrote: > @ChrisA > > I subscribed to it. How do I reply to a message that has already been posted > before my subscription? Not easily, far as I know. But you now have this reply, and you can always just post something with the right subject line and

Re: What does it take to implement a chat system in Python (Not asking for code just advice before I start my little project)

2013-07-18 Thread Aseem Bansal
@ChrisA I subscribed to it. How do I reply to a message that has already been posted before my subscription? -- http://mail.python.org/mailman/listinfo/python-list

Re: What does it take to implement a chat system in Python (Not asking for code just advice before I start my little project)

2013-07-18 Thread Chris Angelico
On Thu, Jul 18, 2013 at 5:29 PM, Aseem Bansal wrote: > @ChrisA > > Thanks. That's great. That solved the whole thing easily. I'll install Python > 3 and start updating today. > > About reading comp.lang.python can you suggest how to read it and reply? I > have never read a newsgroup leave alone

Re: What does it take to implement a chat system in Python (Not asking for code just advice before I start my little project)

2013-07-18 Thread Aseem Bansal
@ChrisA Thanks. That's great. That solved the whole thing easily. I'll install Python 3 and start updating today. About reading comp.lang.python can you suggest how to read it and reply? I have never read a newsgroup leave alone participated in one. I am used to forums like stackoverflow. Any

Re: What does it take to implement a chat system in Python (Not asking for code just advice before I start my little project)

2013-07-18 Thread Chris Angelico
On Thu, Jul 18, 2013 at 5:05 PM, Aseem Bansal wrote: > @Andrew Berg > @Chris Angelico > > Is there a way to have both Python 2 and 3 installed on my computer till I > can update the little codebase that I have built? Can I make different > commands for invoking python 2 and Python 3? I am using

Re: What does it take to implement a chat system in Python (Not asking for code just advice before I start my little project)

2013-07-18 Thread Aseem Bansal
@Andrew Berg @Chris Angelico Is there a way to have both Python 2 and 3 installed on my computer till I can update the little codebase that I have built? Can I make different commands for invoking python 2 and Python 3? I am using Windows 7 and use Windows Powershell as an alternative to the li

Re: What does it take to implement a chat system in Python (Not asking for code just advice before I start my little project)

2013-07-17 Thread Chris Angelico
On Thu, Jul 18, 2013 at 4:36 PM, Aseem Bansal wrote: > @Chris Angelico > > Thanks. That cleared many doubts and your suggestions would definitely be > useful. > > I am asking the next paragraph because you said about Python 3 helping with > things. I am not looking for a de

Re: What does it take to implement a chat system in Python (Not asking for code just advice before I start my little project)

2013-07-17 Thread Andrew Berg
On 2013.07.18 01:36, Aseem Bansal wrote: > I learnt Python myself and everyone told me that Python 2 is status quo so I > learned Python 2 and have been working with it. I am just 1.5 months in > Python programming so should I consider switching to Python 3 if it helps > with new things or shoul

Re: What does it take to implement a chat system in Python (Not asking for code just advice before I start my little project)

2013-07-17 Thread Aseem Bansal
@Chris Angelico Thanks. That cleared many doubts and your suggestions would definitely be useful. I am asking the next paragraph because you said about Python 3 helping with things. I am not looking for a debate or anything just a opinion. I learnt Python myself and everyone told me that

Re: What does it take to implement a chat system in Python (Not asking for code just advice before I start my little project)

2013-07-17 Thread Chris Angelico
On Thu, Jul 18, 2013 at 4:11 PM, Aseem Bansal wrote: > @vikash agrawal > > About GUI I discussed it at > https://groups.google.com/forum/#!starred/comp.lang.python/M-Dy2pyWRfM and I > am thinking about using PySide 1.2 for clients of chat system. I think I'll > need downloadable clients if I wa

Re: What does it take to implement a chat system in Python (Not asking for code just advice before I start my little project)

2013-07-17 Thread Aseem Bansal
@vikash agrawal About GUI I discussed it at https://groups.google.com/forum/#!starred/comp.lang.python/M-Dy2pyWRfM and I am thinking about using PySide 1.2 for clients of chat system. I think I'll need downloadable clients if I want to make something like google talk. Then I'll need to impleme

Re: What does it take to implement a chat system in Python (Not asking for code just advice before I start my little project)

2013-07-17 Thread Chris Angelico
On Thu, Jul 18, 2013 at 2:36 PM, Aseem Bansal wrote: > I wanted to do a little project for learning Python. I thought a chat system > will be good as it isn't something that I have ever done. A good thing to start with. Yes, it's been done before, many times... but if you think about it, it's th

Re: What does it take to implement a chat system in Python (Not asking for code just advice before I start my little project)

2013-07-17 Thread Aseem Bansal
@Eric S. Johansson I am a novice who hasn't done any big project in programming. I haven't done anything I can even call a moderate project. I haven't touched web frameworks ever. I have little or no knowledge of network/socket programming. I have never used databases before. I understand that

Re: What does it take to implement a chat system in Python (Not asking for code just advice before I start my little project)

2013-07-17 Thread Eric S. Johansson
On Thu, 18 Jul 2013 00:36:17 -0400, Aseem Bansal wrote: I wanted to do a little project for learning Python. I thought a chat system will be good as it isn't something that I have ever done. I wanted to know what will I need? I think that would require me these 1 learn network/socket progr

Re: What does it take to implement a chat system in Python (Not asking for code just advice before I start my little project)

2013-07-17 Thread vikash agrawal
Hi Aseem, First of all great thought and all the best for the learning! On Thu, Jul 18, 2013 at 10:06 AM, Aseem Bansal wrote: > I wanted to do a little project for learning Python. I thought a chat > system will be good as it isn't something that I have ever done. > > I wanted to know what wil

What does it take to implement a chat system in Python (Not asking for code just advice before I start my little project)

2013-07-17 Thread Aseem Bansal
I wanted to do a little project for learning Python. I thought a chat system will be good as it isn't something that I have ever done. I wanted to know what will I need? I think that would require me these 1 learn network/socket programming 2 find a free server to host my chat server 3 GUI devel

Re: asking

2012-08-22 Thread Steven D'Aprano
On Wed, 22 Aug 2012 02:42:16 -0700, alex23 wrote: > On 08/22/2012 03:17 AM, mingqiang hu wrote: >> I mean any of "a","b","c" in string "adfbdfc"  makes the statement >> true,can I not use a function? > > any(map(string.__contains__, substrings)) Nice. However, be aware that in Python 2, map() i

Re: asking

2012-08-22 Thread Tim Chase
On 08/22/12 04:42, alex23 wrote: > On 08/22/2012 03:17 AM, mingqiang hu wrote: >> I mean any of "a","b","c" in string "adfbdfc" makes the statement true,can >> I not use a function? > > any(map(string.__contains__, substrings)) As map()/reduce() vs. list-comprehension discussions are going on in

Re: asking

2012-08-22 Thread alex23
On 08/22/2012 03:17 AM, mingqiang hu wrote: > I mean any of "a","b","c" in string "adfbdfc"  makes the statement true,can > I not use a function? any(map(string.__contains__, substrings)) -- http://mail.python.org/mailman/listinfo/python-list

Re: asking

2012-08-22 Thread Dave Angel
uot; ...,not wrap them as a tuple or a list , just make the > statement as simple as possible to check if any of the value is the > substring of S="fasfasdfgbefve". > You top-posted. And you're not bothering to really read the responses you're getting. Your problem stateme

Re: asking

2012-08-22 Thread mingqiang hu
I mean any of "a","b","c" in string "adfbdfc" makes the statement true,can I not use a function? suppose I got lots of substring let's say s1="a",s2="b",s3="c" ...,not wrap them as a tuple or a list , just make the statement as simple as possible to check if any of the value is the substring of S

Re: asking

2012-08-21 Thread alex23
On 22/08/12 03:57, mingqiang hu wrote: > can I use just one statement to figure out if substring “a” ,"b" "c" > are in string "adfbdfc" ? not use the statement like > ("a" in "adfbdfc") or ( "b" in "adfbdfc") or ("c" in "adfbdfc" ) > ,because if I have lots of substring, this could sucks subs = ['

Re: asking

2012-08-21 Thread Terry Reedy
On 8/21/2012 10:57 PM, mingqiang hu wrote: can I use just one statement to figure out if substring “a” ,"b" "c" are in string "adfbdfc" ? not use the statement like ("a" in "adfbdfc") or ( "b" in "adfbdfc") or ("c" in "adfbdfc" ) ,because if I have lots of substring, this could sucks >>>

Re: asking

2012-08-21 Thread Dave Angel
On 08/22/2012 12:17 AM, Ian Foote wrote: > Oops, hopefully this with indent correctly: > > def all_in(string, substrings): > for substring in substrings: > if substring not in string: > return False > return True The POP's question was ambiguous (did he want to match an

Re: asking

2012-08-21 Thread Ian Foote
Oops, hopefully this with indent correctly: def all_in(string, substrings): for substring in substrings: if substring not in string: return False return True -- http://mail.python.org/mailman/listinfo/python-list

Re: asking

2012-08-21 Thread Ian Foote
On 22/08/12 03:57, mingqiang hu wrote: can I use just one statement to figure out if substring “a” ,"b" "c" are in string "adfbdfc" ? not use the statement like ("a" in "adfbdfc") or ( "b" in "adfbdfc") or ("c" in "adfbdfc" ) ,because if I have lots of substring, this could sucks This might

Re: cmd.Cmd asking questions?

2011-11-30 Thread Robert Kern
On 11/30/11 3:30 AM, Cameron Simpson wrote: On 29Nov2011 13:37, Tim Chase wrote: | On 11/28/11 06:27, Robert Kern wrote: [...] |>I actually have a preference for needing to press enter for |>Y/N answers, too. It's distinctly *less* uniform to have some |>questions requiring an enter and some not

Re: cmd.Cmd asking questions?

2011-11-29 Thread Cameron Simpson
On 29Nov2011 13:37, Tim Chase wrote: | On 11/28/11 06:27, Robert Kern wrote: [...] | >I actually have a preference for needing to press enter for | >Y/N answers, too. It's distinctly *less* uniform to have some | >questions requiring an enter and some not. It can be | >unpleasantly surprising to t

Re: cmd.Cmd asking questions?

2011-11-29 Thread Tim Chase
On 11/28/11 06:27, Robert Kern wrote: On 11/28/11 12:12 PM, Tim Chase wrote: I can monkey with printing messages and using raw_input(), but I'd like to know if there's a better way (such as something interacting with readline for text-entry-with-history-and-completion, If you import readline,

Re: cmd.Cmd asking questions?

2011-11-28 Thread Robert Kern
On 11/28/11 12:12 PM, Tim Chase wrote: Are there best-practices for creating wizards or asking various questions (whether yes/no or text/numeric entry) in a cmd.Cmd class? Something like the imaginary confirm() and get_string() methods here: class MyCmd(cmd.Cmd): def do_name(self,line): s

cmd.Cmd asking questions?

2011-11-28 Thread Tim Chase
Are there best-practices for creating wizards or asking various questions (whether yes/no or text/numeric entry) in a cmd.Cmd class? Something like the imaginary confirm() and get_string() methods here: class MyCmd(cmd.Cmd): def do_name(self,line): s = get_string(prompt=line

Re: Algorithms Library - Asking for Pointers

2011-09-03 Thread Travis Parks
On Sep 3, 12:35 am, Chris Torek wrote: > In article <18fe4afd-569b-4580-a629-50f6c7482...@c29g2000yqd.googlegroups.com> > Travis Parks   wrote: > > >[Someone] commented that the itertools algorithms will perform > >faster than the hand-written ones. Are these algorithms optimized > >internally? >

Re: Algorithms Library - Asking for Pointers

2011-09-02 Thread Chris Torek
In article <18fe4afd-569b-4580-a629-50f6c7482...@c29g2000yqd.googlegroups.com> Travis Parks wrote: >[Someone] commented that the itertools algorithms will perform >faster than the hand-written ones. Are these algorithms optimized >internally? They are written in C, so avoid a lot of CPython inte

Re: Algorithms Library - Asking for Pointers

2011-09-02 Thread Chris Rebert
On Fri, Sep 2, 2011 at 6:39 PM, Travis Parks wrote: > You commented that the itertools algorithms will perform faster than > the hand-written ones. Are these algorithms optimized internally? For one thing, they are written in C. Cheers, Chris -- http://mail.python.org/mailman/listinfo/python-l

Re: Algorithms Library - Asking for Pointers

2011-09-02 Thread Travis Parks
On Sep 2, 6:49 pm, Travis Parks wrote: > On Sep 2, 4:09 pm, Ian Kelly wrote: > > > > > > > On Fri, Sep 2, 2011 at 10:59 AM, Travis Parks > > wrote: > > > Hello: > > > > I am working on an algorithms library. It provides LINQ like > > > functionality to Python iterators. Eventually, I plan on ha

Re: Algorithms Library - Asking for Pointers

2011-09-02 Thread Travis Parks
On Sep 2, 4:09 pm, Ian Kelly wrote: > On Fri, Sep 2, 2011 at 10:59 AM, Travis Parks wrote: > > Hello: > > > I am working on an algorithms library. It provides LINQ like > > functionality to Python iterators. Eventually, I plan on having > > feaures that work against sequences and mappings. > > >

Re: Algorithms Library - Asking for Pointers

2011-09-02 Thread Ian Kelly
On Fri, Sep 2, 2011 at 10:59 AM, Travis Parks wrote: > Hello: > > I am working on an algorithms library. It provides LINQ like > functionality to Python iterators. Eventually, I plan on having > feaures that work against sequences and mappings. > > I have the code up at http://code.google.com/p/py

Algorithms Library - Asking for Pointers

2011-09-02 Thread Travis Parks
Hello: I am working on an algorithms library. It provides LINQ like functionality to Python iterators. Eventually, I plan on having feaures that work against sequences and mappings. I have the code up at http://code.google.com/p/py-compass. This is my first project in Python, so I'd like some fe

Asking for help with code? Post a minimal working example. (was: importing modules dynamicly)

2011-01-11 Thread Ben Finney
h makes it impossible de debug. To the OP: It is often a good idea to simplify one's code when asking for help. That will make it easier to understand. But don't simplify to the point where the code doesn't actually run, or doesn't demonstrate the behaviour you're reporti

Re: Asking for prophecy

2009-03-06 Thread Terry Reedy
2.5. Why the vangard of the community don’t like to use at least 2.6 for bridging to the future Python? Is this the mutiny against the empery of the BDFL or is the vangard just asking for some more time? If I want to attest my personal attachment to the king by using 3.0, what will happen?

Re: Asking for prophecy

2009-03-06 Thread Mensanator
; > for my next development. The Unix-like systems as much as the major part > > of well maintained third party libraries are remaining "penetrantly" on > > 2.5. Why the vangard of the community don't like to use at least 2.6 for > > bridging to the future Python? I

Re: Asking for prophecy

2009-03-06 Thread andrew cooke
to the future Python? Is this the mutiny against the empery of > the BDFL or is the vangard just asking for some more time? If I want to > attest my personal attachment to the king by using 3.0, what will happen? > Will I be deserted someday? > > Stefan-- > http://mail.python.org/mailman/listinfo/python-list > -- http://mail.python.org/mailman/listinfo/python-list

Asking for prophecy

2009-03-06 Thread Stefan Spoettl
vangard of the community don't like to use at least 2.6 for bridging to the future Python? Is this the mutiny against the empery of the BDFL or is the vangard just asking for some more time? If I want to attest my personal attachment to the king by using 3.0, what will happen? Will I be deser

Re: Asking all python programmers.

2007-08-30 Thread Hyuga
On Aug 29, 11:09 am, "sjpiii" <[EMAIL PROTECTED]> wrote: > You mean use correct spelling and grammar? But what about all the time > we've spent creating cutesy little non-words like "l8er?" > > Actually, I'm less tolerant of those than of normal spelling and grammar > errors because of the number

Re: Asking all python programmers.

2007-08-28 Thread J Sisson
On 8/28/07, Lamonte Harris <[EMAIL PROTECTED]> wrote: > > From a python starter, I don't like the word noob because it sounds very > unprofessional. > Touche`...haha I second the motion for "Dive Into Python." It's an excellent book, and you really can't beat the price (free online as Shawn has

Re: Asking all python programmers.

2007-08-28 Thread Lamonte Harris
I completely understand, I've sent this email when I was tired sorry for the misunderstanding, yes I completely understand what you mean how professionals won't take me serious in situations like this. How about I readdress my question for you? Hello everyone on python mailing list. I would like

Re: Asking all python programmers.

2007-08-28 Thread Shawn Milochik
On 8/27/07, Lamonte Harris <[EMAIL PROTECTED]> wrote: > Okay, I know you've guys told me millions of times to read the manual I've > read a lot of it. What do you recommend studying the most? Python is my > goal for the next year in the half. :) > > -- > http://mail.python.org/mailman/listinfo/py

Asking all python programmers.

2007-08-27 Thread Lamonte Harris
Okay, I know you've guys told me millions of times to read the manual I've read a lot of it. What do you recommend studying the most? Python is my goal for the next year in the half. :) -- http://mail.python.org/mailman/listinfo/python-list

Re: After the Deletion of Google Answers, . U Got Questions Fills the Gap Answering and Asking the Tough Questions

2007-05-08 Thread MMM
On 7 May 2007 10:45:51 -0700, [EMAIL PROTECTED] wrote: >My friend asked some tough questions >http://ugotquestions.blogspot.com/2007_05_01_archive.html >unlike yahoo answers ( Which Generates Content with Answers ) U got >questions picks only the best, Real Person Questions.,yeah so there is >thi

After the Deletion of Google Answers, . U Got Questions Fills the Gap Answering and Asking the Tough Questions

2007-05-07 Thread Leisure . 208
My friend asked some tough questions http://ugotquestions.blogspot.com/2007_05_01_archive.html unlike yahoo answers ( Which Generates Content with Answers ) U got questions picks only the best, Real Person Questions.,yeah so there is this second book called E.T. and the BOOK OF THE GREEN PLANET...

Re: Threads modify "global" variable -- asking for trouble?

2006-03-18 Thread J Rice
Thank you. Implementing a results queue was much simpler than I expected, and I think as I add this into the rest of the program it will avoid a lot of potential problems later too. -- http://mail.python.org/mailman/listinfo/python-list

Re: Threads modify "global" variable -- asking for trouble?

2006-03-16 Thread Terry Reedy
"J Rice" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > My apologizes, I missed the newish FAQ entry on this. The addrbl() > method looks like this: > > def addRBL(self, testname, result, info=""): >self.testresultsRBL[testname] = result, info > > So according to the FAQ

Re: Threads modify "global" variable -- asking for trouble?

2006-03-16 Thread Alex Martelli
J Rice <[EMAIL PROTECTED]> wrote: > My apologizes, I missed the newish FAQ entry on this. The addrbl() > method looks like this: > > def addRBL(self, testname, result, info=""): > self.testresultsRBL[testname] = result, info > > So according to the FAQ, D[x] = y, where D is a dictionar

Re: Threads modify "global" variable -- asking for trouble?

2006-03-16 Thread J Rice
My apologizes, I missed the newish FAQ entry on this. The addrbl() method looks like this: def addRBL(self, testname, result, info=""): self.testresultsRBL[testname] = result, info So according to the FAQ, D[x] = y, where D is a dictionary, is atomic and therefore thread-safe. Right?

Threads modify "global" variable -- asking for trouble?

2006-03-16 Thread J Rice
I have been experimenting with some thread programming, but as I'm doing this on my own I am worried I might be making a major mistake. Here's a brief rundown of what I am working on. Multiple threads, via Queue, are used to perform RBL checks on an IP. The threads are passed a defined class (Co

Asking for help effectively

2006-01-12 Thread skip
Manish> It does not work. I had already tried this earlier. Manish> Please suggest some other solutions. Manish> Also, I would like to see the stack from where the exception Manish> started. Manish, You made it extremely difficult for anyone to respond intelligently to your messa

Re: Asking the user a question and giving him a default answer he can edit

2005-07-31 Thread Michael Hudson
"levander" <[EMAIL PROTECTED]> writes: > Basically, I've got a bunch of questions to ask a user, the vast > majority of which, the answer will only vary by the last few > characters. What I'd like to do is every time the user is asked a > question, give him the default answer as just whatever he a

Asking the user a question and giving him a default answer he can edit

2005-07-30 Thread levander
I'm trying to figure out the python readline module to see if it will do this. Basically, I've got a bunch of questions to ask a user, the vast majority of which, the answer will only vary by the last few characters. What I'd like to do is every time the user is asked a question, give him the defa