Python-spe-users digest, Vol 1 #47 - 7 msgs
python-spe-users-request-tdrK/[email protected] Sat, 17 Dec 2005 12:00:20 +0100
| Newsgroups | gmane.comp.python.spe.user |
|---|---|
| Message-ID | <[email protected]> |
Send Python-spe-users mailing list submissions to [email protected] To subscribe or unsubscribe via the World Wide Web, visit http://lists.berlios.de/mailman/listinfo/python-spe-users or, via email, send a message with subject or body 'help' to [email protected] You can reach the person managing the list at [email protected] When replying, please edit your Subject line so it is more specific than "Re: Contents of Python-spe-users digest..." _______________________________________________ http://pythonide.stani.be http://pythonide.stani.be/manual/html/manual.html http://pythonide.stani.be/blog/sm_donate _______________________________________________ Today's Topics: 1. Re: cpu use (Michele Petrazzo) 2. Running Commands with Movable Python (Fuzzyman) 3. Shift-Ctrl-E (Fuzzyman) 4. Re: cpu use (Michele Petrazzo) 5. python 2.3 (SPE Stani's Python Editor) 6. SVN 109: fixes (SPE Stani's Python Editor) 7. Re: cpu use (SPE Stani's Python Editor) --__--__-- Message: 1 Date: Fri, 16 Dec 2005 11:19:18 +0100 From: Michele Petrazzo <[email protected]> To: python-spe-users-tdrK/[email protected] Subject: Re: [spe-users] cpu use Reply-To: [email protected] SPE Stani's Python Editor wrote: >> michele:/opt/spe# svn co svn://svn.berlios.de/python/spe/trunk >> svn: Failed to add directory 'trunk/_spe': object of the same name >> already exists >> >> This is true, because I have an "old" version that I want to update... > > > Well, kick away everything and start from scratch. If it doesn't help, > please ask it then on the mailing list of your svn client, as I won't be > able to help you more. Maybe another SPE user knows. I never ran into > problems with SVN. > Now work! >>>> When I wrote some docstrings (and also the code) I see that the cpu >>>> usage are always at 100%. >> >>> Thanks, I added this to the FAQ. The answer is: >> <-cut-> >> >> Yes now it work. I leave only the "auto-completion" and now it's >> speed-up all the work. > > > Great! How much is the effect of leaving the sidebar on realtime? Was it > still a big issue? > With sidebar in "realtime", I see only a little slowing down of performance. However, for do some tests, you can try my file on: http://www.unipex.it/vario/PySketch_2.zip Michele --__--__-- Message: 2 Date: Fri, 16 Dec 2005 13:47:43 +0000 From: Fuzzyman <[email protected]> To: python-spe-users-tdrK/[email protected] Subject: [spe-users] Running Commands with Movable Python Reply-To: [email protected] Hello Stani (and others), It looks like the new run system has 'python' hardwired into the command line that is run. With movable Python the executable isn't called 'python' (or necessarily on the path). Using ``sys.executable`` instead would solve this. Thanks Fuzzyman http://www.voidspace.org.uk/python/index.shtml --__--__-- Message: 3 Date: Fri, 16 Dec 2005 10:01:19 +0000 From: Fuzzyman <[email protected]> To: python-spe-users-tdrK/[email protected] Subject: [spe-users] Shift-Ctrl-E Reply-To: [email protected] Hello Stani, Shift-Ctrl-E (for running blocks of code) is working for me. *Except* - that most of my code contains a line like : if __name__ == '__main__': When running in the pycrust shell, ``__name__`` is ``__builtin__``. I can rebind it myself - but I just thought I'd flag it up. >>> __name__ '__builtin__' >>> __name__ = '__main__' >>> __name__ '__main__' >>> I've started to read the manual. It's basically fine - certainly understandable and there are only one or two bits that a native English speaker might express differently. I'll privately email you my suggestions so far. All the best, Fuzzyman http://www.voidspace.org.uk/python/index.shtml --__--__-- Message: 4 Date: Fri, 16 Dec 2005 11:20:06 +0100 From: Michele Petrazzo <[email protected]> To: python-spe-users-tdrK/[email protected] Subject: Re: [spe-users] cpu use Reply-To: [email protected] SPE Stani's Python Editor wrote: > On 12/15/05, SPE Stani's Python Editor <[email protected]> > wrote: >> On 12/15/05, Michele Petrazzo <[email protected]> wrote: >>>>> Another little question: can you add the useful feature, like >>>>> that present on Boa, that show the docstring when press >>>>> Ctrl-Shift-Space. In spe this happen only when I wrote "(", >>>>> but if I want to see another time the docstring, I can't! >>> > Implemented for SPE 0.8.1.c as Edit>Show docstring ;-) > I'll wait for 0.8.1 ... > Stani > Thanks, Michele --__--__-- Message: 5 Date: Fri, 16 Dec 2005 20:21:18 +0100 From: "SPE Stani's Python Editor" <[email protected]> To: python-spe-dev-tdrK/[email protected], python-spe-mac-tdrK/[email protected], python-spe-users-tdrK/[email protected] Subject: [spe-users] python 2.3 Reply-To: [email protected] Hi, Can anyone who uses Python2.3 email me privately? Thanks, Stani -- http://pythonide.stani.be http://pythonide.stani.be/manual/html/manual.html --__--__-- Message: 6 Date: Fri, 16 Dec 2005 21:22:09 +0100 From: "SPE Stani's Python Editor" <[email protected]> To: python-spe-users-tdrK/[email protected], python-spe-dev-tdrK/[email protected] Subject: [spe-users] SVN 109: fixes Reply-To: [email protected] ------=_Part_14034_20543629.1134764529549 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 12/16/05, Fuzzyman <[email protected]> wrote: > > Hello Stani, > > Shift-Ctrl-E (for running blocks of code) is working for me. > > *Except* - that most of my code contains a line like : > > if __name__ =3D=3D '__main__': > > When running in the pycrust shell, ``__name__`` is ``__builtin__``. I > can rebind it myself - but I just thought I'd flag it up. It looks like the new run system has 'python' hardwired into the command > line that is run. > > With movable Python the executable isn't called 'python' (or necessarily > on the path). Using ``sys.executable`` instead would solve this. Hi Fuzzy, It is all fixed in subversion release 109. Stani fixes: - run with sys.executable (movable python) - info.PYTHON_EXEC to pythonw for Mac - __name__ in shell is now "__main__" for executing scripts -- http://pythonide.stani.be http://pythonide.stani.be/manual/html/manual.html ------=_Part_14034_20543629.1134764529549 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 12/16/05, <b class=3D"gmail_sendername">Fuzzyman</b> <<a href=3D"mail= to:[email protected]" target=3D"_blank" onclick=3D"return top.js.Op= enExtLink(window,event,this)">[email protected]</a>> wrote:<div>= <span class=3D"gmail_quote"> </span><blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rg= b(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Hello Stani,<br><br>Shift-Ctrl-E (for running blocks of code) is working fo= r me.<br><br>*Except* - that most of my code contains a line like :<br><br>= if __name__ =3D=3D '__main__':<br><br>When running = in the pycrust shell, ``__name__`` is ``__builtin__``. I <br>can rebind it myself - but I just thought I'd flag it up.</blockquote><= div><br> </div><br><div><span class=3D"gmail_quote"></span> <blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, = 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">It looks like the= new run system has 'python' hardwired into the command<br>line that is run= . <br><br>With movable Python the executable isn't called 'python' (or necess= arily<br>on the path). Using ``sys.executable`` instead would solve this.</= blockquote> <br> Hi Fuzzy,<br> It is all fixed in subversion release 109.<br> Stani<br> </div>fixes:<br> - run with sys.executable (movable python)<br> - info.PYTHON_EXEC to pythonw for Mac<br> - __name__ in shell is now "__main__" for executing scripts<br> </div><br><br clear=3D"all"><br>-- <br><a href=3D"http://pythonide.stani.be= " target=3D"_blank" onclick=3D"return top.js.OpenExtLink(window,event,this)= ">http://pythonide.stani.be</a><br><a href=3D"http://pythonide.stani.be/man= ual/html/manual.html" target=3D"_blank" onclick=3D"return top.js.OpenExtLin= k(window,event,this)"> http://pythonide.stani.be/manual/html/manual.html</a> ------=_Part_14034_20543629.1134764529549-- --__--__-- Message: 7 Date: Fri, 16 Dec 2005 21:28:32 +0100 From: "SPE Stani's Python Editor" <[email protected]> To: python-spe-users-tdrK/[email protected] Subject: Re: [spe-users] cpu use Reply-To: [email protected] ------=_Part_14186_24103604.1134764912394 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Wow! You are working on PySketch. Cool! It looks like great improvements. But ...than I have some issues for you, but I email you about them privately as they would be quite off-topic here! Thanks for sending me the file! Stani On 12/16/05, Michele Petrazzo <[email protected]> wrote: > > SPE Stani's Python Editor wrote: > > On 12/15/05, SPE Stani's Python Editor <[email protected]> > > wrote: > >> On 12/15/05, Michele Petrazzo <[email protected]> wrote: > >>>>> Another little question: can you add the useful feature, like > >>>>> that present on Boa, that show the docstring when press > >>>>> Ctrl-Shift-Space. In spe this happen only when I wrote "(", > >>>>> but if I want to see another time the docstring, I can't! > >>> > > Implemented for SPE 0.8.1.c as Edit>Show docstring ;-) > > > > I'll wait for 0.8.1 ... > > > Stani > > > > Thanks, > Michele > _______________________________________________ > Python-spe-users mailing list > [email protected] > http://lists.berlios.de/mailman/listinfo/python-spe-users > -- http://pythonide.stani.be http://pythonide.stani.be/manual/html/manual.html ------=_Part_14186_24103604.1134764912394 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Wow!<br> You are working on PySketch. Cool! It looks like great improvements. But ...than I have some issues for you, but I email you about them privately as they would be quite off-topic here!<br> Thanks for sending me the file!<br> Stani<br><br><div><span class=3D"gmail_quote">On 12/16/05, <b class=3D"gmai= l_sendername">Michele Petrazzo</b> <<a href=3D"mailto:michele.petrazzo@u= nipex.it">[email protected]</a>> wrote:</span><blockquote class= =3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, 204, 204); margin= : 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> SPE Stani's Python Editor wrote:<br>> On 12/15/05, SPE Stani's Python Ed= itor <<a href=3D"mailto:[email protected]">[email protected]</= a>><br>> wrote:<br>>> On 12/15/05, Michele Petrazzo <<a href= =3D"mailto:[email protected]"> [email protected]</a>> wrote:<br>>>>>> Another l= ittle question: can you add the useful feature, like<br>>>>>>= ; that present on Boa, that show the docstring when press<br>>>>&g= t;> Ctrl-Shift-Space. In spe this happen only when I wrote "("= , <br>>>>>> but if I want to see another time the docstring, I= can't!<br>>>><br>> Implemented for SPE 0.8.1.c as E= dit>Show docstring ;-)<br>><br><br>I'll wait for 0.8.1 ...<br><br>>= ; Stani <br>><br><br>Thanks,<br>Michele<br>_____________________________________= __________<br>Python-spe-users mailing list<br><a href=3D"mailto:Python-spe= [email protected]">[email protected]</a><br><a href= =3D"http://lists.berlios.de/mailman/listinfo/python-spe-users"> http://lists.berlios.de/mailman/listinfo/python-spe-users</a><br></blockquo= te></div><br><br clear=3D"all"><br>-- <br><a href=3D"http://pythonide.stani= .be">http://pythonide.stani.be</a><br><a href=3D"http://pythonide.stani.be/= manual/html/manual.html"> http://pythonide.stani.be/manual/html/manual.html</a> ------=_Part_14186_24103604.1134764912394-- --__--__-- _______________________________________________ Python-spe-users mailing list [email protected] http://lists.berlios.de/mailman/listinfo/python-spe-users End of Python-spe-users Digest