Have a nice day.

2011-04-16 Thread Ashraf Ali
Just visit and know the basic information about Bollywood actresses. You can here Biographies of all bollywood Actresses. www.bollystarsbiographies.blogspot.com -- http://mail.python.org/mailman/listinfo/python-list

Re: PYTHONPATH

2011-04-16 Thread harrismh777
jmfauth wrote: I belong to those who are very happy with the Python installations on Windows platform . . . I do not see any mess here. Sorry, I was speaking of a technical mess, not a user's mess. What I was alluding to specifically is explained very well in PEP 394. The technical reasoning

Re: Can you advice a Python library to query a lan subnet with SNMP and collect MAC addresses of nodes?

2011-04-16 Thread rusi
On Apr 15, 3:22 pm, Aldo Ceccarelli wrote: > On 15 Apr, 11:54, frankcui wrote: > > > > > On 04/15/2011 05:00 PM, Aldo Ceccarelli wrote:> Hello All, > > > in my specific problem I will be happy of a response where possible > > > to: > > > > 1. distinguish different operating systems of answering n

Re: Feature suggestion -- return if true

2011-04-16 Thread Chris Angelico
On Sun, Apr 17, 2011 at 2:21 PM, Gregory Ewing wrote: > My idiom for fetching from a cache looks like this: > >  def get_from_cache(x): >    y = cache.get(x) >    if not y: >      y = compute_from(x) >      cache[x] = y >    return y > > which doesn't require any conditional returns. There's not

Re: Python IDE/text-editor

2011-04-16 Thread rusi
On Apr 17, 8:22 am, John Bokma wrote: > rusi writes: > > On Apr 17, 3:19 am, John Bokma wrote: > >> rusi writes: > >> > On Apr 16, 9:13 pm, Chris Angelico wrote: > >> >> Based on the comments here, it seems that emacs would have to be the > >> >> editor-in-chief for programmers. I currently us

Re: [Q] ipython: Multiple commands on the same line and newlines

2011-04-16 Thread OKB (not okblacke)
Phil Winder wrote: > Hi, > I'm having a go at using ipython as a command prompt for data > analysis. Coming from Matlab, I'm used to typing multiple commands on > the same line then using the up arrow to go through my history. > How can I write multiple python commands on the same line? > E.g. "x

Re: Feature suggestion -- return if true

2011-04-16 Thread Gregory Ewing
Chris Angelico wrote: def fac(n): # attempt to get from a cache return? cache[n] # not in cache, calculate the value ret=1 if n<=1 else fac(n-1)*n # and cache and return it cache[n]=ret; return ret My idiom for fetching from a cache looks like this: def get_from_cach

Re: Python IDE/text-editor

2011-04-16 Thread John Bokma
rusi writes: > On Apr 17, 3:19 am, John Bokma wrote: >> rusi writes: >> > On Apr 16, 9:13 pm, Chris Angelico wrote: >> >> Based on the comments here, it seems that emacs would have to be the >> >> editor-in-chief for programmers. I currently use SciTE at work; is it >> >> reasonable to, effect

Re: Equivalent code to the bool() built-in function

2011-04-16 Thread Ben Finney
candide writes: > Le 16/04/2011 23:13, Ben Finney a écrit : > > > The ‘bool’ built-in is not a function. > > Oops, unfortunate confusion!! but built-in types and built-in > functions are sometimes so similar from the user's point of view ;) Yes, intentionally so, because: > All the same, you ca

Re: Python IDE/text-editor

2011-04-16 Thread rusi
On Apr 17, 4:12 am, Krzysztof Bieniasz wrote: > > It takes a day or two to learn emacs. > > > It takes forever to set it up. > > Remember, Emacs is THE way. It's the light in the darkness, it'll save > your soul and bring you happiness. Isn't it worth the trouble? :) > > Seriously though, when I w

Re: Python IDE/text-editor

2011-04-16 Thread rusi
On Apr 17, 3:19 am, John Bokma wrote: > rusi writes: > > On Apr 16, 9:13 pm, Chris Angelico wrote: > >> Based on the comments here, it seems that emacs would have to be the > >> editor-in-chief for programmers. I currently use SciTE at work; is it > >> reasonable to, effectively, bill my employe

Re: [OT] Free software versus software idea patents

2011-04-16 Thread geremy condra
On Sat, Apr 16, 2011 at 5:31 PM, Chris Angelico wrote: > On Sun, Apr 17, 2011 at 9:36 AM, Steven D'Aprano > wrote: >> (If the machine is particularly >> simple -- you might be able to exactly simulate a lever in pure >> mathematics, but simulating, say, a nuclear bomb or a dialysis machine in >>

Re: [OT] Free software versus software idea patents

2011-04-16 Thread Chris Angelico
On Sun, Apr 17, 2011 at 9:36 AM, Steven D'Aprano wrote: > (If the machine is particularly > simple -- you might be able to exactly simulate a lever in pure > mathematics, but simulating, say, a nuclear bomb or a dialysis machine in > mathematics is more of a challenge...) I can easily model a mas

Re: Equivalent code to the bool() built-in function

2011-04-16 Thread Chris Rebert
On Sat, Apr 16, 2011 at 4:51 PM, candide wrote: > Le 16/04/2011 23:38, Ben Finney a écrit : > >> So the answer to the OP's question is no: the function isn't equivalent >> to the type, > > Can bool() type and bool_equivalent() function return different values ? No. The distinction being drawn is

Python IDE/text-editor

2011-04-16 Thread Colin J. Williams
On 15-Apr-11 23:20 PM, Alec Taylor wrote: > Good Afternoon, > > I'm looking for an IDE which offers syntax-highlighting, > code-completion, tabs, an embedded interpreter and which is portable > (for running from USB on Windows). > > Here's a mockup of the app I'm looking for: http://i52.tinypic.co

Re: Equivalent code to the bool() built-in function

2011-04-16 Thread candide
Le 16/04/2011 23:13, Ben Finney a écrit : The ‘bool’ built-in is not a function. >>> type(bool) Oops, unfortunate confusion!! but built-in types and built-in functions are sometimes so similar from the user's point of view ;) All the same, you can notice that the official doc

Re: Equivalent code to the bool() built-in function

2011-04-16 Thread candide
Le 16/04/2011 23:38, Ben Finney a écrit : So the answer to the OP's question is no: the function isn't equivalent to the type, Can bool() type and bool_equivalent() function return different values ? because the OP's ‘bool_equivalent’ function necessarily uses the built-in ‘bool’ type, whi

Re: [OT] Free software versus software idea patents

2011-04-16 Thread Steven D'Aprano
On Sat, 16 Apr 2011 00:21:55 -0500, harrismh777 wrote: > software *is* mathematics No it isn't. I might accept an argument that *algorithms* are mathematics, but software is not algorithms. Consider the difference between the mathematical concept of leverage and an actual physical lever. We w

Re: Python IDE/text-editor

2011-04-16 Thread Krzysztof Bieniasz
> It takes a day or two to learn emacs. > > It takes forever to set it up. Remember, Emacs is THE way. It's the light in the darkness, it'll save your soul and bring you happiness. Isn't it worth the trouble? :) Seriously though, when I was setting my Emacs to work with Python I stumbled upon

Re: Python IDE/text-editor

2011-04-16 Thread Chris Angelico
On Sun, Apr 17, 2011 at 8:31 AM, Westley Martínez wrote: > > Either way doesn't it require python be installed on the system? Most Python development is going to require that... I'm rather puzzled by this question; I think I've misunderstood it. You can't run Python programs without a Python int

Re: Questions about GIL and web services from a n00b

2011-04-16 Thread Michael Torrie
On 04/16/2011 02:53 PM, Jean-Paul Calderone wrote: > On Apr 16, 10:44 am, a...@pythoncraft.com (Aahz) wrote: >> In article >> , >> Raymond Hettinger wrote: >> >> >> >>> Threading is really only an answer if you need to share data between >>> threads, if you only have limited scaling needs, and a

Re: Python IDE/text-editor

2011-04-16 Thread Westley Martínez
On Sat, 2011-04-16 at 17:14 -0500, John Bokma wrote: > candide writes: > > > Le 16/04/2011 15:50, Adam Tauno Williams a écrit : > > > >> gedit provides a Python interpreter/console 'embedded' in the GUI > >> (provided the plugin is enabled). > >> > > > > > > I agree, cf. this screenshot : > > >

Re: Python IDE/text-editor

2011-04-16 Thread John Bokma
Chris Angelico writes: > On Sun, Apr 17, 2011 at 2:32 AM, Andrea Crotti > wrote: >> That of course is an issue, but since you code in many languages I think >> is really a pretty good investment for your future. >> >> And I don't think that you would be unproductive the first weeks with >> emacs

Re: Python IDE/text-editor

2011-04-16 Thread John Bokma
rusi writes: > On Apr 16, 9:13 pm, Chris Angelico wrote: >> Based on the comments here, it seems that emacs would have to be the >> editor-in-chief for programmers. I currently use SciTE at work; is it >> reasonable to, effectively, bill my employer for the time it'll take >> me to learn emacs?

Re: Python IDE/text-editor

2011-04-16 Thread John Bokma
candide writes: > Le 16/04/2011 15:50, Adam Tauno Williams a écrit : > >> gedit provides a Python interpreter/console 'embedded' in the GUI >> (provided the plugin is enabled). >> > > > I agree, cf. this screenshot : > > http://i52.tinypic.com/snj7a0.jpg The name "Terminal" suggests something d

Re: Equivalent code to the bool() built-in function

2011-04-16 Thread Ben Finney
Chris Rebert writes: > That is, `True if x else False` conceptually gets compiled down to > `True if bool(x) == 1 else False` (but without doing a run-time lookup > of "bool"). It won't look up the *name* ‘bool’, but it will use that object. Any boolean expression is going to be calling the buil

Re: Equivalent code to the bool() built-in function

2011-04-16 Thread Ben Finney
candide writes: > Is the bool_equivalent() function really equivalent to the bool() > built-in function ? The ‘bool’ built-in is not a function. >>> type(bool) -- \ “Generally speaking, the errors in religion are dangerous; | `\those in philosophy only ridiculous.” —D

Re: Equivalent code to the bool() built-in function

2011-04-16 Thread Chris Rebert
On Sat, Apr 16, 2011 at 1:24 PM, candide wrote: > Consider the following code : > > # -- > def bool_equivalent(x): >    return True if x else False > > > # testing ... > > def foo(x): >    return 10*x > > class C: >    pass > > for x in [42, ("my","baby"), "baob

Re: Questions about GIL and web services from a n00b

2011-04-16 Thread Jean-Paul Calderone
On Apr 16, 10:44 am, a...@pythoncraft.com (Aahz) wrote: > In article , > Raymond Hettinger   wrote: > > > > >Threading is really only an answer if you need to share data between > >threads, if you only have limited scaling needs, and are I/O bound > >rather than CPU bound > > Threads are also usefu

Equivalent code to the bool() built-in function

2011-04-16 Thread candide
Consider the following code : # -- def bool_equivalent(x): return True if x else False # testing ... def foo(x): return 10*x class C: pass for x in [42, ("my","baby"), "baobab", max, foo, C] + [None, 0, "", [], {},()]: print bool(x)==bool

Re: Python IDE/text-editor

2011-04-16 Thread candide
Le 16/04/2011 15:50, Adam Tauno Williams a écrit : gedit provides a Python interpreter/console 'embedded' in the GUI (provided the plugin is enabled). I agree, cf. this screenshot : http://i52.tinypic.com/snj7a0.jpg but i'm not sure gedit run easily under Windows. Kate editor has the sa

Re: [Q] ipython: Multiple commands on the same line and newlines

2011-04-16 Thread wisecracker
Hi Phil... > How can I write multiple python commands on the same line? > E.g. "x = 0; while x < 10: x = x + 1;" returns an "invalid syntax" > error on the 'e' in while. I don`t think this is possible under any Python version. There will always be some kind of user intervention required other th

Re: Python IDE/text-editor

2011-04-16 Thread Chris Angelico
On Sun, Apr 17, 2011 at 3:07 AM, Andrea Crotti wrote: > The only language where an IDE like eclipse imho is the only way is > java, but that is because the language sucks so much that without a > massive help is impossible to write something in a human time. (Now OT) I used Eclipse once, and yes

Re: Python IDE/text-editor

2011-04-16 Thread Stefaan Himpe
Here's a mockup of the app I'm looking for: http://i52.tinypic.com/2uojswz.png Which would you recommend? You drew editra! http://editra.org/preview -- http://mail.python.org/mailman/listinfo/python-list

Re: Python IDE/text-editor

2011-04-16 Thread Andrea Crotti
rusi writes: > > It takes a day or two to learn emacs. > > It takes forever to set it up. > > [How many shots of cocaine are are needed to de-addict a cocaine > addict? ] Not to set it up, but surely to master it. There are also many people that didn't really learn elisp but still use emacs taki

Re: Python IDE/text-editor

2011-04-16 Thread Terry Reedy
On 4/16/2011 3:03 AM, Alec Taylor wrote: IDLE loses syntax highlighting annoyingly often Could you exlain? When does it do that with a file labelled .py? -- Terry Jan Reedy -- http://mail.python.org/mailman/listinfo/python-list

Re: Python IDE/text-editor

2011-04-16 Thread Andrea Crotti
Chris Angelico writes: > Sure, that was a *slight* exaggeration :) but thanks for the advice. > I'll poke around with it some time. > > ChrisA I also suggest to take a look here, there's a quite nice environment setup for python. https://github.com/gabrielelanaro/emacs-for-python The nice thing

Re: [Q] ipython: Multiple commands on the same line and newlines

2011-04-16 Thread Terry Reedy
On 4/16/2011 9:55 AM, Phil Winder wrote: Hi, I'm having a go at using ipython as a command prompt for data analysis. Coming from Matlab, I'm used to typing multiple commands on the same line then using the up arrow to go through my history. How can I write multiple python commands on the same lin

Re: ipython: Multiple commands on the same line and newlines

2011-04-16 Thread Phil Winder
On Apr 16, 5:29 pm, Andrea Crotti wrote: > Phil Winder writes: > > Hi, > > I'm having a go at using ipython as a command prompt for data > > analysis. Coming from Matlab, I'm used to typing multiple commands on > > the same line then using the up arrow to go through my history. > > How can I writ

Re: Python IDE/text-editor

2011-04-16 Thread rusi
On Apr 16, 9:13 pm, Chris Angelico wrote: > Based on the comments here, it seems that emacs would have to be the > editor-in-chief for programmers. I currently use SciTE at work; is it > reasonable to, effectively, bill my employer for the time it'll take > me to learn emacs? It takes a day or tw

Re: Python IDE/text-editor

2011-04-16 Thread Chris Angelico
On Sun, Apr 17, 2011 at 2:32 AM, Andrea Crotti wrote: > That of course is an issue, but since you code in many languages I think > is really a pretty good investment for your future. > > And I don't think that you would be unproductive the first weeks with > emacs, just a bit slower maybe, and it'

Re: [Q] ipython: Multiple commands on the same line and newlines

2011-04-16 Thread Chris Angelico
On Sun, Apr 17, 2011 at 2:29 AM, Andrea Crotti wrote: > for > x = 10 > > what's the difference for you if it gets evaluated before or after? I have the same issue in IDLE sometimes, and the reason it's annoying relates to the up-arrow key (Alt-P in IDLE). I can retrieve one entire command, but if

Re: Python IDE/text-editor

2011-04-16 Thread Andrea Crotti
Chris Angelico writes: > Based on the comments here, it seems that emacs would have to be the > editor-in-chief for programmers. I currently use SciTE at work; is it > reasonable to, effectively, bill my employer for the time it'll take > me to learn emacs? I'm using a lot of the same features th

Re: [Q] ipython: Multiple commands on the same line and newlines

2011-04-16 Thread Andrea Crotti
Phil Winder writes: > Hi, > I'm having a go at using ipython as a command prompt for data > analysis. Coming from Matlab, I'm used to typing multiple commands on > the same line then using the up arrow to go through my history. > How can I write multiple python commands on the same line? > E.g. "

Re: Python IDE/text-editor

2011-04-16 Thread Chris Angelico
Based on the comments here, it seems that emacs would have to be the editor-in-chief for programmers. I currently use SciTE at work; is it reasonable to, effectively, bill my employer for the time it'll take me to learn emacs? I'm using a lot of the same features that the OP was requesting (multipl

Re: Egos, heartlessness, and limitations

2011-04-16 Thread rusi
On Apr 16, 9:27 am, "Littlefield, Tyler" wrote: >  >And who pissed in Guido's punch bowl anyway? Why is he such an elitist >  >now? Why can he not come over once and a while and rub shoulders > withhttp://www.youtube.com/watch?v=FMEe7JqBgvg He he -- Bravo! -- http://mail.python.org/mailman/list

Re: Questions about GIL and web services from a n00b

2011-04-16 Thread Chris Angelico
On Sun, Apr 17, 2011 at 12:44 AM, Aahz wrote: > In article , > Raymond Hettinger   wrote: >> >>Threading is really only an answer if you need to share data between >>threads, if you only have limited scaling needs, and are I/O bound >>rather than CPU bound > > Threads are also useful for user inte

Re: Python IDE/text-editor

2011-04-16 Thread Verde Denim
On Sat, Apr 16, 2011 at 10:39 AM, craf wrote: > Look this: > > http://portableapps.com/apps/development/geany_portable > > > Regards. > > Cristian > > > -- > http://mail.python.org/mailman/listinfo/python-list > All good suggestions. I think it may depend on the level of expertise you're at. Win

Re: Questions about GIL and web services from a n00b

2011-04-16 Thread Aahz
In article , Raymond Hettinger wrote: > >Threading is really only an answer if you need to share data between >threads, if you only have limited scaling needs, and are I/O bound >rather than CPU bound Threads are also useful for user interaction (i.e. GUI apps). I think that "limited scaling"

Re: Python IDE/text-editor

2011-04-16 Thread craf
Look this: http://portableapps.com/apps/development/geany_portable Regards. Cristian -- http://mail.python.org/mailman/listinfo/python-list

Re: Python IDE/text-editor

2011-04-16 Thread TP
On Sat, Apr 16, 2011 at 2:32 AM, jacek2v wrote: > On Apr 16, 11:18 am, Daniel Kluev wrote: >> > Please continue your recommendations. >> >> WingIDE has all that and much more, if you are willing to consider >> non-free IDE. >> Its multi-threading debugger definitely worth the cost of Pro version

[Q] ipython: Multiple commands on the same line and newlines

2011-04-16 Thread Phil Winder
Hi, I'm having a go at using ipython as a command prompt for data analysis. Coming from Matlab, I'm used to typing multiple commands on the same line then using the up arrow to go through my history. How can I write multiple python commands on the same line? E.g. "x = 0; while x < 10: x = x + 1;" r

Re: Python IDE/text-editor

2011-04-16 Thread Adam Tauno Williams
On Sat, 2011-04-16 at 06:40 -0700, flebber wrote: > On Apr 16, 3:43 pm, Alec Taylor wrote: > > Thanks, but non of the IDEs so far suggested have an embedded python > > interpreter AND tabs... a few of the editors (such as Editra) have > > really nice interfaces, however are missing the embedded >

Re: Python IDE/text-editor

2011-04-16 Thread Adam Tauno Williams
On Sat, 2011-04-16 at 08:04 -0500, John Bokma wrote: > Alec Taylor writes: > > Thanks, but non of the IDEs so far suggested have an embedded python > > interpreter > Emacs has. Well, it's not embedded as *in* Emacs, but I don't think > there are many editors that have that besides the ones writte

Re: Python IDE/text-editor

2011-04-16 Thread flebber
On Apr 16, 11:07 pm, John Bokma wrote: > Jorgen Grahn writes: > > If you cannot stand non-tabbed interfaces, you probably can't stand > > other non-Windows-like features of these two, like their menu systems. > > Emacs just has a menu system. Although I rarely use it :-). One of the > things one

Re: Python IDE/text-editor

2011-04-16 Thread flebber
On Apr 16, 3:43 pm, Alec Taylor wrote: > Thanks, but non of the IDEs so far suggested have an embedded python > interpreter AND tabs... a few of the editors (such as Editra) have > really nice interfaces, however are missing the embedded > interpreter... emacs having the opposite problem, missing

Re: Python IDE/text-editor

2011-04-16 Thread John Bokma
Jorgen Grahn writes: > If you cannot stand non-tabbed interfaces, you probably can't stand > other non-Windows-like features of these two, like their menu systems. Emacs just has a menu system. Although I rarely use it :-). One of the things one learns after some time with either vim or Emacs is

Re: Python IDE/text-editor

2011-04-16 Thread John Bokma
Alec Taylor writes: > Thanks, but non of the IDEs so far suggested have an embedded python > interpreter Emacs has. Well, it's not embedded as *in* Emacs, but I don't think there are many editors that have that besides the ones written in Python. > AND tabs... Emacs has no tabs per se (althou

Re: Python IDE/text-editor

2011-04-16 Thread Colin J. Williams
On 15-Apr-11 23:20 PM, Alec Taylor wrote: Good Afternoon, I'm looking for an IDE which offers syntax-highlighting, code-completion, tabs, an embedded interpreter and which is portable (for running from USB on Windows). Here's a mockup of the app I'm looking for: http://i52.tinypic.com/2uojswz.p

Re: Is it possible to execute Python code from C++ without writing to a file?

2011-04-16 Thread Anssi Saari
Roger House writes: > I tried PyRun_String, but I can't see how it can be used to return a > tuple (the Py_file_input option always returns None). There's an example of this at http://stackoverflow.com/questions/3789881/create-and-call-python-function-from-string-via-c-api The comments say this

Re: Python IDE/text-editor

2011-04-16 Thread Vlastimil Brom
2011/4/16 Alec Taylor : > Thanks, but non of the IDEs so far suggested have an embedded python > interpreter AND tabs... a few of the editors (such as Editra) have > really nice interfaces, however are missing the embedded > interpreter... emacs having the opposite problem, missing tabs (also, > se

Re: Python IDE/text-editor

2011-04-16 Thread Tim Chase
On 04/16/2011 02:17 AM, Ben Finney wrote: Emacs can run Python in a buffer, and has “tabbar-mode” to display a row of tabs Likely the same features are available in Vim, by I've never used Vim for lots of Python coding. Vim since v7 has offered tabs, though I personally stick mostly to split-

Re: Python IDE/text-editor

2011-04-16 Thread Jorgen Grahn
On Sat, 2011-04-16, Alec Taylor wrote: > On Sat, Apr 16, 2011 at 3:29 PM, John Bokma wrote: >> Ben Finney writes: >> >>> Alec Taylor writes: >>> I'm looking for an IDE which offers syntax-highlighting, code-completion, tabs, an embedded interpreter and which is portable (for runni

Re: [OT] Free software versus software idea patents

2011-04-16 Thread Algis Kabaila
On Saturday 16 April 2011 16:46:10 geremy condra wrote: > On Fri, Apr 15, 2011 at 10:21 PM, harrismh777 > wrote: > > > > This looks to me like an application of the troll motto "if > you can't dazzle them with brilliance, baffle them with > bull". It certainly does nothing to prove your claim,

Re: PYTHONPATH

2011-04-16 Thread Algis Kabaila
On Saturday 16 April 2011 20:03:22 jmfauth wrote: > On 16 avr, 06:16, harrismh777 wrote: > > By default the sys.path always shows the directory python > > was opened in, usually the users home directory. With > > .profile you can set the path any way you want... most > > useful for setting up sp

Re: PYTHONPATH

2011-04-16 Thread jmfauth
On 16 avr, 06:16, harrismh777 wrote: > By default the sys.path always shows the directory python was opened in, > usually the users home directory. With  .profile  you can set the path > any way you want... most useful for setting up special test directories > ahead of the "real" code, or for se

Re: Python IDE/text-editor

2011-04-16 Thread Ben Finney
Daniel Kluev writes: > […] if you are willing to consider non-free IDE. I would advise against use of a non-free tool for one's programming, because the tool's fate is not in the hands of the whole community of people who use it. When the party with privileged access to alter the tool makes a c

Re: Python IDE/text-editor

2011-04-16 Thread jacek2v
On Apr 16, 11:18 am, Daniel Kluev wrote: > > Please continue your recommendations. > > WingIDE has all that and much more, if you are willing to consider > non-free IDE. > Its multi-threading debugger definitely worth the cost of Pro version for me. I confirm :) -- http://mail.python.org/mailman

Re: Python IDE/text-editor

2011-04-16 Thread Daniel Kluev
On Sat, Apr 16, 2011 at 4:43 PM, Alec Taylor wrote: > Thanks, but non of the IDEs so far suggested have an embedded python > interpreter AND tabs... a few of the editors (such as Editra) have > really nice interfaces, however are missing the embedded > interpreter... emacs having the opposite prob

Re: Can Python control Thuderbird?

2011-04-16 Thread Andrea Crotti
marceepoo writes: > I want to control Mozilla Thunderbird using Python. > Does anyone know if that is that possible? > I would like to use Python to save email attachments to a specific > directory, depending on the name of the sender, content in the email, > etc.--- and to rename the attachment

Re: Python IDE/text-editor

2011-04-16 Thread Andrea Crotti
Alec Taylor writes: > Good Afternoon, > > I'm looking for an IDE which offers syntax-highlighting, > code-completion, tabs, an embedded interpreter and which is portable > (for running from USB on Windows). > > Here's a mockup of the app I'm looking for: http://i52.tinypic.com/2uojswz.png > > Whi

Re: Egos, heartlessness, and limitations

2011-04-16 Thread Jason Swails
On Wed, Apr 13, 2011 at 7:03 PM, Ryan Kelly wrote: > It's also an oft-cited troll conspiracy that Guido hangs out on > python-list and posts under various pseudonyms. I think it would be > kinda fun if he did... > What if one of those was rr? I can't imagine he'd have that much time for self-e

Re: PYTHONPATH

2011-04-16 Thread Algis Kabaila
On Saturday 16 April 2011 14:16:59 harrismh777 wrote: > Algis Kabaila wrote: > > Is PYTHONPATH a system variable that sets the > > path for several sessions and if so, where in the system is > > it? Do I need to create one for setting python path for > > several sessions? > >snip... > Of course t

Re: Python IDE/text-editor

2011-04-16 Thread Ben Finney
Alec Taylor writes: > Thanks (Please don't top-post. Instead, follow the normal ordering of a conversation in text: reply in-line to the parts you're responding to, and trim the parts you're not responding to.) > but non of the IDEs so far suggested have an embedded python > interpreter AND tab

Re: Python IDE/text-editor

2011-04-16 Thread Algis Kabaila
On Saturday 16 April 2011 15:55:59 harrismh777 wrote: > Alec Taylor wrote: > > Please continue your recommendations. > > IDLE? > > (works for me) > > 3.2 is working much better for me this week... :) > > (thanks) > > kind regards, > m harris IDLE is ok and it comes by default with Python.

Re: Python IDE/text-editor

2011-04-16 Thread jmfauth
On 16 avr, 05:20, Alec Taylor wrote: > Good Afternoon, > ... Windows user here. I'm using SciTE, http://www.scintilla.org/SciTE.html . Portable (run on/from an usb key), output pane, ... If you are interested in a portable Interactive Interpreter, http://spinecho.ifrance.com/psi.html (run on/f

Re: Python IDE/text-editor

2011-04-16 Thread Alec Taylor
IDLE loses syntax highlighting annoyingly often, and interpreter isn't embedded. Boa Constructor gave errors on installation (keys). Komodo might be good, however isn't free nor can't be run from USB :( On Sat, Apr 16, 2011 at 4:31 PM, CM wrote: > On Apr 16, 1:43 am, Alec Taylor wrote: >> Than