Re: [Tutor] Sleep

2009-10-07 Thread Marc Tompkins
On Wed, Oct 7, 2009 at 4:01 PM, Hristos Giannopoulos wrote: > Is it possible for a python script to make a windows computer sleep or wake > from sleep? Preferably in windows? > I think your best bet for controlling Windows power management with Python will be the pywin32 module, at http://sourcef

[Tutor] Sleep

2009-10-07 Thread Hristos Giannopoulos
Is it possible for a python script to make a windows computer sleep or wake from sleep? Preferably in windows? ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] What language should I learn after Python?

2009-10-07 Thread Mark Young
2009/10/7 Serdar Tumgoren > And in case you hadn't heard enough suggestions yet, here's something > I just stumbled into this morning: > > Programming Paradigms for Dummies, by Peter Norvig > http://lambda-the-ultimate.org/node/3465 > > Here's a portion of the soundbite from the website (where yo

Re: [Tutor] What language should I learn after Python?

2009-10-07 Thread Jeff Johnson
Marc Tompkins wrote: On Tue, Oct 6, 2009 at 12:39 PM, Mark Young > wrote: I'm now fairly familiar with Python, so I'm thinking about starting to learn a second programming language. The problem is, I don't know which to learn. I want a language that will b

Re: [Tutor] Memory usage

2009-10-07 Thread Stefan Behnel
Lizhi Yang wrote: > Confused. If I create some functions using C++ to load the data into > memory and use python to call those functions, what is the memory > usage then? First (obvious) question: how do you call those functions? Do you use ctypes? Cython? Some other way? Providing a short code s

[Tutor] Memory usage

2009-10-07 Thread Lizhi Yang
Hi, Confused. If I create some functions using C++ to load the data into memory and use python to call those functions, what is the memory usage then? ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.pytho

Re: [Tutor] What language should I learn after Python?

2009-10-07 Thread OkaMthembo
Hi everyone, I've watched this discussion grow with great interest, as not too long ago i was asking myself the OP's question. I started with C#.NET when i got into programming, then moved to Java. This is all at work. I taught myself Python, and will soon be tackling C as well as i can use that t

Re: [Tutor] What language should I learn after Python?

2009-10-07 Thread Alan Gauld
"Serdar Tumgoren" wrote Programming Paradigms for Dummies, by Peter Norvig http://lambda-the-ultimate.org/node/3465 Thanks for posting the link. I hadn't seen it before but it made interesting reading. Although maybe digging a tad deeper than the OP had in mind! -- Alan Gauld Author of th

Re: [Tutor] What language should I learn after Python?

2009-10-07 Thread Serdar Tumgoren
> http://lambda-the-ultimate.org/node/3465 > Sorry - another brain lapse on my part: the correct author is Peter Van Roy ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] What language should I learn after Python?

2009-10-07 Thread Serdar Tumgoren
And in case you hadn't heard enough suggestions yet, here's something I just stumbled into this morning: Programming Paradigms for Dummies, by Peter Norvig http://lambda-the-ultimate.org/node/3465 Here's a portion of the soundbite from the website (where you can download the PDF): "This chapter

Re: [Tutor] What language should I learn after Python?

2009-10-07 Thread Patrick
I am not sure if I can add to the excellent advice you have received here but I would like to add my 2 cents. I have learned a few languages over the past couple of years but I still don't think I am a very good programmer. Please don't fall into the trap I am in. I am now trying to learn more abo

Re: [Tutor] What language should I learn after Python?

2009-10-07 Thread Alan Gauld
"Dave Angel" wrote practically nothing in common with Python. Forth is at a different extreme. The entire interpreter/compiler can be defined in maybe 50 lines of (Forth) code. It essentially has no syntax, and the programmer is free to add things that in other languages would be considere

Re: [Tutor] What language should I learn after Python?

2009-10-07 Thread Ken Oliver
-Original Message- >From: Dave Angel >Sent: Oct 7, 2009 12:47 AM >To: Mark Young >Cc: tutor@python.org >Subject: Re: [Tutor] What language should I learn after Python? > >> maybe I should try again, or maybe I'll try C. > >On the other hand, perhaps you should learn something that has

Re: [Tutor] Checking for Python version

2009-10-07 Thread Didar Hossain
I like Kent's "try" method to explicitly look for the "staticmethod" call - it is Pythony :-) Todd's graceful handling idea is a good one - will keep that for future use. Christian's input about my kludge failing with the 3.x series is a good catch, I didn't think about that. Thanks to all of yo