Python-spe-users digest, Vol 1 #55 - 6 msgs
python-spe-users-request-tdrK/[email protected] Tue, 03 Jan 2006 01:53:00 +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. SPE 0.8.1.c windows installer online for Python2.3... (SPE Stani's Python Editor) 2. Re: Problems with Find In Files tab (SPE Stani's Python Editor) 3. Re: Running Commands with Movable Python (SPE Stani's Python Editor) 4. Re: Class Definition below an if statement (SPE Stani's Python Editor) 5. Re: Weird Problem with Shift-Ctrl-E (SPE Stani's Python Editor) 6. Re: Indentaion Issue (SPE Stani's Python Editor) --__--__-- Message: 1 Date: Tue, 3 Jan 2006 01:41:40 +0100 From: "SPE Stani's Python Editor" <[email protected]> To: python-spe-users-tdrK/[email protected] Subject: [spe-users] SPE 0.8.1.c windows installer online for Python2.3... Reply-To: [email protected] ------=_Part_17292_14573259.1136248900998 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline ...thanks to Fuzzyman! Stani -- http://pythonide.stani.be http://pythonide.stani.be/screenshots http://pythonide.stani.be/manual/html/manual.html ------=_Part_17292_14573259.1136248900998 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline ...thanks to Fuzzyman!<br> <br> Stani<br clear=3D"all"><br>-- <br><a href=3D"http://pythonide.stani.be">htt= p://pythonide.stani.be</a><br><a href=3D"http://pythonide.stani.be/screensh= ots">http://pythonide.stani.be/screenshots</a><br><a href=3D"http://pythoni= de.stani.be/manual/html/manual.html"> http://pythonide.stani.be/manual/html/manual.html</a> ------=_Part_17292_14573259.1136248900998-- --__--__-- Message: 2 Date: Tue, 3 Jan 2006 01:43:12 +0100 From: "SPE Stani's Python Editor" <[email protected]> To: python-spe-users-tdrK/[email protected] Subject: Re: [spe-users] Problems with Find In Files tab Reply-To: [email protected] ------=_Part_17312_30030436.1136248992373 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Can you check SPE in subversion. I think this should be fixed now. If not let me know... Stani On 12/14/05, Henning Hraban Ramm <[email protected]> wrote: > > Hi Stani! > > The find in files tab behaves strange; if I use it more than once in one > session, the results gets mixed, even if I click "Clear"; there's also so= me > scroll bar issues (partly invisible or unclickable scroll bar). > > Example: > I enter some word to find; set the path to my project path and click "Fin= d > in files" - works fine. > Then I click "Clear", enter another word and click "Find in files" again. > If I click in the list of found entries, I often get entries from the > first search; also if I click in empty lines. > Same behaviour without "Clear"; the tabs mix their results. > > Greetlings, Hraban > -- http://pythonide.stani.be http://pythonide.stani.be/screenshots http://pythonide.stani.be/manual/html/manual.html ------=_Part_17312_30030436.1136248992373 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Can you check SPE in subversion. I think this should be fixed now. If not l= et me know...<br> <br> Stani<br><br><div><span class=3D"gmail_quote">On 12/14/05, <b class=3D"gmai= l_sendername">Henning Hraban Ramm</b> <<a href=3D"mailto:fiee.visuelle@g= mail.com">[email protected]</a>> wrote:</span><blockquote class=3D= "gmail_quote" style=3D"border-left: 1px solid rgb(204, 204, 204); margin: 0= pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div>Hi Stani!</div> <div> </div> <div>The find in files tab behaves strange; if I use it more than once in one session, the results gets mixed, even if I click "Clear"; there's also some scroll bar issues (partly invisible or unclickable scroll bar). </div> <div> </div> <div>Example:</div> <div>I enter some word to find; set the path to my project path and click &= quot;Find in files" - works fine.</div> <div>Then I click "Clear", enter another word and click "Fin= d in files" again.</div> <div>If I click in the list of found entries, I often get entries from the = first search; also if I click in empty lines.</div> <div>Same behaviour without "Clear"; the tabs mix their results.<= /div> <div> </div> <div>Greetlings, Hraban</div> </blockquote></div><br><br clear=3D"all"><br>-- <br><a href=3D"http://pytho= nide.stani.be">http://pythonide.stani.be</a><br><a href=3D"http://pythonide= .stani.be/screenshots">http://pythonide.stani.be/screenshots</a><br><a href= =3D"http://pythonide.stani.be/manual/html/manual.html"> http://pythonide.stani.be/manual/html/manual.html</a> ------=_Part_17312_30030436.1136248992373-- --__--__-- Message: 3 Date: Tue, 3 Jan 2006 01:44:55 +0100 From: "SPE Stani's Python Editor" <[email protected]> To: python-spe-users-tdrK/[email protected] Subject: Re: [spe-users] Running Commands with Movable Python Reply-To: [email protected] ------=_Part_17320_27034877.1136249095000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline This should be fixed now, for sure in subversion. Stani On 12/16/05, Fuzzyman <[email protected]> wrote: > > http://pythonide.stani.be > http://pythonide.stani.be/manual/html/manual.html > http://pythonide.stani.be/blog/sm_donate > -- > > > 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 > _______________________________________________ > Python-spe-users mailing list > [email protected] > http://lists.berlios.de/mailman/listinfo/python-spe-users > -- http://pythonide.stani.be http://pythonide.stani.be/screenshots http://pythonide.stani.be/manual/html/manual.html ------=_Part_17320_27034877.1136249095000 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline This should be fixed now, for sure in subversion.<br> <br> Stani<br><br><div><span class=3D"gmail_quote">On 12/16/05, <b class=3D"gmai= l_sendername">Fuzzyman</b> <<a href=3D"mailto:[email protected]"= >[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;"> <a href=3D"http://pythonide.stani.be">http://pythonide.stani.be</a><br><a h= ref=3D"http://pythonide.stani.be/manual/html/manual.html">http://pythonide.= stani.be/manual/html/manual.html</a><br><a href=3D"http://pythonide.stani.b= e/blog/sm_donate"> http://pythonide.stani.be/blog/sm_donate</a><br>--<br><br><br>Hello Stani (= and others),<br><br>It looks like the new run system has 'python' hardwired= into the command<br>line that is run.<br><br>With movable Python the execu= table isn't called 'python' (or necessarily <br>on the path). Using ``sys.executable`` instead would solve this.<br><br= >Thanks<br><br>Fuzzyman<br><a href=3D"http://www.voidspace.org.uk/python/in= dex.shtml">http://www.voidspace.org.uk/python/index.shtml</a><br>__________= _____________________________________ <br>Python-spe-users mailing list<br><a href=3D"mailto:Python-spe-users@lis= ts.berlios.de">[email protected]</a><br><a href=3D"http://l= ists.berlios.de/mailman/listinfo/python-spe-users">http://lists.berlios.de/= mailman/listinfo/python-spe-users </a><br></blockquote></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://p= ythonide.stani.be/screenshots">http://pythonide.stani.be/screenshots</a><br= ><a href=3D"http://pythonide.stani.be/manual/html/manual.html"> http://pythonide.stani.be/manual/html/manual.html</a> ------=_Part_17320_27034877.1136249095000-- --__--__-- Message: 4 Date: Tue, 3 Jan 2006 01:47:37 +0100 From: "SPE Stani's Python Editor" <[email protected]> To: python-spe-users-tdrK/[email protected] Subject: Re: [spe-users] Class Definition below an if statement Reply-To: [email protected] ------=_Part_17328_30759101.1136249257857 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline No, this is a bug... It is always better if you can submit it on berlios. Stani On 12/21/05, Fuzzyman <[email protected]> wrote: > > http://pythonide.stani.be > http://pythonide.stani.be/manual/html/manual.html > http://pythonide.stani.be/blog/sm_donate > -- > > > Hello Stani (and everyone else), > > I'm editing some code which has a class definition inside an 'if...' > block. The class doesn't show up in the class browser (the 'explore' tab)= . > > The code looks (something) like : > > > if len(sys.argv) =3D=3D 1 and not commandline: > .... > # > class GetFile(object): > """A class to present the small GUI.""" > > def __init__(self, options): > > I don't have unrestricted internet access or I would file it as a > feature request... > > All the best, > > Fuzzyman > http://www.voidspace.org.uk/python/index.shtml > > > _______________________________________________ > Python-spe-users mailing list > [email protected] > http://lists.berlios.de/mailman/listinfo/python-spe-users > -- http://pythonide.stani.be http://pythonide.stani.be/screenshots http://pythonide.stani.be/manual/html/manual.html ------=_Part_17328_30759101.1136249257857 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline No, this is a bug... It is always better if you can submit it on berlios.<b= r> <br> Stani<br><br><div><span class=3D"gmail_quote">On 12/21/05, <b class=3D"gmai= l_sendername">Fuzzyman</b> <<a href=3D"mailto:[email protected]"= >[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;"> <a href=3D"http://pythonide.stani.be">http://pythonide.stani.be</a><br><a h= ref=3D"http://pythonide.stani.be/manual/html/manual.html">http://pythonide.= stani.be/manual/html/manual.html</a><br><a href=3D"http://pythonide.stani.b= e/blog/sm_donate"> http://pythonide.stani.be/blog/sm_donate</a><br>--<br><br><br>Hello Stani (= and everyone else),<br><br>I'm editing some code which has a class definiti= on inside an 'if...'<br>block. The class doesn't show up in the class brows= er (the 'explore' tab). <br><br>The code looks (something) like :<br><br><br>if len(sys.argv) =3D= =3D 1 and not commandline:<br> ....<br> &= nbsp; #<br> class GetFile(object):<br> &nb= sp; """A class to present= the small GUI.""" <br><br> def __init__(self, = options):<br><br>I don't have unrestricted internet access or I would file = it as a<br>feature request...<br><br>All the best,<br><br>Fuzzyman<br><a hr= ef=3D"http://www.voidspace.org.uk/python/index.shtml"> http://www.voidspace.org.uk/python/index.shtml</a><br><br><br>_____________= __________________________________<br>Python-spe-users mailing list<br><a h= ref=3D"mailto:[email protected]">[email protected]= lios.de </a><br><a href=3D"http://lists.berlios.de/mailman/listinfo/python-spe-user= s">http://lists.berlios.de/mailman/listinfo/python-spe-users</a><br></block= quote></div><br><br clear=3D"all"><br>-- <br><a href=3D"http://pythonide.st= ani.be"> http://pythonide.stani.be</a><br><a href=3D"http://pythonide.stani.be/scree= nshots">http://pythonide.stani.be/screenshots</a><br><a href=3D"http://pyth= onide.stani.be/manual/html/manual.html">http://pythonide.stani.be/manual/ht= ml/manual.html </a> ------=_Part_17328_30759101.1136249257857-- --__--__-- Message: 5 Date: Tue, 3 Jan 2006 01:49:23 +0100 From: "SPE Stani's Python Editor" <[email protected]> To: python-spe-users-tdrK/[email protected] Subject: Re: [spe-users] Weird Problem with Shift-Ctrl-E Reply-To: [email protected] ------=_Part_17332_538924.1136249363841 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Again a bug... I'll look into it later. Stani On 12/28/05, Fuzzyman <[email protected]> wrote: > > http://pythonide.stani.be > http://pythonide.stani.be/manual/html/manual.html > http://pythonide.stani.be/blog/sm_donate > -- > > > Hello Stani, > > I was experimenting with a particular block of code - and trying to run > it with Shift-Ctrl-E. It consistently failed to run (including when run > with F9). If I loaded it into IDLE it worked fine ??? > > (By the way - if you hit 'Shift-Ctrl-E and the last line doesn't end > with a carriage return, it doesn't execute and you have to hit enter :-) > > Example code follows : > > from traceback import print_exc > > > try: > raise SystemExit > except Exception: > print_exc() > > """ > Result on the shell : > > >>> from traceback import print_exc > ... > ... > >>> try: > ... raise Exception > ... > ... except Exception: > ... print_exc() > File "<input>", line 5 > except Exception: > ^ > SyntaxError: invalid syntax > > """ > > All the best, > > Fuzzyman > http://www.voidspace.org.uk/python/index.shtml > _______________________________________________ > Python-spe-users mailing list > [email protected] > http://lists.berlios.de/mailman/listinfo/python-spe-users > -- http://pythonide.stani.be http://pythonide.stani.be/screenshots http://pythonide.stani.be/manual/html/manual.html ------=_Part_17332_538924.1136249363841 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Again a bug... I'll look into it later.<br> Stani<br><br><div><span class=3D"gmail_quote">On 12/28/05, <b class=3D"gmai= l_sendername">Fuzzyman</b> <<a href=3D"mailto:[email protected]"= >[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;"> <a href=3D"http://pythonide.stani.be">http://pythonide.stani.be</a><br><a h= ref=3D"http://pythonide.stani.be/manual/html/manual.html">http://pythonide.= stani.be/manual/html/manual.html</a><br><a href=3D"http://pythonide.stani.b= e/blog/sm_donate"> http://pythonide.stani.be/blog/sm_donate</a><br>--<br><br><br>Hello Stani,<= br><br>I was experimenting with a particular block of code - and trying to = run<br>it with Shift-Ctrl-E. It consistently failed to run (including when = run <br>with F9). If I loaded it into IDLE it worked fine ???<br><br>(By the wa= y - if you hit 'Shift-Ctrl-E and the last line doesn't end<br>with a carria= ge return, it doesn't execute and you have to hit enter :-)<br><br>Example = code follows : <br><br>from traceback import print_exc<br><br><br>try:<br> &nbs= p; raise SystemExit<br>except Exception:<br> pr= int_exc()<br><br>"""<br>Result on the shell :<br><br>>>= ;> from traceback import print_exc <br>...<br>...<br>>>> try:<br>... raise Ex= ception<br>...<br>... except Exception:<br>... = ; print_exc()<br> File "<input>&quo= t;, line 5<br> except Exception:<br> &nbs= p; ^<br>SyntaxError: invalid syntax <br><br>"""<br><br>All the best,<br><br>Fuzzyman<br><a href= =3D"http://www.voidspace.org.uk/python/index.shtml">http://www.voidspace.or= g.uk/python/index.shtml</a><br>____________________________________________= ___ <br>Python-spe-users mailing list<br><a href=3D"mailto:Python-spe-users@lis= ts.berlios.de">[email protected]</a><br><a href=3D"http://l= ists.berlios.de/mailman/listinfo/python-spe-users">http://lists.berlios.de/= mailman/listinfo/python-spe-users </a><br></blockquote></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://p= ythonide.stani.be/screenshots">http://pythonide.stani.be/screenshots</a><br= ><a href=3D"http://pythonide.stani.be/manual/html/manual.html"> http://pythonide.stani.be/manual/html/manual.html</a> ------=_Part_17332_538924.1136249363841-- --__--__-- Message: 6 Date: Tue, 3 Jan 2006 01:52:14 +0100 From: "SPE Stani's Python Editor" <[email protected]> To: python-spe-users-tdrK/[email protected] Subject: Re: [spe-users] Indentaion Issue Reply-To: [email protected] ------=_Part_17340_12866656.1136249534943 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hmmm... file it as a feature request Stani. On 12/28/05, Fuzzyman <[email protected]> wrote: > > http://pythonide.stani.be > http://pythonide.stani.be/manual/html/manual.html > http://pythonide.stani.be/blog/sm_donate > -- > > > Hello Stani, > > (Sorry - I would post this as a feature request, but I don't have open > access to the internet). > > I'm not sure if you consider this an issue or not. In order to break > long lines of code I split them over several lines. I indent them to > show that they are not just a new line of code. > > When I hit return, SPE continues the next line at the *new* indentation > position, rather than jumping back to the correct one. > > Here's an example : > > for entry, text in [('f', 'Run in Script Dir:'), > ('i', 'Inspect After Run:'), > ('p', 'Psyco On:'), > ('u', 'Unbuffered'), > ('b', 'Pause After Script'), > ('k', 'Console for Movpyw'), > ('koff', 'No Console for Movpy'), > ('die', 'GUI Die on Run'), > ('IPOFF', 'IPython Off:'), > ('x', 'Skip First Line:'), > ]: > > # SPE now indents to here > # rather than here ! > > It may be too much to expect SPE to suss this - but I thought I'd flag > it up. > > All the best, > > > Fuzzyman > http://www.voidspace.org.uk/python/index.shtml > _______________________________________________ > Python-spe-users mailing list > [email protected] > http://lists.berlios.de/mailman/listinfo/python-spe-users > -- http://pythonide.stani.be http://pythonide.stani.be/screenshots http://pythonide.stani.be/manual/html/manual.html ------=_Part_17340_12866656.1136249534943 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hmmm... file it as a feature request<br> <br> Stani.<br><br><div><span class=3D"gmail_quote">On 12/28/05, <b class=3D"gma= il_sendername">Fuzzyman</b> <<a href=3D"mailto:[email protected]= ">[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;"> <a href=3D"http://pythonide.stani.be">http://pythonide.stani.be</a><br><a h= ref=3D"http://pythonide.stani.be/manual/html/manual.html">http://pythonide.= stani.be/manual/html/manual.html</a><br><a href=3D"http://pythonide.stani.b= e/blog/sm_donate"> http://pythonide.stani.be/blog/sm_donate</a><br>--<br><br><br>Hello Stani,<= br><br>(Sorry - I would post this as a feature request, but I don't have op= en<br>access to the internet).<br><br>I'm not sure if you consider this an = issue or not. In order to break <br>long lines of code I split them over several lines. I indent them to<br= >show that they are not just a new line of code.<br><br>When I hit return, = SPE continues the next line at the *new* indentation<br>position, rather th= an jumping back to the correct one. <br><br>Here's an example :<br><br> &nbs= p; for entry, text in [('f', 'Run in Script Di= r:'),<br> = &nb= sp; ('i', 'Inspect After Run:'),<br> &= nbsp; &nbs= p; ('p', 'Psyco On:'),<br> &nbs= p; &= nbsp; ('u', 'Unbuffered'),<br> &nb= sp; = ('b', 'Pause After Script'),<br> &= nbsp; &nbs= p; ('k', 'Console for Movpyw'),<br> &= nbsp; &nbs= p; ('koff'= , 'No Console for Movpy'),<br>  = ; &n= bsp; ('die= ', 'GUI Die on Run'),<br>  = ; &n= bsp; ('IPOFF', 'IPython Off:'),<br> &= nbsp; &nbs= p; ('x', 'Skip First Line:'),<br> &nb= sp; = ]:<br><br= > &n= bsp;  = ; # SPE now indents to here<br> = # rather than here !<br><br= >It may be too much to expect SPE to suss this - but I thought I'd flag<br>= it up.<br><br>All the best,<br><br><br>Fuzzyman<br><a href=3D"http://www.vo= idspace.org.uk/python/index.shtml"> http://www.voidspace.org.uk/python/index.shtml</a><br>_____________________= __________________________<br>Python-spe-users mailing list<br><a href=3D"m= ailto:[email protected]">[email protected] </a><br><a href=3D"http://lists.berlios.de/mailman/listinfo/python-spe-user= s">http://lists.berlios.de/mailman/listinfo/python-spe-users</a><br></block= quote></div><br><br clear=3D"all"><br>-- <br><a href=3D"http://pythonide.st= ani.be"> http://pythonide.stani.be</a><br><a href=3D"http://pythonide.stani.be/scree= nshots">http://pythonide.stani.be/screenshots</a><br><a href=3D"http://pyth= onide.stani.be/manual/html/manual.html">http://pythonide.stani.be/manual/ht= ml/manual.html </a> ------=_Part_17340_12866656.1136249534943-- --__--__-- _______________________________________________ Python-spe-users mailing list [email protected] http://lists.berlios.de/mailman/listinfo/python-spe-users End of Python-spe-users Digest