Re: Improve usage of Python 3

2015-07-15 Thread Terry Reedy
On 7/14/2015 12:28 PM, Marcos wrote: Hi! Just like many, I want the projects in which I work on to move to Python 3. And incredibly, there are a few users on the same project who refuse to use python 3 simply because of the print statement. That has probably already been discussed, but since I

Re: Improve usage of Python 3

2015-07-15 Thread Chris Angelico
On Wed, Jul 15, 2015 at 2:28 AM, Marcos wrote: > And incredibly, there are a few users on the same project who refuse to use > python 3 simply because of the print statement. Solution: Explain to them the massive benefits of the print function. It may be simpler to omit the parentheses in the cas

Improve usage of Python 3

2015-07-15 Thread Marcos
Hi! Just like many, I want the projects in which I work on to move to Python 3. And incredibly, there are a few users on the same project who refuse to use python 3 simply because of the print statement. That has probably already been discussed, but since I actually couldn't find anything re

Re: usage of python

2008-05-18 Thread Paddy
On May 13, 6:10 pm, Rajarshi <[EMAIL PROTECTED]> wrote: > Hi, I teach an introductory programming course in Python. As part of > the introduction I'd like to highlight theusage of Pythonin > industry. The idea is to show that there are big players using Python > for a variety of tasks. Given that t

Re: usage of python

2008-05-17 Thread Grant Edwards
On 2008-05-13, Rajarshi <[EMAIL PROTECTED]> wrote: > Hi, I teach an introductory programming course in Python. As part of > the introduction I'd like to highlight the usage of Python in > industry. The idea is to show that there are big players using Python > for a varie

Re: usage of python

2008-05-17 Thread Aahz
In article <[EMAIL PROTECTED]>, Rajarshi <[EMAIL PROTECTED]> wrote: > >Is there any list with people/groups/companies using Python for >impressive things? > >Any pointers would be appreciated And one more: http://www.pythonology.com/ -- Aahz ([EMAIL PROTECTED]) <*> http://www.

Re: usage of python

2008-05-16 Thread afrobeard
On May 14, 9:13 pm, Rajarshi <[EMAIL PROTECTED]> wrote: > Thanks to the all posters. This will be very useful! No Problem :). Let me know if you need any code snippets. P.S. I wouldn't mind working with you to prepare introductory material and examples for beginners if it becomes public property.

Re: usage of python

2008-05-14 Thread Rajarshi
Thanks to the all posters. This will be very useful! -- http://mail.python.org/mailman/listinfo/python-list

Re: usage of python

2008-05-14 Thread Rajarshi
On May 13, 6:57 pm, afrobeard <[EMAIL PROTECTED]> wrote: > If I were you, I'd show them actual code and how easy it is to get > things done. Showing them how to implement a GTalk Bot[http:// > code.google.com/p/pygtalkrobot/] or how to build simple arcade games > with PyGame[http://www.pygame.org/n

Re: usage of python

2008-05-13 Thread Ivan Illarionov
On 13 май, 21:10, Rajarshi <[EMAIL PROTECTED]> wrote: > Hi, I teach an introductory programming course in Python. As part of > the introduction I'd like to highlight the usage of Python in > industry. The idea is to show that there are big players using Python > for a varie

Re: usage of python

2008-05-13 Thread Gabriel Genellina
En Tue, 13 May 2008 18:37:10 -0300, Terry Reedy <[EMAIL PROTECTED]> escribió: "Rajarshi" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] | Hi, I teach an introductory programming course in Python. As part of | the introduction I'd like to highl

Re: usage of python

2008-05-13 Thread afrobeard
ductory programming course in Python. As part of > the introduction I'd like to highlight the usage of Python in > industry. The idea is to show that there are big players using Python > for a variety of tasks. Given that the students come from a variety of > backgrounds and are not

Re: usage of python

2008-05-13 Thread Christian Heimes
Rajarshi schrieb: > Hi, I teach an introductory programming course in Python. As part of > the introduction I'd like to highlight the usage of Python in > industry. The idea is to show that there are big players using Python > for a variety of tasks. Given that the students come

Re: usage of python

2008-05-13 Thread Terry Reedy
"Rajarshi" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] | Hi, I teach an introductory programming course in Python. As part of | the introduction I'd like to highlight the usage of Python in | industry. The idea is to show that there are big players using Pyth

Re: usage of python

2008-05-13 Thread globalrev
On 13 Maj, 19:10, Rajarshi <[EMAIL PROTECTED]> wrote: > Hi, I teach an introductory programming course in Python. As part of > the introduction I'd like to highlight the usage of Python in > industry. The idea is to show that there are big players using Python > for a varie

Re: usage of python

2008-05-13 Thread Mike Driscoll
On May 13, 12:10 pm, Rajarshi <[EMAIL PROTECTED]> wrote: > Hi, I teach an introductory programming course in Python. As part of > the introduction I'd like to highlight the usage of Python in > industry. The idea is to show that there are big players using Python > for a

usage of python

2008-05-13 Thread Rajarshi
Hi, I teach an introductory programming course in Python. As part of the introduction I'd like to highlight the usage of Python in industry. The idea is to show that there are big players using Python for a variety of tasks. Given that the students come from a variety of backgrounds and ar

Re: advanced usage of python threads

2008-02-24 Thread Steve Holden
hyperboreean wrote: > Chris, I have already made my choice, I am asking just for a little help > with some documentation. > I know about twisted.enterprise.adbapi, but the company is working with > sqlalchemy at the time. > So please, I know you have good intentions but you're kind of not > help

Re: advanced usage of python threads

2008-02-24 Thread hyperboreean
Chris, I have already made my choice, I am asking just for a little help with some documentation. I know about twisted.enterprise.adbapi, but the company is working with sqlalchemy at the time. So please, I know you have good intentions but you're kind of not helping me :) Well, probably instead

Re: advanced usage of python threads

2008-02-22 Thread Chris Mellon
On Fri, Feb 22, 2008 at 12:32 PM, hyperboreean <[EMAIL PROTECTED]> wrote: > Well, I will be writing the application server of a three-tier > architecture system. I will be using Twisted for the communication with > the client but from there I have to make several calls to a database and > this a

Re: advanced usage of python threads

2008-02-22 Thread hyperboreean
Well, I will be writing the application server of a three-tier architecture system. I will be using Twisted for the communication with the client but from there I have to make several calls to a database and this asks threading. The tables will be filled by another system that gathers some data

Re: advanced usage of python threads

2008-02-22 Thread Christian Heimes
hyperboreean wrote: > Hi, > Is there a document where I can find some advanced information about > python threads? I know the basic things about them and did some > practice, but when I try to advance I don't know where to go or how to go. What's your application doing? Most people are not aware

advanced usage of python threads

2008-02-22 Thread hyperboreean
Hi, Is there a document where I can find some advanced information about python threads? I know the basic things about them and did some practice, but when I try to advance I don't know where to go or how to go. Thanks. -- http://mail.python.org/mailman/listinfo/python-list

Re: How to get memory size/usage of python object

2008-01-10 Thread Steven D'Aprano
On Thu, 10 Jan 2008 00:14:42 -0800, Santiago Romero wrote: >> Would you care to precisely define "REAL size" first? Consider: >> >> >>> atuple = (1, 2) >> >>> mylist = [(0, 0), atuple] >> >> Should sizeof(mylist) include sizeof(atuple) ? > > No, I'm talking about "simple" lists, without REFEREN

Re: How to get memory size/usage of python object

2008-01-10 Thread Remco Gerlich
Hi, The only list without references to other objects in it is [ ]. 0, 1, 2, etc are objects. Every value in Python is a reference to an object. Remco On Jan 10, 2008 9:14 AM, Santiago Romero < [EMAIL PROTECTED]> wrote: > > > Would you care to precisely define "REAL size" first? Consider: > >

Re: How to get memory size/usage of python object

2008-01-10 Thread Santiago Romero
> Would you care to precisely define "REAL size" first? Consider: > > >>> atuple = (1, 2) > >>> mylist = [(0, 0), atuple] > > Should sizeof(mylist) include sizeof(atuple) ? No, I'm talking about "simple" lists, without REFERENCES to another objects into it. I mean: lists = [ 0, 1, 2, 3, 4, (1

Re: How to get memory size/usage of python object

2008-01-09 Thread Tim Chase
Sion Arrowsmith wrote: > Santiago Romero <[EMAIL PROTECTED]> wrote: >> Is there a way to check the REAL size in memory of a python object? >> >> Something like >> >>> print sizeof(mylist) >> [ ... ] > > Would you care to precisely define "REAL size" first? Consider: > atuple = (1, 2)

Re: How to get memory size/usage of python object

2008-01-09 Thread Sion Arrowsmith
Santiago Romero <[EMAIL PROTECTED]> wrote: > Is there a way to check the REAL size in memory of a python object? > > Something like > >> print sizeof(mylist) > [ ... ] Would you care to precisely define "REAL size" first? Consider: >>> atuple = (1, 2) >>> mylist = [(0, 0), atuple] Should sizeo

Re: How to get memory size/usage of python object

2008-01-09 Thread Fredrik Lundh
Santiago Romero wrote: > Is there a way to check the REAL size in memory of a python object? in standard Python, without reading the interpreter source code carefully, no. to get an approximate value, create a thousand (or a million) objects and check how much the interpreter grows when you d

How to get memory size/usage of python object

2008-01-09 Thread Santiago Romero
Is there a way to check the REAL size in memory of a python object? Something like > print sizeof(mylist) or > print sizeof(myclass_object) or something like that ... Thanks. -- http://mail.python.org/mailman/listinfo/python-list