New submission from Mike Rooney mroo...@gmail.com:
On http://docs.python.org/dev/py3k/whatsnew/3.1.html under unittest
changes, you will find the last new function listed is assertIsNotNot()
instead of assertIsNotNone()
--
assignee: georg.brandl
components: Documentation
messages: 86388
and whether or not you need special widgets.
- Mike
--
http://mail.python.org/mailman/listinfo/python-list
-client (in which case, use the GuiProgramming wiki
link Mike sent), or you're doing web development targeting
browsers in which case you should investigate the myriad web
programming frameworks for Python (Django, Turbogears, CheryPy,
web.py, webstack, etc).
There's a third type of application
it display a
picture for a few seconds and then disappear. wxPython has a built-in
splash screen widget made for just this purpose. Tkinter may too, or
you could just roll your own in it.
- Mike
--
http://mail.python.org/mailman/listinfo/python-list
NOT NULL IDENTITY(1,1),
PRIMARY KEY (chiave)
)
Stefano
Try re-posting to the SqlAlchemy mailing list. They'll be able to tell
you.
Mike
--
http://mail.python.org/mailman/listinfo/python-list
instructions for how to do that:
http://wiki.wxpython.org/MakingSampleApps
It would be good to know what mode you are using for your ListCtrl.
List view, report, icon or what? The demo doesn't have any white space
at the end, so I can't test this easily. Are you using a sizer to hold
the widget?
- Mike
would be to keep a list of the widgets that you want to be
able to change the color of, and then loop over the list and change
their respective colors as needed.
Mike
--
http://mail.python.org/mailman/listinfo/python-list
the wx.EVT_CLOSE event and ignor it in the handle function.
This is the preferred method...there is a slight caveat that when you
actually want to close the dialog, you'll need to use the dialog's
Destroy() method...
- Mike
--
http://mail.python.org/mailman/listinfo/python-list
release as there are some goofy things going on with
the manifest files. Maybe this doesn't affect Linux users
though...however, if you experience weird issues, that may be the
cause...or you didn't build it correctly.
If you need help building wxPython, please post to the wxPython list.
- Mike
--
http
I'd like to ship only the .pyc files for a module. I was hoping the
standard distutils setup.py could handle this, but so far, I've not
figured out how.
After a bit of work, I discovered that if I create a MANIFEST.in file,
and put 'include mymodule/*.pyc' and 'exclude mymodule/*.py' in it,
then
# or
EssentialPDF.SomeModule
/code
At least, that's how it seems to work for most .NET libraries. Hope
that helps.
- Mike
--
http://mail.python.org/mailman/listinfo/python-list
?
Mike
--
http://mail.python.org/mailman/listinfo/python-list
contextmenu.pyo, line 9, in module
ImportError: No module named shell
Redirecting output to win32trace remote collector
Well, if you have tortoisehg installed, uninstall it. That was what
was giving me this exact error with wxPython file dialogs.
Mike
--
http://mail.python.org/mailman/listinfo/python
, in module
File tbzr.pyo, line 60, in get_all_com_classes
File contextmenu.pyo, line 9, in module
ImportError: No module named shell
Redirecting output to win32trace remote collector
On 4/13/2009 2:28 PM Mike Driscoll apparently wrote:
Well, if you have tortoisehg installed
(SQLcmd, (myValues))
#sets and returns SQL variable.
SQLcmd=select + myReturnKey + :=last_insert_id();
cursor.execute(SQLcmd)
return myReturnKey
On Sat, Apr 11, 2009 at 7:38 AM, Diez B. Roggisch de...@nospam.web.de wrote:
Mike H schrieb:
Thanks to all of you.
FYI, I'm doing
Well, I'm an idiot. Obviously, the line VALUES (%s, %s, %s); needs
to be modified to adapt for the number of arguments in the list. But
otherwise
On Sat, Apr 11, 2009 at 11:28 AM, Mike H cmh.pyt...@gmail.com wrote:
Ok, thanks again to everyone for their suggestions, even if it appears
I
this problem?
Again, thanks for your patience and help with a newbie.
Michael
On Sat, Apr 11, 2009 at 11:53 AM, Mike H cmh.pyt...@gmail.com wrote:
Well, I'm an idiot. Obviously, the line VALUES (%s, %s, %s); needs
to be modified to adapt for the number of arguments in the list. But
otherwise
it.
Thanks,
On Sat, Apr 11, 2009 at 4:18 PM, George Sakkis george.sak...@gmail.com wrote:
On Apr 11, 3:03 pm, Mike H cmh.pyt...@gmail.com wrote:
Can I not use the cursor.execute command to pass variables that aren't
immediately next to each other? If so, is there a better way to go
about solving
.
Hopefully this isn't a homework question, but even if it is, it's an
interesting exercise.
Mike
--
http://mail.python.org/mailman/listinfo/python-list
Hello all, I have a question about the if/else aspect of list comprehension:
I would like to go through a list and place quotes around an item if
it is a string, and keep the item the same if it's anything else:
e.g.['a',9,'8b'] -- ['a', 9, '8b']
I understand that if/else list comprehension
a function correct the
list for me, rather than calling the function with a strangely quoted
list e.g. [''test'', 1, ''two''].
Again, thanks.
On Fri, Apr 10, 2009 at 5:18 PM, John Yeung gallium.arsen...@gmail.com wrote:
On Apr 10, 5:07 pm, Mike H cmh.pyt...@gmail.com wrote:
From playing around
(and was written by a
college professor) and I've heard good things about ORielly's Learning
Python by Lutz.
- Mike
--
http://mail.python.org/mailman/listinfo/python-list
the meeting language will be mainly German, we will provide
English translation if needed.
Current information about the meetings are at
http://www.python-academy.com/user-group .
Mike
== Leipzig Python User Group ===
Wir treffen uns am Dienstag, 07.04.2009 um 20:00 Uhr
im Schulungszentrum der Python
Hello all,
I'm writing a web app and wanted to do some html generation (I really do not
like to maintain or write html).
I'm thinking of writing a dsl based on the following:
def html():
return
def a():
return
def body():
return
(html,
...(head, (style, id, {font-color:black}))
to aid
in the development of games, all of which can be easily installed on
common platforms.
Enjoy yourselves,
Mike
--
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org
via Yahoo mail Service .
Thanks
Google's first hit was this:
http://developer.yahoo.com/python/
It's not a library, but it's the way that Yahoo itself recommends.
- Mike
--
http://mail.python.org/mailman/listinfo/python-list
and it's fun! We even have a mailing list.
See our website for more details. We hope to see you there!
Mike Driscoll
Pyowa Organizer
www.pyowa.org
__ Information from ESET NOD32 Antivirus, version of virus signature
database 3979 (20090331) __
The message was checked by ESET
. It looks like
Rebecca is using Python 2.2, which might be the issue. I would also
upgrade to the latest PyWin32 as well. I'm using 212.
- Mike
--
http://mail.python.org/mailman/listinfo/python-list
Mike Coleman m...@users.sourceforge.net added the comment:
My original report didn't mention it specifically, but I believe I was
hitting the FD_SETSIZE limit that Frank mentioned. (Thanks for working
on this!)
--
___
Python tracker rep
Mike Coleman m...@users.sourceforge.net added the comment:
Just to confirm, the real problem here was that tiny packets were being
sent out by default, and the obvious fix (altering ac_out_buffer_size)
didn't work.
Looking at the code, it appears that the change by Josiah Carlson
(#64062
on out! Bring your friends, even if they
think Perl is the coolest thing since sliced bread. We'll set them
straight!
Mike Driscoll
www.pyowa.org
--
http://mail.python.org/mailman/listinfo/python-list
On Mar 30, 10:33 am, Mike Driscoll kyoso...@gmail.com wrote:
Hi,
This is just a reminder that we have a Pyowa meeting this week. It
will be held at Durham Center in Ames, IA on the ISU campus from 7-9
p.m. Directions are on the website (www.pyowa.org). Topics include the
following:
1) What
or am I missing something?
If it works that way in IDLE and from the command line python, then
it's almost proof positive that pydev goofed up.
Mike
--
http://mail.python.org/mailman/listinfo/python-list
Mike Rotondo mroto...@gmail.com added the comment:
From the source, it seems that there is undocumented behavior to
SequenceMatcher which is causing this error. If b is longer than 200
characters, it will consider any element x in b that takes up more than
1% of it's contents as popular
On Mar 19, 7:24 am, Anthra Norell anthra.nor...@bluewin.ch wrote:
Bruno Desthuilliers wrote:
Chris Rebert a écrit :
On Wed, Mar 18, 2009 at 6:09 AM, Anthra Norell
anthra.nor...@bluewin.ch wrote:
Would anyone who knows the inner workings volunteer to clarify
whether or
not every
, the latter of which has a digital booklet
by the author. There are also lots of tutorials online for the stdlib
way of doing things, which is typically using minidom. Here are a
couple of links to the 3rd party packages:
http://pyparsing.wikispaces.com/
http://codespeak.net/lxml/
HTH
- Mike
--
http
There are also some books that walk you through Tkinter application
creation, for example,Lutz's Programming Python.
- Mike
--
http://mail.python.org/mailman/listinfo/python-list
EuroSciPy 2009
==
We're pleased to announce the EuroSciPy 2009 Conference to be held in
Leipzig, Germany on July 25-26, 2009.
http://www.euroscipy.org
This is the second conference after the successful conference last
year. Again, EuroSciPy will be a venue for the European
in Tkinter at the
time.
Mike
--
http://mail.python.org/mailman/listinfo/python-list
register itself in Windows correctly.
Mike
--
http://mail.python.org/mailman/listinfo/python-list
-hosting.com/
You might also look at cx_freeze or bbfreeze.
Mike
--
http://mail.python.org/mailman/listinfo/python-list
to remove it. Otherwise you'll have to hack the
registry to stop the startup or run msconfig and stop auto-start
there.
Mike
--
http://mail.python.org/mailman/listinfo/python-list
.
Mike
--
http://mail.python.org/mailman/listinfo/python-list
just use the Java
implementations...
Mike
--
http://mail.python.org/mailman/listinfo/python-list
On Mar 18, 2:14 pm, Tim Wintle tim.win...@teamrubber.com wrote:
On Wed, 2009-03-18 at 11:13 -0700, Mike Driscoll wrote:
On Mar 18, 1:09 am, Gabriel Genellina gagsl-...@yahoo.com.ar
Any decent installer is able to register a program so it runs on startup
(InnoSetup, by example). Anyway
and then use their
debugger to interact with the variables and objects and such.
Mike
--
http://mail.python.org/mailman/listinfo/python-list
Mike Meyer m...@users.sourceforge.net added the comment:
True. But hat's why it was a QAD hack - all I did was make sure it didn't blow
up on the
test code, and that it passed the provided unit tests.
It really needs to walk the class tree. So something like
hasattr(inst.__class__
Topic:
OpenGL 3.1: A whole new OpenGL (Mike Fletcher)
Further:
A preview of the PyCon 2009 presentation on OpenGL 3.1: A whole new
OpenGL. We'll be looking at what the legacy-free OpenGL programming
model looks like, and how you access it via PyOpenGL. The upcoming
OpenGL 3.1
You might want to look at the path module:
http://pypi.python.org/pypi/path.py/2.2
It will probably make your code more readable.
On Thu, Mar 12, 2009 at 8:10 AM, Vlastimil Brom vlastimil.b...@gmail.comwrote:
Hi all,
I'd like to ask for some advice on how to acomplish file access in a
cross
and archives:
https://lists.sourceforge.net/lists/listinfo/py2exe-users
Mike
--
http://mail.python.org/mailman/listinfo/python-list
Mike Coleman m...@users.sourceforge.net added the comment:
I also ran into this bug.
In my case I'm able to work around this by reserving some fds at the
start of my program (open 20 reserved fds, open 2000 real fds, close 20
reserved fds), but this is both a kludge and not a general solution
Mike Meyer m...@users.sourceforge.net added the comment:
I don't believe in documenting bugs instead of fixing them. If this bug
is going to stay in the code, I can either fix my install of Python to
have non-broken Pickle modules, or I can fix every third-party libraries
objects I use whose
Mike Meyer m...@users.sourceforge.net added the comment:
QAD patch for 2.6 pickle.py to fix this bug. Passes the 2.6 pickle unit
tests.
--
message_count: 5.0 - 6.0
Added file: http://bugs.python.org/file13290/pp
___
Python tracker rep
On Mar 8, 3:52 am, iu2 isra...@elbit.co.il wrote:
On Mar 6, 6:52 pm, Mike Driscoll kyoso...@gmail.com wrote:
...
Can you post a sample application so we can try to figure out what's
wrong? You might also cross-post this to thewxPythonmailing list.
They might know.
Mike- Hide quoted
is going wrong?
Thank you very much
iu2
Can you post a sample application so we can try to figure out what's
wrong? You might also cross-post this to the wxPython mailing list.
They might know.
Mike
--
http://mail.python.org/mailman/listinfo/python-list
a Mac and thus, have not used py2app...see
their docs for complete info.
Mike
--
http://mail.python.org/mailman/listinfo/python-list
http://www.holdenweb.com/
Want to know? Come to PyCon - soon!http://us.pycon.org/
Perhaps you're looking for this:
http://www.ddj.com/TechSearch/searchResults.jhtml?queryText=python
Gabriel has been including the link in his Python roundup weekly
email...
Mike
--
http://mail.python.org
on the path, you'll have to do something like
this instead:
c:\python26\python.exe setup.py install
Hopefully that will get you going.
Mike
--
http://mail.python.org/mailman/listinfo/python-list
kind of collection. See the following sites for
more info:
http://docs.python.org/tutorial/datastructures.html#list-comprehensions
http://www.secnetix.de/~olli/Python/list_comprehensions.hawk
http://www.network-theory.co.uk/docs/pytut/ListComprehensions.html
Mike
--
http://mail.python.org/mailman
you're reading from a file, it will just read each line
as a string. So you'd probably need to either try casting the line
into something else and catch it in an exception handler or use eval.
The normal way to check types is to use the keyword isinstance or just
use the type keyword.
Mike
--
http
On Mar 3, 11:44 am, Chris Rebert c...@rebertia.com wrote:
On Tue, Mar 3, 2009 at 9:03 AM, Mike Driscoll kyoso...@gmail.com wrote:
- Show quoted text -
On Mar 3, 10:57 am, Oltmans rolf.oltm...@gmail.com wrote:
I'm reading from a file that contains text like
5
google_company
you
like.
Mike
--
http://mail.python.org/mailman/listinfo/python-list
...@techclique.com
Yahoo IM : aniket_mitta...@yahoo.com
Contact No : 732-357-3844
Is your email program broken or what? Why are you sending the same
exact message 5 times!?
Mike
--
http://mail.python.org/mailman/listinfo/python-list
on a server.
Mike
--
http://mail.python.org/mailman/listinfo/python-list
and it's not open source, so I don't see how I can take a
look at it.
The developers for Digsby announced it on the wxPython list for some
reason, so I was a little disappointed when the source was
unavailable.
Mike
On Mon, Mar 2, 2009 at 8:34 PM, Mike Driscoll kyoso...@gmail.com wrote:
On Feb 28
Mike Meyer m...@users.sourceforge.net added the comment:
The args attribute gets created by __init__ and nothing in the class
removes it. I don't think it's unreasonable for the class to expect the
attribute to not vanish on it. Possibly it should be spelled __args (or
declared private
implementing this?
Any suggestions are appreciated.
Perhaps you're looking for the curses module?
http://www.amk.ca/python/howto/curses/
Mike
--
http://mail.python.org/mailman/listinfo/python-list
New submission from Mike Meyer m...@users.sourceforge.net:
The attached short file causes all of python 2.5, 2.6 and 3.0 to drop
into infinite recursion trying to unpickle the created object, but the
2.5 version has the cleanest The problem appears to be that the unpickle
code (C in 3.0; Python
Mike Frysinger vap...@users.sourceforge.net added the comment:
Garrett: your configure method is overly complicated. all you need to
do is set --build=binos_c3.4.3-p1.mips64-octeon-linux. autoconf will
figure out all the other toolchain settings.
___
Python
it!
Mike
--
http://mail.python.org/mailman/listinfo/python-list
...@craig-wood.com --http://www.craig-wood.com/nick
Maybe he wants SendKeys? Here's the link just in case:
http://pypi.python.org/pypi/SendKeys/0.3
Mike
--
http://mail.python.org/mailman/listinfo/python-list
, wxPython, django)
have their own specific lists. Join them as needed.
Mike
--
http://mail.python.org/mailman/listinfo/python-list
anything else you feel should be said about the program, let me know.
http://www.vrplumber.com/py3d.py#supy
Have fun,
Mike
--
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http
I use Fabric (http://www.nongnu.org/fab/) as my Python-based
deployment tool, but it uses ssh/scp, not sftp.
--
http://mail.python.org/mailman/listinfo/python-list
New submission from mike bayer mike...@zzzcomputing.com:
this occurs for me running on Mac OSX Leopard. The equivalent code
using processing in python 2.5 works fine, which is how I found this
bug - my code hung when upgraded to 2.6.Basically initiating a
multiprocessing.Pool inside
to the path), just like any other good 3rd party
package. I'm not sure why you're even talking about IDLE...wxPython is
a GUI toolkit, not an IDE.
Mike
--
http://mail.python.org/mailman/listinfo/python-list
with the line
print line
f.close()
Of course, you can read just portions of the file too, using something
like this:
f.read(64)
Which will read 64 bytes. For more info, check the following out:
http://www.diveintopython.org/file_handling/file_objects.html
- Mike
--
http://mail.python.org/mailman
approach. I'm sure there are many others.
Mike
--
http://mail.python.org/mailman/listinfo/python-list
On Feb 19, 4:22 pm, Mike Driscoll kyoso...@gmail.com wrote:
On Feb 19, 3:56 pm, oamram oam...@gmail.com wrote:
Hi Pythonist,
new to python. i have a directory with about 50 text file and i need to
iterate through them and get
line 7 to 11 from each file and write those lines into another
New submission from Mike Coleman m...@users.sourceforge.net:
$ python2.5 -c 'print((1, 2, 3))' /dev/full || echo error status
close failed: [Errno 28] No space left on device
$
The above sequence should also output 'error status' before the next
prompt. That is, python should not be returning
Mike Coleman m...@users.sourceforge.net added the comment:
Oops, I should have used the old python print syntax. Nonetheless, the
behavior is the same:
$ python2.5 -c 'print 1, 2, 3' /dev/full || echo error status
close failed: [Errno 28] No space left on device
$
--
components
New submission from Mike Coleman m...@users.sourceforge.net:
$ python2.6 -c 'print 1, 2, 3' /dev/full || echo error status
close failed in file object destructor:
Error in sys.excepthook:
Original exception was:
$
It seems like something other than blank lines should be printed here
New submission from Mike Coleman m...@users.sourceforge.net:
$ python3.0 -c 'print((1, 2, 3))' /dev/full || echo error status
$
This command gives no indication whatsoever that anything has gone
wrong. Following this with strace demonstrates that the interpreter is
in fact ignoring
Mike Coleman m...@users.sourceforge.net added the comment:
Also, as with the other python versions, notice that the error status is
EXIT_SUCCESS (which it should not be).
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5320
operations, don't call flush
() or commit() or just call rollback() BEFORE you do any real
operations.
There is a good sqlalchemy mailing list where even the developers hang
out and answer questions. I'm sure they could point you in the right
direction too.
Mike
BTW : why you choose elixir
to look at the python database connector's docs and/or
MySQL's docs to know how to do that. It would help to know what you
are using to connect to the database: pyodbc, adodb, sqlalchemy?
Most of those packages have their own mailing lists, but you're
welcome to post here too.
Mike
--
http
outweighed my
interest.
HTH,
Mike
--
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
'
KeyboardInterrupt
IDLE commands---
cbpin=open(pathincbp,'r')
cbpin
open file 'c:/potomac_points_data/sub1/cbp_PA0026051.txt', mode 'r'
at 0x01450380
I am running in windows xp professional 2002 service pack 3 on a Xeon
dell
Thanks,
Mike
--
http://mail.python.org/mailman/listinfo
of Python 2.6 in another virtualenv. See
http://pypi.python.org/pypi/virtualenv for more info.
As long as your 3rd party packages are pure python, you should be ok.
If they depend on c/c++ headers, then you may have issues.
Mike
--
http://mail.python.org/mailman/listinfo/python-list
: www.speckledwithstars.net/
I like IDLE too. However, I've experienced seemingly random crashes
when programming wxPython programs in it. As already stated, the
mainloops clash from time to time. So now I use Wingware or just edit
the files in IDLE and run the program by double-click or via command
line.
Mike
--
http
there and then not enjoy it because I
was at the 'other' hotel.
...
Jay Graves
As I understand it, the hotels are connected via a skywalk, so I don't
think it will be a big deal either way. It just means a little extra
walking.
Mike
--
http://mail.python.org/mailman/listinfo/python-list
it
in a completely separate process, such as Wingware's IDE.
Mike
--
http://mail.python.org/mailman/listinfo/python-list
://www.pygame.org/news.html
HTH
Mike
--
http://mail.python.org/mailman/listinfo/python-list
hosts...
Mike
--
http://mail.python.org/mailman/listinfo/python-list
from another Tk app, the
two mainloops clash and have weird issue like this one.
If you just double-click it or run it from the command line, you only
have one mainloop (i.e. the one that's part of your app). Thus, no
conflicts.
Mike
--
http://mail.python.org/mailman/listinfo/python-list
Mike Coleman m...@users.sourceforge.net added the comment:
I'll go down to the cemetery and see if I can dig one up. :-)
All of our Tru64 machines have been powered-down for over three years
now, so as far as I'm concerned you can mark this one as no longer relevant
and similar support to make the coding a
reasonable task. However, they're closer to a Maya/3DSMax model than
AutoCAD, so maybe you'll decide you want to go your own way.
You may want to check out PythonCAD as well, which IIRC does 2D-only CAD.
Anyway, hope this was some help. Good luck,
Mike
of helpful tips and tricks
there.
Mike
--
http://mail.python.org/mailman/listinfo/python-list
like eric. Links
are below:
http://eric-ide.python-projects.org/index.html
http://www.wingware.com/
Other editors: http://wiki.python.org/moin/PythonEditors
Mike
--
http://mail.python.org/mailman/listinfo/python-list
than any other complicated third
party package. Reportlab comes to mind...and the wxPython list members
are very helpful.
Mike
--
http://mail.python.org/mailman/listinfo/python-list
1001 - 1100 of 3413 matches
Mail list logo