On behalf of the Python development team, I'm happy to announce the
first alpha 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.
I can't seem to wrap my head around all the necessary arguments for making a
widget expand when a window is resized. I've been following along with a
tutorial and I feel like I'm doing everything it said, but I must be missing
something. Here's what I have. What I expect is that when I resize th
On Sunday, March 4, 2012 7:39:27 PM UTC-6, Rick Johnson wrote:
> On Mar 2, 11:06 pm, John Salerno wrote:
> > I'm tempted just to go back to wxPython. Two sets of widgets in Tkinter is
> > a little annoying.
>
> Your complaint is justified. The Tkinter API is a disgrace. IDLE's
> source is just a
> That would be a Notepad++ problem. That "" gibberish is what you
> get when a Unicode BOM (Byte Order Mark) character is encoded as UTF-8
> but decoded as ISO-8859-1 or CP-1252. A BOM is not recommended for
> UTF-8 text; there should be some setting in Notepad++ to suppress it.
You are my new
On Sun, Mar 4, 2012 at 7:51 PM, John Salerno wrote:
> Unfortunately neither method worked. Adding "-r" to the path created this
> error when I tried it:
>
> *** Error in script or command!
>
> Traceback (most recent call last):
> File "C:\Users\John\Documents\Python Scripts\chess_pieces.py"
Unfortunately neither method worked. Adding "-r" to the path created this error
when I tried it:
>>>
*** Error in script or command!
Traceback (most recent call last):
File "C:\Users\John\Documents\Python Scripts\chess_pieces.py", line 1
class ChessPiece:
^
SyntaxError: i
On Sun, Mar 4, 2012 at 3:07 PM, John Salerno wrote:
> I'm trying to get Notepad++ to launch IDLE and run the currently open file in
> IDLE, but all my attempts have failed so far. I'm wondering, am I even using
> the IDLE path correctly? I'm using this:
>
> "C:\Python32\Lib\idlelib\idle.pyw" "$(
You might check out pymite. http://wiki.python.org/moin/PyMite Oh, but
I'm now realizing that's part of the python on a chip project, so in a way
it's already been mentioned.
Anyway, PyMite, I gather, is a tiny python for microcontrollers.
On Sun, Mar 4, 2012 at 2:58 AM, Justin Drake wrote:
>
On Sunday, March 4, 2012 6:58:50 PM UTC+8, Justin Drake wrote:
> I am working with an ARM Cortex M3 on which I need to port Python
> (without operating system). What would be my best approach? I just
> need the core Python and basic I/O.
Sounds like the JVM law suites in ANDROINDS did stimulate a
On Sun, Mar 04, 2012 at 05:39:27PM -0800, Rick Johnson wrote:
> On Mar 2, 11:06 pm, John Salerno wrote:
> > I'm tempted just to go back to wxPython. Two sets of widgets in Tkinter is
> > a little annoying.
>
> Your complaint is justified. The Tkinter API is a disgrace. IDLE's
> source is just as
On 3/3/12 12:06 AM, John Salerno wrote:
I suppose the 'advantage' of this is that it will replace tk widgets
with equivalent ttk widgets, if they exist and have the same name. I
believe one has to program them differently, however, so the replacement
cannot be transparent and one mush know anyway
In article ,
Kevin Walzer wrote:
> On 2/1/12 3:01 PM, Terry Reedy wrote:
> > On 2/1/2012 10:17 AM, Franck Ditter wrote:
> >
> >> I would prefer to use IDLE but as we are in France, the Python team
> >> does not seem to be aware that the ~ and others are not available
> >> on MacOS-X here (probabl
A followup to a thread in 2011-12.
In article ,
Ned Deily wrote:
> In article ,
> Franck Ditter wrote:
> > In article ,
> > Ned Deily wrote:
> > > In article ,
> > > Franck Ditter wrote:
> > > > All is in the subject. I'm starting to use Python with Idle 3.2.2
> > > > on MacOS-X Lion (Fren
On Mar 2, 11:06 pm, John Salerno wrote:
> I'm tempted just to go back to wxPython. Two sets of widgets in Tkinter is a
> little annoying.
Your complaint is justified. The Tkinter API is a disgrace. IDLE's
source is just as bad. Luckily i have not made the jump to py3000 full-
time yet, but when
I've done little with Ciscos, but what if you use individual things like
"show ip ospf", "show ip rip database", etc. instead of "show ip route".
Does that makes things a little more consistent?
Often big problems are simpler if we can divide them into smaller, more
manageable subproblems.
On S
Hi All,
Long time reader, first time poster. I'm trying to parse the output
of the SHOW IP ROUTE command from a cisco router (It's a 3800 Series
IOS 12.4 although almost all should have same output format) and put
it into a CSV format to import into a database or spreadsheet.
While we of course h
I'm trying to get Notepad++ to launch IDLE and run the currently open file in
IDLE, but all my attempts have failed so far. I'm wondering, am I even using
the IDLE path correctly? I'm using this:
"C:\Python32\Lib\idlelib\idle.pyw" "$(FULL_CURRENT_PATH)"
(That last part puts in the full path to
On 03/03/2012 21:43, Ben Finney wrote:
I don't see a need to horse around with Git either :-) It's currently in
Subversion, right? Can you not export the VCS history from Google Code's
Subversion repository to a ‘fastimport’ stream? Maybe someone with
experience on that site can help us.
What's
I don't know if anyone has sent this in before.
> I loaded the current version of Python on my computer to learn the
> programming and, I believe, it helps my Blender to work. Anyway,
> occassionally, I get an error on the screen, before I have started running
> programs, that states "python25.dll
Thanks Chris,
I isolated it using logging
import logging
logging.basicConfig(filename="test3.log", level=logging.INFO)
then logging.info('sniffer got to point A')
and going through my code until I isolated the problem to a function with scapy
called sniff. For some reason this function oper
Jeff Beardsley wrote:
The problem with that though: I am not calling reload(), except to
recreate the error as implemented by the web frameworks.
I am also unlikely to get a patch accepted into several different
projects, where this is ONE project, and it's a simple change
Simple -- maybe.
A. Lloyd Flanagan wrote:
On Friday, March 2, 2012 6:49:39 PM UTC-5, Ethan Furman wrote:
Jeff Beardsley wrote:
HISTORY:
...
What you should be doing is:
import decimal
from decimal import Decimal
reload(decimal)
Decimal = decimal.Decimal # (rebind 'Decimal' to the reloaded cod
hi all, when installing sage, there is a problem with emacs.py
so, this screen appeared after rynning ./sage
--
| Sage Version 4.4.2, Release Date: 2010-05-19 |
| Type notebook() for the GUI, and license() for
On 2012-03-04, Chris Rebert wrote:
> On Sat, Mar 3, 2012 at 9:38 PM, Damjan Georgievski wrote:
>> How can I get the *really* original command line that started my python
>> interpreter?
> On Linux, you can read from:
> /proc//cmdline
> to get the null-delimited "command line".
And if what y
> Perhaps if you show us what you actually do, and what happens, we might
> be able to tell you what is happening. Please COPY AND PASTE the full
> traceback.
Here is my code:
# Trying to make callable staticmethod
class sm(staticmethod):
def __call__(self, *args, **kwargs):
""" I know
Petr Jakes wrote:
>
>> What file format is the graphic in? How big is it?
>>
>> What file format do you want it to be?
>>
>
> Now, I am able to create the png file with the resolution 432x64
> using PIL (using draw.text method for example).
>
> I would like to get the 432x64 True/False (Black/
On Sunday, March 4, 2012 4:58:50 AM UTC-6, Justin Drake wrote:
> I am working with an ARM Cortex M3 on which I need to port Python
> (without operating system). What would be my best approach? I just
> need the core Python and basic I/O.
The python-on-a-chip project (p14p) (http://code.google.com/
On Sun, Mar 4, 2012 at 5:58 AM, Justin Drake wrote:
> I am working with an ARM Cortex M3 on which I need to port Python
> (without operating system). What would be my best approach? I just
> need the core Python and basic I/O.
How much time are you willing to budget to this? Porting something to
Justin Drake, 04.03.2012 11:58:
> I am working with an ARM Cortex M3 on which I need to port Python
> (without operating system). What would be my best approach? I just
> need the core Python and basic I/O.
The "without operating system" bit should prove problematic. Can't you just
install Linux o
> What file format is the graphic in? How big is it?
>
> What file format do you want it to be?
>
Now, I am able to create the png file with the resolution 432x64 using
PIL (using draw.text method for example).
I would like to get the 432x64 True/False (Black/White) lookup table
from this file,
On Friday, March 2, 2012 6:49:39 PM UTC-5, Ethan Furman wrote:
> Jeff Beardsley wrote:
> > HISTORY:
...
>
> What you should be doing is:
>
>import decimal
>from decimal import Decimal
>
>reload(decimal)
>Decimal = decimal.Decimal # (rebind 'Decimal' to the reloaded code)
>
>
On Sun, 04 Mar 2012 02:28:16 -0800, Petr Jakes wrote:
> I would like to convert simple B/W graphic to the 432x64 pixel matrix.
> It is intended to display this graphic on the one color LED matrix
> sign/display (432 LEDs width, 64 LEDs height). I am experimenting with
> the PIL, but I did not find
I would like to convert simple B/W graphic to the 432x64 pixel matrix.
It is intended to display this graphic on the one color LED matrix
sign/display (432 LEDs width, 64 LEDs height).
I am experimenting with the PIL, but I did not find solution there.
It will be really helpful If somebody here ca
On Sun, 04 Mar 2012 16:03:56 +0700, Sirotin Roman wrote:
> Hi.
> How exactly jython decides is object callable or not? I defined __call__
> method but interpreter says it's still not callable. BTW, my code works
> in cpython
Works for me.
steve@runes:~$ jython
*sys-package-mgr*: processing modif
On Mar 4, 2012 9:04 AM, "Sirotin Roman" wrote:
>
> Hi.
> How exactly jython decides is object callable or not? I defined
> __call__ method but interpreter says it's still not callable.
> BTW, my code works in cpython
It will help if you show us the code.
--
Arnaud
--
http://mail.python.org/mai
Hi.
How exactly jython decides is object callable or not? I defined
__call__ method but interpreter says it's still not callable.
BTW, my code works in cpython
--
http://mail.python.org/mailman/listinfo/python-list
Hi all
I have been using 'import' for ages without particularly thinking about it -
it just works.
Now I am having to think about it a bit harder, and I realise it is a bit
more complicated than I had realised - not *that* complicated, but there are
some subtleties.
I don't know the correct t
37 matches
Mail list logo