On behalf of the Python development team, I'm happy to announce the
first beta release of Python 3.3.0.
This is a preview release, and its use is not recommended in
production settings.
Python 3.3 includes a range of improvements of the 3.x series, as well
as easier porting between 2.x and 3.x.
On 6/26/2012 9:12 PM, Adam wrote:
Host OS:Ubuntu 10.04 LTS
Guest OS:Windows XP Pro SP3
I am able to open port COM4 with Terminal emulator.
So, what can cause PySerial to generate the following error ...
C:\Wattcher>python wattcher.py
Traceback (most recent call last):
File "wattche
Host OS:Ubuntu 10.04 LTS
Guest OS:Windows XP Pro SP3
I am able to open port COM4 with Terminal emulator.
So, what can cause PySerial to generate the following error ...
C:\Wattcher>python wattcher.py
Traceback (most recent call last):
File "wattcher.py", line 56, in
ser.open()
On 06/26/2012 05:48 PM, Hans Mulder wrote:
> On 26/06/12 22:41:59, Dave Angel wrote:
>
> No, I meant: $ type python python is
> /Library/Frameworks/Python.framework/Versions/2.7/bin/python 'type' is
> a bash builtin that tells you how bash would interpret a command.
> 'which' is a separate progra
Hi Steven,
On 26.06.12 04:18, Steven D'Aprano wrote:
On Mon, 25 Jun 2012 23:36:59 +0200, Christian Tismer wrote:
I saw quite a lot of downloads of this package now, but not a single
reaction or any feedback.
Feel fortunate that you are getting any downloads at all :)
In my experience, if yo
On 26/06/2012 23:35, Dennis Lee Bieber wrote:
(And, on Windows at least, #! lines don't do
anything)
New for Python 3.3 http://www.python.org/dev/peps/pep-0397/
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list
On Wed, 27 Jun 2012 07:39:42 +1000, Chris Angelico wrote:
> On Wed, Jun 27, 2012 at 7:08 AM, John Nagle wrote:
>> The Python 3 to MySQL connection is still a mess.
>> The original developer of MySQLdb doesn't want to support Python 3.
>
> This is where I would start asking: How hard is it to
On 26/06/2012 22:36, Chris Angelico wrote:
(You posted privately to me again; I hope you don't mind my responding
on-list as this appears to have been merely oversight.)
On Wed, Jun 27, 2012 at 5:25 AM, Charles Hixson
wrote:
Only thing is, this whole mess started when I was trying to trace dow
On 26/06/12 22:41:59, Dave Angel wrote:
> On 06/26/2012 03:16 PM, Hans Mulder wrote:
>>
>>
>> Python is an executable, and is
>> typically located in a "bin" directory. To find out where
>> it is, type
>>
>> type python
>>
>> at the shell prompt (that's the first prompt you get if you
>> ope
On Wed, Jun 27, 2012 at 7:08 AM, John Nagle wrote:
> The Python 3 to MySQL connection is still a mess.
> The original developer of MySQLdb doesn't want to support
> Python 3.
This is where I would start asking: How hard is it to migrate to
another SQL database (eg Postgres)? That is, assuming
(You posted privately to me again; I hope you don't mind my responding
on-list as this appears to have been merely oversight.)
On Wed, Jun 27, 2012 at 5:25 AM, Charles Hixson
wrote:
> Only thing is, this whole mess started when I was trying to trace down and
> expected error. (Which turned out t
On 6/25/2012 1:36 AM, Stefan Behnel wrote:
gmspro, 24.06.2012 05:46:
Why has python3 been created as a seperate language where there is still
python2.7 ?
The intention of Py3 was to deliberately break backwards compatibility in
order to clean up the language. The situation is not as bad as y
On 06/26/2012 03:16 PM, Hans Mulder wrote:
>
>
> Python is an executable, and is
> typically located in a "bin" directory. To find out where
> it is, type
>
> type python
>
> at the shell prompt (that's the first prompt you get if you
> open a Terminal window).
>
>
That's a typo. You presu
Hi,
I have need for a distutils that supports msvc10, and which can be back-fitted
into Python 2.6. Is there such a beast?
Thanks in advance,
Tom
This email and any attachments are intended solely for the use of the
individual or entity to whom it is addressed and may be confidential and/or
On 26/06/12 21:51:41, Dennis Lee Bieber wrote:
> On Tue, 26 Jun 2012 10:19:45 -0700 (PDT), David Thomas
> declaimed the following in gmane.comp.python.general:
>
>
>> http://www.freeimagehosting.net/ilbqt
>
> That's an interesting configuration...
>
> "pythonw.exe" is a version of
Sonika,
On 26/06/2012 01:34, Sonika Sardana wrote:
`
===
**Job Description**:
Short description of position Looking for a strong PHP developer who is
comfortable with some Linux administration and open to lear
On 26/06/12 20:11:51, David Thomas wrote:
> On Monday, June 25, 2012 7:19:54 PM UTC+1, David Thomas wrote:
>> Hello,
>> This is my first post so go easy on me. I am just beginning to program
>> using Python on Mac. When I try to execute a file using Python Launcher my
>> code seems to cause an
On Tue, Jun 26, 2012 at 10:19 AM, David Thomas wrote:
> I have installed Python 2.7.3 from Python.org also in Terminal it states that
> I have 2.7.3.
> How can I execute the script from Terminal? I've tried typing python into
> the window and then dragging the file to terminal but I get a synta
On Monday, June 25, 2012 7:19:54 PM UTC+1, David Thomas wrote:
> Hello,
> This is my first post so go easy on me. I am just beginning to program using
> Python on Mac. When I try to execute a file using Python Launcher my code
> seems to cause an error in terminal, when I execute the exact same
(You forgot to include the list on this message, but I'm including them
in my reply)
On 06/26/2012 02:07 PM, David Thomas wrote:
>
>
> On Tuesday, June 26, 2012 6:37:42 PM UTC+1, Dave Angel wrote:
>>
>> On 06/26/2012 01:19 PM, David Thomas wrote:
>>> I have installed Python 2.7.3 from Python.or
On Tuesday, June 26, 2012 6:37:42 PM UTC+1, Dave Angel wrote:
> On 06/26/2012 01:19 PM, David Thomas wrote:
> > I have installed Python 2.7.3 from Python.org also in Terminal it states
> > that I have 2.7.3.
> > How can I execute the script from Terminal? I've tried typing python into
> > the wi
On 06/26/2012 01:19 PM, David Thomas wrote:
> I have installed Python 2.7.3 from Python.org also in Terminal it states that
> I have 2.7.3.
> How can I execute the script from Terminal? I've tried typing python into
> the window and then dragging the file to terminal but I get a syntax error.
On 26/06/12 18:30:15, J wrote:
> This is driving me batty... more enjoyment with the Python3
> "Everything must be bytes" thing... sigh...
> I have a file that contains a class used by other scripts. The class
> is fed either a file, or a stream of output from another command, then
> interprets th
J, 26.06.2012 18:30:
> def _reader(self, file, size=4096, delimiter=r"\n{2,}"):
> buffer_old = ""
> while True:
> buffer_new = file.read()
> print(type(buffer_new))
> if not buffer_new:
> break
> lines = re.split(delimi
I have installed Python 2.7.3 from Python.org also in Terminal it states that I
have 2.7.3.
How can I execute the script from Terminal? I've tried typing python into the
window and then dragging the file to terminal but I get a syntax error. Sorry
I am new to Python and just want to know how I
On 6/26/12 5:30 PM, J wrote:
This is driving me batty... more enjoyment with the Python3
"Everything must be bytes" thing... sigh...
I have a file that contains a class used by other scripts. The class
is fed either a file, or a stream of output from another command, then
interprets that output
This is driving me batty... more enjoyment with the Python3
"Everything must be bytes" thing... sigh...
I have a file that contains a class used by other scripts. The class
is fed either a file, or a stream of output from another command, then
interprets that output and returns a set that the main
Thanks, this seems to be just what I need.
--
http://mail.python.org/mailman/listinfo/python-list
On 26 June 2012 04:20, Saurabh Kabra wrote:
> Thanks guys
>
> I implemented a numpy array with fancy indices and got rid of the list and
> the loops. The time to do the mapping improved ~10x. As a matter of fact,
> the number of elements in array A to be summed and mapped was different for
> each
Christian Tismer wrote:
Abour tiffany...
On 6/25/12 3:46 AM, Christian Tismer wrote:
Tiffany - Read/Write Multipage-Tiff with PIL without PIL
Tiffany stands for any tiff. The tiny module solves a large set of
problems, has no dependencie
On Tue, 26 Jun 2012 02:15:17 -0400, Devin Jeanpierre wrote:
>> Making print a statement in the first place was a mistake, but
>> fortunately it was a simple enough mistake to rectify once the need for
>> backward compatibility was relaxed.
>
> Hmmm, why is the function so much better than the sta
Peter Otten wrote:
>>>helpfunc = getattr(self, "do_" + name[5:]).help
>
> i. e. it looks for getattr(self, "do_help") which does exist and then
Sorry that should be getattr(self, "do_done").
--
http://mail.python.org/mailman/listinfo/python-list
Josh English wrote:
> On Sunday, June 24, 2012 1:07:45 AM UTC-7, Peter Otten wrote:
>>
>> You cannot access a class instance because even the class itself doesn't
>> exist yet. You could get hold of the class namespace with
>> sys._getframe(),
>>
>> def add_help(f):
>> exec """\
>> def help_
33 matches
Mail list logo