On Apr 13, 6:20 pm, "Jack" <[EMAIL PROTECTED]> wrote:
> I wonder what everybody uses for Python editor/IDE on Linux?
> I use PyScripter on Windows, which is very good. Not sure if
> there's something handy like that on Linux. I need to do some
> development work on Linux and the distro I am using i
Scribes is python editor for *nix and GNOME that balances simplicity
with power. This release features extensibility via Python plugins,
auto-completion enhances, snippets improvement, automatic replacement
and correction, a new minimalist interface, performance optimizations
and more...
release n
This why I prefer functional programming constructs for my
list/sequence processing needs.
is_true = lambda x: x > 0
map(process_list, filter(is_true, [-2, -1, 0, 1, 2, 3, 4]))
Matias Jansson wrote:
> I come from a background of Java and C# where it is common practise to have
> one class per file in the file/project structure. As I have understood it,
> it is more common practice to have many classes in a Python module/file.
> What is the motivation behind it, would it be
Paddy wrote:
> Robert Uhl wrote:
>
> > Steven D'Aprano <[EMAIL PROTECTED]> writes:
> > >
> > > Speaking as somebody who programmed in FORTH for a while, that doesn't
> > > impress me much. Prefix/postfix notation is, generally speaking, more
> > > of a pain in the rear end than it is worth, even i
Bill Atkins wrote:
> Well, for example, "Lisp uses a fully-parenthesized notation for
> writing programs" and "Python has significant whitespace" are both
> objective facts. Agreed? There's nothing subjective about those two
> facts. Do any of your points approach that level of objectivity?
I b
John Thingstad wrote:
> You are just being silly.
> Lisp's OO environment CLOS is vastly superior to Python classes.
> Both in terms of expressive power and flexibility.
> You might even find out if you ever learnt how to use it.
>
Donkeys have wings.
> In the windows world the best way to access
Bill Atkins wrote:
> Are any of these not subjective?
Objectivity is in the eye of the beholder.
> Lisp is much more than a functional language.
Maybe so. But I've only ever appreciated its functional aspects. I
wouldn't choose Lisp or its derivatives for OO related tasks even if
I'm high.
> Uh
Mark Tarver wrote:
> How do you compare Python to Lisp? What specific advantages do you
> think that one has over the other?
>
> Note I'm not a Python person and I have no axes to grind here. This is
> just a question for my general education.
>
> Mark
Advantages of Python:
1). More and better
I am pleased to release version 0.3 of Scribes. Scribes is a text
editor that uniquely balances simplicity with power. This release is a
significant milestone in providing you with an enjoyable text editing
experience. Bugs were squashed, new features implemented, countless
enhancements made and nu
Paul Rubin wrote:
> "mystilleef" <[EMAIL PROTECTED]> writes:
> > I use D-Bus (Python). I recommend it. I don't know how cross platform
> > it is. However, it supports message passing of most built-in (strings,
> > ints, lists, dictionaries etc) Python obj
Paul Rubin wrote:
> "mystilleef" <[EMAIL PROTECTED]> writes:
> > I use D-Bus (Python). I recommend it. I don't know how cross platform
> > it is. However, it supports message passing of most built-in (strings,
> > ints, lists, dictionaries etc) Python obj
I use D-Bus (Python). I recommend it. I don't know how cross platform
it is. However, it supports message passing of most built-in (strings,
ints, lists, dictionaries etc) Python objects accross processes. You
can mimick clean Erlang-like concurrency with it. It is the future of
IPC on Desktop Unix
If you have those requirements installed, it does not need anything
else.
mystilleef wrote:
> I recommend Scribes.
>
> http://scribes.sf.net
>
> Flash Demo: http://scribes.sf.net/snippets.htm
>
> GIF Demo: http://www.minds.may.ie/~dez/images/blog/scribes.html
>
> O
I recommend Scribes.
http://scribes.sf.net
Flash Demo: http://scribes.sf.net/snippets.htm
GIF Demo: http://www.minds.may.ie/~dez/images/blog/scribes.html
Omar wrote:
> I'd love the perfect editor that would be:
>
> a) free
>
> b) enable me to drag and drop code snippets from a sort of browser i
You can use multiple processes to simulate threads via an IPC
mechanism. I use D-Bus to achieve this.
http://www.freedesktop.org/wiki/Software/dbus
km wrote:
> Hi all,
> Are there any alternate ways of attaining true threading in python ?
> if GIL doesnt go then does it mean that python is usele
I recommend Scribes on Linux. It's simple, fast and powerful.
Website: http://scribes.sf.net/
Flash Demo: http://scribes.sf.net/snippets.htm
GIF Demo: http://www.minds.may.ie/~dez/images/blog/scribes.html
JAG CHAN wrote:
> Friends, I am trying to learn Python.
> It will be of great help to me if
http://scribes.sourceforge.net/
Flash Demo: http://scribes.sourceforge.net/snippets.htm
GIF Demo: http://www.minds.may.ie/~dez/images/blog/scribes.html
Scribes is simple, slim, sleek and fast. It has no learning curve and
conveys a no nonsense approach to text editing. You won't need to edit
con
Bruno Desthuilliers wrote:
> mystilleef wrote:
> > Bruno Desthuilliers wrote:
>
> >>>>>>point 2 : so anyone *can* "illegimately tampering with an object's
> >>>>>>internal data" at will.
> >>>>>>
> &g
Bruno Desthuilliers wrote:
> mystilleef wrote:
> > Bruno Desthuilliers wrote:
> >
> (snip)
> >>>>>You use accessors when you need to control access to a data attribute.
> >>>>
> >>>>Indeed. And when you don't need too ? (the s
Bruno Desthuilliers wrote:
> mystilleef wrote:
> > Bruno Desthuilliers wrote:
> >
> >>mystilleef wrote:
> >>
> >>>Bruno Desthuilliers wrote:
> >>>
> >>>
> >>>>mystilleef wrote:
> >>
Steve Holden wrote:
> mystilleef wrote:
> [...]
> >
> > I don't know it's your code not mine.
> >
> > class Robust(object):
> >
> > def __init__(self):
> > # Arbitrarily changing this state to False will crash app or
Steve Holden wrote:
> mystilleef wrote, making me somewhat tired of his/her repeated inability
> to get what's being said [sigh]:
> > Bruno Desthuilliers wrote:
> >>mystilleef wrote:
> >>>Bruno Desthuilliers wrote:
> >>>>mystilleef wrote:
>
Bruno Desthuilliers wrote:
> mystilleef wrote:
> > Bruno Desthuilliers wrote:
> >
> >>mystilleef wrote:
> (snip)
> >>>>>
> >>>>>Of course using setters for the sake of just using them is pointless.
> >>>>
> >&
Bruno Desthuilliers wrote:
> mystilleef wrote:
> > Bruno Desthuilliers wrote:
> >
> >>mystilleef wrote:
> >>Please don't top-post
> >>
> >>>On State and Behavior:
> >>>
> >>>To understand objects in terms of
Bruno Desthuilliers wrote:
> mystilleef wrote:
> > Bruno Desthuilliers wrote:
> >
> >>mystilleef wrote:
> >>
> >>>Gerhard Fiedler wrote:
> >>>
> >>>
> >>>>On 2006-07-15 06:55:14, mystilleef wrote:
> >>
Bruno Desthuilliers wrote:
> mystilleef wrote:
> > Gerhard Fiedler wrote:
> >
> >>On 2006-07-15 06:55:14, mystilleef wrote:
> >>
> >>
> >>>In very well designed systems, the state of an object should only be
> >>>changed by the
Bruno Desthuilliers wrote:
> mystilleef wrote:
> Please don't top-post
> > On State and Behavior:
> >
> > To understand objects in terms of state and behavior you need to
> > absolve yourself from implementation details of languages
> > and think at a
Gerhard Fiedler wrote:
> On 2006-07-15 06:55:14, mystilleef wrote:
>
> > In very well designed systems, the state of an object should only be
> > changed by the object.
>
> IMO that's not quite true. Ultimately, the state always gets changed by
> something else (u
ng with Python. I
wanted a language that didn't bore me with it semantics and allowed me
to focus on design. Let me reiterate, I'm not obsessing over language
semantics, I just need practical, not religious, solutions for my
problem domain.
Bruno Desthuilliers wrote:
> mystilleef w
Bruno Desthuilliers wrote:
> mystilleef wrote:
> > Bruno Desthuilliers wrote:
> >
> >>mystilleef wrote:
> >>
> (snip)
> >>>>
> >>>>>I have used that name in
> >>>>>dozens of places spanning over 27000 LOC.
>
Ant wrote:
> We seem to be flogging a dead horse now. Is the following a fair
> summary:
>
> Q. What is the Pythonic way of implementing getters and setters?
>
> A. Use attributes.
>
> Quote: "I put a lot more effort into choosing method and function
> names"
>
> Wisdom: Python is a different para
Bruno Desthuilliers wrote:
> mystilleef wrote:
> > Bruno Desthuilliers wrote:
> >
> >>mystilleef wrote:
> >>(snip)
> >>
> >>>Python doesn't have any philosophy with regards to naming identifiers.
> >>
> >>Yes it does.
&g
Bruno Desthuilliers wrote:
> mystilleef wrote:
> > Bruno Desthuilliers wrote:
> >
> >>mystilleef wrote:
> >>
> >>>Lousy Attribute Name:
> >>> self.tmp
> >>>
> >>>Accessors:
> >>> set_tem
Fredrik Lundh wrote:
> "mystilleef" wrote:
>
> > Pretending to be intelligent does, however.
>
> so the real reason you've written a few hundred posts saying basically "I pick
> bad names, which proves... uh... whatever" is to impress peo
Fredrik Lundh wrote:
> "mystilleef" wrote:
>
> >> if your code is as muddled as your rhetorics, your only solution might be
> >> to give up programming.
> >
> > There's no correlation between rhetorics and programming. That's like
> >
Bruno Desthuilliers wrote:
> mystilleef wrote:
> > Marc 'BlackJack' Rintsch wrote:
> >
> >>In <[EMAIL PROTECTED]>, mystilleef
> >>wrote:
> >>
> >>
> >>>Maric Michaud wrote:
> (snip)
>
> >>>>
Fredrik Lundh wrote:
> "mystilleef" wrote:
>
> > Right, and what if I want to change a private API to a public one. How
> > does that solve my naming issues.
>
> if your code is as muddled as your rhetorics, your only solution might be
> to give up programming
Bruno Desthuilliers wrote:
> mystilleef wrote:
> (snip)
> > Python doesn't have any philosophy with regards to naming identifiers.
>
> Yes it does.
No it doesn't.
> >
> >>But they are in Python and that is the python's philosophy. All attribute
Marc 'BlackJack' Rintsch wrote:
> In <[EMAIL PROTECTED]>, mystilleef
> wrote:
>
> > Maric Michaud wrote:
> >> But that's not python philosophy.
> > Python doesn't have any philosophy with regards to naming identifiers.
>
> But the pyth
Bruno Desthuilliers wrote:
> mystilleef wrote:
> > Lousy Attribute Name:
> > self.tmp
> >
> > Accessors:
> > set_temporary_buffer
> > get_temporary_buffer
> >
> > The attribute name I chose, "tmp" sucks.
>
> Well, it&
Maric Michaud wrote:
> Not python developers.
Nonsense!
> But that's not python philosophy.
Python doesn't have any philosophy with regards to naming identifiers.
> But they are in Python and that is the python's philosophy. All attribute or
> method not beginning with an '_' *is* API.
Right, and
r intended purpose. I don't hold data attributes to such
standards and I imagine many developers don't either and least based on
other people's code I've read. Plus there are many occassions when
attributes are not intended to be APIs, but eventually become one.
After all most
Hello,
Thanks for the responses. The reason I want to change the name of the
attribute is because it doesn't reflect the purpose of the attribute,
anymore. The attribute was originally a string object, but not anymore.
It is primarily a readability issue. There are also a few key
attributes I don'
e files to achieve my goal. I could simply change the name of the
attribute and move on. Well, I'm glad python has properties. It's a
feature that should be advertised more, especially for large scale
python development.
Diez B. Roggisch wrote:
> mystilleef wrote:
>
> > Hello,
>
Hello,
What is the Pythonic way of implementing getters and setters. I've
heard
people say the use of accessors is not Pythonic. But why? And what is
the alternative? I refrain from using them because they smell
"Javaish."
But now my code base is expanding and I'm beginning to appreciate the
wisdo
On linux, I recommend Scribes. It's simple, slim and sleek, yet
powerful.
Features:
Automatic completion
Automatic bracket completion and smart insertion
Snippets (ala TextMate)
Bookmarks
Syntax highlight for more than 30 languages
Launches faster than any IDE out their
Has no learning curve.
Fea
Desktop application development
--
http://mail.python.org/mailman/listinfo/python-list
http://scribes.sourceforge.net/
http://scribes.sourceforge.net/snippets.htm (Flash Demo)
Manoj Kumar P wrote:
> Hi,
>
> Can anyone tell me a good python editor/IDE?
> It would be great if you can provide the download link also.
>
> Thank You,
> -Manoj-
>
>
> "SASKEN RATED Among THE Top 3 BEST COM
I agree, use tabs.
--
http://mail.python.org/mailman/listinfo/python-list
The powerful no-nonsense, no-frills, no-hassle, no-fuzz editor,
Scribes. Supports everything you'd want in an editor, it's nimble, fast
and agile, and it has virtually no learning curve.
http://scribes.sourceforge.net/
http://scribes.sourceforge.net/snippets.htm (Flash Demo)
http://www.minds.nui
Thanks for the pointers.
--
http://mail.python.org/mailman/listinfo/python-list
What OS? IDEs are overkill, bloated, complex and slow for agile
languages like Python. You need an editor that is nimble, fast, simple,
powerful and doesn't get in your way. For linux, I suggest Scribes.
http://scribes.sf.net
http://scribes.sf.net/snippets.htm (Flash Demo)
http://www.minds.nuim.
Hello,
I need to design a plug-in system for a project. The goal is
to allow third party developers interact with an application
via plug-ins in a clean and robust manner. At this point I
am overwhelmed by my inexperience with designing plug-in
systems.
Are there any good tutorials on how to desi
I agree. Lists should have a clear method. But what's shocking is that
it doesn't seem obvious to others. list.clear() is a whole lot more
readable, intuitive, "flowable" and desirable than del list. Or maybe I
haven't had enough coffee this morning. I'd go as far as saying all
container objects sh
Good luck finding the best Python IDE. :-)
While you are at it, have a look at Scribes. It's great for Python
editing and it's even written in Python. If you appreciate KISS, I'm
positive you'd appreciate Scribes. And if you yearn for an editor that
doesn't get in your way, or that allows you to f
Scribes
http://scribes.sf.net/
Flash Demo: http://scribes.sf.net/snippets.htm
GIF Demo: http://www.minds.may.ie/~dez/images/blog/scribes.html
--
http://mail.python.org/mailman/listinfo/python-list
Simple, clarity! Ruby reads like Perl's younger cousin.
--
http://mail.python.org/mailman/listinfo/python-list
On Linux you can try out Scribes. It has a function to convert tabs to
spaces. Personally, I use tabs in all my projects.
http://scribes.sf.net/snippets.htm
http://scribes.sf.net/
--
http://mail.python.org/mailman/listinfo/python-list
I'm writing a simple yet powerful text editor for GNOME that is great
for Python development called Scribes. It features
Snippets (ala Textmate/Eclipse)
Automatic word completion
Automatic indentation
Automatic bracket completion
Automatic saving
Bookmarks
Syntax Highlight
etc..
Flash Movie: http
Hello,
Thanks for your response. I was going by the definition in
the manual. I believe a search only returns the first
match of a regular expression pattern in a string and then
stops further searches if one is found. That's not what I
want.
I want a pattern that scans the entire string but avoi
Hello,
Is there a simple flag to set to allow overlapping matches
for the findall() regular expression method? In other words,
if a string contains five occurrences of the string pattern
"cat", calling findall on the string returns a list
containing five "cat" strings. Is it possible for findall()
Hello,
Thanks to all the responders and helpers on the group. I'm learning
everyday.
Thanks
--
http://mail.python.org/mailman/listinfo/python-list
Hello,
Thank you. That's all I needed. For some reason, I had always assumed
forking was an expensive process. I guess I was ill-informed.
--
http://mail.python.org/mailman/listinfo/python-list
64 matches
Mail list logo