Re: Why Python 3?

2014-04-18 Thread Paul Rubin
Anthony Papillion writes: > Some say 'Python 3 is the future, use it for everything now' and other > say 'Python 3 is the future but you can't do everything in it now so > use Python 2'. Python 3 is generally better than Python 2, except for a few packages that haven't been ported. That said, I

Re: Why Python 3?

2014-04-18 Thread Ethan Furman
On 04/18/2014 08:28 PM, Anthony Papillion wrote: What is the general feel of /this/ community? I'm about to start a large scale Python project. Should it be done in 2 or 3? What are the benefits, aside from the 'it's the future' argument? This community is also split. ;) Use Python 3 if you

Re: Why Python 3?

2014-04-18 Thread Andrew Berg
On 2014.04.18 22:28, Anthony Papillion wrote: > What is the general feel of /this/ community? I'm about to start a > large scale Python project. Should it be done in 2 or 3? What are the > benefits, aside from the 'it's the future' argument? Python 3 is not the future; it is the present. If you're

Re: Why Python 3?

2014-04-18 Thread Ryan Hiebert
If you are starting a new project, I'd highly encourage you to use Python 3. It is a stable, well supported, and beautiful language, and gives you the full power of the innovation that is current in the Python world. Python 2 is still well supported (for a while to come), but you won't have the sam

Re: TeX $\times$ symbol not working in matplotlib?

2014-04-18 Thread Larry Hudson
On 04/18/2014 04:14 PM, gwhite wrote: [snip] Yeah, I have noticed that they don't seem to be needed, but I think I remember reading "someplace-somewhere" that a backslash means a line continuation, and perhaps I saw some author put them in. So I did it out of trying to be "strict." I'm not s

Why Python 3?

2014-04-18 Thread Anthony Papillion
Hello Everyone, So I've been working with Python for a while and I'm starting to take on more and more serious projects with it. I've been reading a lot about Python 2 vs Python 3 and the community kind of seems split on which should be used. Some say 'Python 3 is the future, use it for everythin

Re: TeX $\times$ symbol not working in matplotlib?

2014-04-18 Thread gwhite
On Friday, April 18, 2014 10:04:17 AM UTC-7, Peter Otten wrote: > gwhite wrote: > > > plt.title(' '.join([r'$\mathrm{poles}$', r'$(\times)$',\ > > r'$\mathrm{\&}$', r'$\mathrm{zeros}$', > > r'$(\circ)$', r'$\mathrm{of}$',\ > > r'$T(s)T(

Re: module and namespace

2014-04-18 Thread Egon Frerich
Am 18.04.2014 21:18, schrieb Dave Angel: > Egon Frerich Wrote in message: >> I have a problem with a namespace. >> > > So you started 4 separate threads to complain about it? Keep any > further remarks on the thread where you got a useful response. > > > Excuse me for that. The mail serve

Re:module and namespace

2014-04-18 Thread Dave Angel
Egon Frerich Wrote in message: > I have a problem with a namespace. > So you started 4 separate threads to complain about it? Keep any further remarks on the thread where you got a useful response. -- DaveA -- https://mail.python.org/mailman/listinfo/python-list

module and namespace

2014-04-18 Thread Egon Frerich
I have a problem with a namespace. There is a module mptt (actally from Django). If I import this module with the interpreter it tells me the namespace: Python 3.3.5 (default, Apr 12 2014, 23:34:20) [GCC 4.6.3] on linux Type "help", "copyright", "credits" or "license" for more information. >>> imp

module and namespace

2014-04-18 Thread Egon Frerich
If I use the interpreter I get: Python 3.3.5 (default, Apr 12 2014, 23:34:20) [GCC 4.6.3] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import mptt >>> print(mptt) >>> But if I import mptt in my program the print-statement gives What is the meaning? When

module and namespace

2014-04-18 Thread Egon Frerich
If I use the interpreter I get: Python 3.3.5 (default, Apr 12 2014, 23:34:20) [GCC 4.6.3] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import mptt >>> print(mptt) >>> But if I import mptt in my program the print-statement gives What is the meaning? When

Re:TeX $\times$ symbol not working in matplotlib?

2014-04-18 Thread Dave Angel
gwhite Wrote in message: > Hi, > > I am trying to understand how to get the TeX "\times" symbol to work. It is > in the title() string in the code I pasted in. The "\circ" symbol seems > fine, by comparison. "\times" ends up as "imes" in the figure title. > > I am probably doing something d

Re: TeX $\times$ symbol not working in matplotlib?

2014-04-18 Thread Peter Otten
gwhite wrote: > plt.title(' '.join([r'$\mathrm{poles}$', r'$(\times)$',\ > r'$\mathrm{\&}$', r'$\mathrm{zeros}$', > r'$(\circ)$', r'$\mathrm{of}$',\ > r'$T(s)T(-s)$']), fontsize=16) Note that adjacent string literals on the same line or

Re: TeX $\times$ symbol not working in matplotlib?

2014-04-18 Thread gwhite
On Friday, April 18, 2014 9:24:55 AM UTC-7, Chris "Kwpolska" Warrick wrote: > On Fri, Apr 18, 2014 at 6:18 PM, gwhite wrote: > > > I am trying to understand how to get the TeX "\times" symbol to work. It > > is in the title() string in the code I pasted in. The "\circ" symbol seems > > fine,

Re: TeX $\times$ symbol not working in matplotlib?

2014-04-18 Thread Chris “Kwpolska” Warrick
On Fri, Apr 18, 2014 at 6:18 PM, gwhite wrote: > I am trying to understand how to get the TeX "\times" symbol to work. It is > in the title() string in the code I pasted in. The "\circ" symbol seems > fine, by comparison. "\times" ends up as "imes" in the figure title. > > I am probably doing

TeX $\times$ symbol not working in matplotlib?

2014-04-18 Thread gwhite
Hi, I am trying to understand how to get the TeX "\times" symbol to work. It is in the title() string in the code I pasted in. The "\circ" symbol seems fine, by comparison. "\times" ends up as "imes" in the figure title. I am probably doing something dumb (hey, maybe a lot of dumb things!),

Re: module and namespace

2014-04-18 Thread Peter Otten
Egon Frerich wrote: [Egon, please post in plain test, not html. Thank you] > I have a problem with a namespace. There is a module mptt (actally from > Django). If I import this module with the interpreter it tells me the > namespace: > > Python 3.3.5 (default, Apr 12 2014, 23:34:20) > [GCC 4.6.3

module and namespace

2014-04-18 Thread Egon Frerich
I have a problem with a namespace. There is a module mptt (actally from Django). If I import this module with the interpreter it tells me the namespace: Python 3.3.5 (default, Apr 12 2014, 23:34:20) [GCC 4.6.3] on linux Type "help", "copyright", "credits" or "license" for more information.