Re: I need an idea for practise!

2014-07-18 Thread AudreyJean
On 07/17/2014 11:05 AM, Orochi wrote: and there are many more you can go for "learnstreet.com" FYI: Learnstreet sent out an email a few weeks ago saying that they are shutting down. Here is a link I found about it. https://news.ycombinator.com/item?id=7986979 -- Deb in WA, USA -- https://

Re: I need an idea for practise!

2014-07-17 Thread Chris Angelico
On Fri, Jul 18, 2014 at 2:06 PM, Rick Johnson wrote: > On Thursday, July 17, 2014 10:23:50 PM UTC-5, Chris Angelico wrote: >> And be sure *not* to colorize built-ins (but *do* colorize >> keywords) in contexts where the tokens are actually >> identifiers, like "x.open = 1". > > Just check for word

Re: I need an idea for practise!

2014-07-17 Thread Rick Johnson
On Thursday, July 17, 2014 10:23:50 PM UTC-5, Chris Angelico wrote: > And be sure *not* to colorize built-ins (but *do* colorize > keywords) in contexts where the tokens are actually > identifiers, like "x.open = 1". Just check for word boundaries on all your keywords and built-ins and you're *DO

Re: I need an idea for practise!

2014-07-17 Thread Chris Angelico
On Fri, Jul 18, 2014 at 1:07 PM, Rick Johnson wrote: > For me, only the following targets need colorizing: > > Keywords > Built-ins And be sure *not* to colorize built-ins (but *do* colorize keywords) in contexts where the tokens are actually identifiers, like "x.open = 1". Plus, if y

Re: I need an idea for practise!

2014-07-17 Thread Rick Johnson
On Thursday, July 17, 2014 9:03:40 PM UTC-5, Chris Angelico wrote: > [colorizers] might well be able to *utilize* regexps [...] > but very few modern programming languages can be fully and > correctly defined within the limits of regexp syntax. We're not talking about "defining" or "interpreting"

Re: I need an idea for practise!

2014-07-17 Thread Nicholas Cannon
When I say i suck at finding good creative ideas I dont mean like I can think of anything its more like i cant think of anything that is within my scope of skill. These ideas are great guys thanks. Also the gui tool kit i used for the apps is tkinter because i am reading a book about python and

Re: I need an idea for practise!

2014-07-17 Thread Chris Angelico
On Fri, Jul 18, 2014 at 7:46 AM, Terry Reedy wrote: > # self.file = open("file") : > # 1st 'file' colorized normal, 2nd as builtin, 3rd as string Is this pair of comments a hold-over from when it was common to use the file() constructor? Looks like it got searched-and-replaced. ChrisA --

Re: I need an idea for practise!

2014-07-17 Thread Chris Angelico
On Fri, Jul 18, 2014 at 5:30 AM, Rick Johnson wrote: > But don't tell me for a *SECOND* that a colorizer, and a > damn good one, can not be written utilizing regexps, because > you're either wrong, or you're scared, or you're ignorant, > or you're all of the above! It might well be able to *utili

Re: I need an idea for practise!

2014-07-17 Thread Paul McNett
On 7/17/14, 12:30 PM, Rick Johnson wrote: You know, you would fit in nicely in the American public school system, since American teachers are not only free of the requirement of "teaching", they are actually*COMPELLED* not to do so by the greedy unions. Hi Rick, I know a lot of American public

Re: I need an idea for practise!

2014-07-17 Thread Terry Reedy
On 7/17/2014 1:20 PM, Chris Angelico wrote: By the way, one specific point about RR's advice: A colorizer should *not* be written using regexps. It'd make for an absolute nightmare of impossible-to-debug regexp strings, plus there are fundamental limitations on what you can accomplish with them.

Re: I need an idea for practise!

2014-07-17 Thread Rick Johnson
On Thursday, July 17, 2014 12:20:13 PM UTC-5, Chris Angelico wrote: > By the way, one specific point about RR's advice: A > colorizer should *not* be written using regexps. It'd make > for an absolute nightmare of impossible-to-debug regexp > strings Just because *YOU* harbor irrational fears of r

Re: I need an idea for practise!

2014-07-17 Thread Orochi
Brother,I had same views and after creating some small projects I directly tried to jump over large projects (went for data mining using neural network) and FAILED. I realized small things really matter. So I suggest just couple of GUI projects are not enough go for more. start with anything. he

Re: I need an idea for practise!

2014-07-17 Thread Chris Angelico
On Fri, Jul 18, 2014 at 2:34 AM, Rick Johnson wrote: > If the text editor is simply an app that allows: opening raw > text files, editing them, and then saving the changes, you > have a *whole* universe of functionality you could add to > that. > > How about writing a colorizer for source code,

Re: I need an idea for practise!

2014-07-17 Thread Rick Johnson
On Thursday, July 17, 2014 4:59:11 AM UTC-5, Nicholas Cannon wrote: > Ok I would say I am almost a intermediate python > programer. I have made 2 programs(with GUI). And basically > they are quite boring(a text editor and calculator). I > love programming but i am lost of ideas i actually suck at >

Re: I need an idea for practise!

2014-07-17 Thread Chris Angelico
On Thu, Jul 17, 2014 at 7:59 PM, Nicholas Cannon wrote: > I have made 2 programs(with GUI). And basically they are quite boring(a text > editor and calculator). Just for reference, those may be simple concepts, but they're anything but boring. Most of us use text editors all the time, and I have

Re: I need an idea for practise!

2014-07-17 Thread Abhiram R
On Thu, Jul 17, 2014 at 3:29 PM, Nicholas Cannon wrote: I have made 2 programs(with GUI). And basically they are quite boring(a > text editor and calculator). > -- > https://mail.python.org/mailman/listinfo/python-list > ​What library did you use for the GUI?​ -- Abhiram.R -- https://mail.p

Re: I need an idea for practise!

2014-07-17 Thread alister
On Thu, 17 Jul 2014 02:59:11 -0700, Nicholas Cannon wrote: > Ok I would say I am almost a intermediate python programer. I have made > 2 programs(with GUI). And basically they are quite boring(a text editor > and calculator). I love programming but i am lost of ideas i actually > suck at finding g

I need an idea for practise!

2014-07-17 Thread Nicholas Cannon
Ok I would say I am almost a intermediate python programer. I have made 2 programs(with GUI). And basically they are quite boring(a text editor and calculator). I love programming but i am lost of ideas i actually suck at finding good creative ideas. Now i am not looking to use these ideas make