Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Backslash frowned upon?

0 views
Skip to first unread message

wxPyt...@gmail.com

unread,
May 13, 2008, 6:25:06 AM5/13/08
to
Why is the \ backslash character frowned upon? Can I still use it in
Python 3.0 to achieve the same thing it was designed to do?

Gabriel Genellina

unread,
May 13, 2008, 6:42:03 AM5/13/08
to pytho...@python.org
En Tue, 13 May 2008 07:25:06 -0300, <wxPyt...@gmail.com> escribió:

> Why is the \ backslash character frowned upon? Can I still use it in
> Python 3.0 to achieve the same thing it was designed to do?

Uh... where do you get your (mis)information about 3.0?
See http://docs.python.org/dev/3.0/whatsnew/3.0.html

--
Gabriel Genellina

Paul Melis

unread,
May 13, 2008, 6:54:39 AM5/13/08
to
wxPyt...@gmail.com wrote:
> Why is the \ backslash character frowned upon? Can I still use it in
> Python 3.0 to achieve the same thing it was designed to do?

Yes, it's still valid to use in a script.

See http://docs.python.org/dev/3.0/whatsnew/3.0.html for the big changes
coming with 3.0

Paul

casti...@gmail.com

unread,
May 13, 2008, 7:27:17 AM5/13/08
to
On May 13, 5:54 am, Paul Melis <p...@science.uva.nl> wrote:

> wxPytho...@gmail.com wrote:
> > Why is the  \  backslash character frowned upon? Can I still use it in
> > Python 3.0 to achieve the same thing it was designed to do?
>
> Yes, it's still valid to use in a script.
>
> Seehttp://docs.python.org/dev/3.0/whatsnew/3.0.htmlfor the big changes
> coming with 3.0
>
> Paul

I have just discovered the escape key. Do you honor it?

Marc 'BlackJack' Rintsch

unread,
May 13, 2008, 7:35:24 AM5/13/08
to
On Tue, 13 May 2008 03:25:06 -0700, wxPythoner wrote:

> Why is the \ backslash character frowned upon?

Is it frowned upon?

Ciao,
Marc 'BlackJack' Rintsch

J. Clifford Dyer

unread,
May 13, 2008, 8:06:28 AM5/13/08
to pytho...@python.org
On Tue, 2008-05-13 at 03:25 -0700, wxPyt...@gmail.com wrote:
> Why is the \ backslash character frowned upon? Can I still use it in
> Python 3.0 to achieve the same thing it was designed to do?
> --
> http://mail.python.org/mailman/listinfo/python-list
>

Many people think it looks ugly, but it still works, and there are times
when nothing else will do, so it should continue to work for the
foreseeable future.

Cheers,
Cliff

0 new messages