On 7/17/14, 12:30 PM, Rick Johnson wrote:
You know, you would fit in nicely in the American public
school system, since American teachers are not only free of
the requirement of teaching, they are actually*COMPELLED*
not to do so by the greedy unions.
Hi Rick,
I know a lot of American public
On 6/27/14, 2:19 AM, suburb4nfi...@gmail.com wrote:
Hello I finished the codeacademy python course a week ago and my goal is to
start developing websites (both back and front end) ,my question is do i start
the web dev tuts and learn the holes of knoledge on the go or continue to learn
On 6/27/14, 11:12 AM, alister wrote:
On Fri, 27 Jun 2014 08:18:24 -0700, Paul McNett wrote:
On 6/27/14, 2:19 AM, suburb4nfi...@gmail.com wrote:
Hello I finished the codeacademy python course a week ago and my goal
is to start developing websites (both back and front end) ,my question
is do i
On 6/18/14, 10:20 AM, cutey Love wrote:
I'm trying to read in 10 lines of text, use some functions to edit them and
then return a new list.
How is it that you are opening the file, and iterating the contents?
The problem is my program always goes not responding when the amount of lines
On 6/16/14, 11:20 PM, Jaydeep Patil wrote:
I have two powerpoints, which consists of images in each slide.
I need to read each powerpoint, copy images from both powerpoint paste these
images into output powerpoint side by side.
How should i do thism using python?
The repoisition of shapes
On 6/18/14, 3:32 PM, cutey Love wrote:
Hi, thanks for the replies,
I mean windows displays Not responding close the program now
How can I do it asynconistrically?
It's simple code just open file, loop through line by line and do some
comparons with the string.
To get anything better from
On 6/18/14, 4:03 PM, cutey Love wrote:
I'm trying to write data to a text file
But I'm getting the error:
TypeError: invalid file: _io.TextIOWrapper
Always better to err on posting too much context (the entire traceback)
than too little.
Code is
def saveFile():
file_path =
On 5/31/14, 11:36 AM, tokib...@gmail.com wrote:
Suds is defacto python SOAP client, but it does not mainte recent few years.
Why?
Is it really the defacto? It seems like I've heard more about
pysimplesoap, and looking at GitHub there have been commits in the past
4 days.
As far as why it
On 5/29/14, 7:47 PM, Chris wrote:
I'm trying to read ten 200 MB textfiles into a MySQL MyISAM database
(Linux, ext4). The script output is suddenly stopping, while the Python
process is still running (or should I say sleeping?). It's not in top,
but in ps visible.
Does it stop in the same
tav wrote:
I'm keen to know your experiences even if you don't manage to write to
the filesystem -- and especially if you do!
Does it count when it breaks some standard libs that aren't even trying to write to
the filesystem?
mac:ss pmcnett$ python sbs_studio.py pkm
Traceback (most recent
Mark Dickinson wrote:
On Jan 8, 1:00 am, Paul McNett p...@ulmcnett.com wrote:
It displays '3E+1' instead of '30.0'.
As I can't reproduce I'm looking for an idea brainstorm of what could be causing
this. What would be choosing to display such a normal number in scientific
notation?
Ideas
Paul McNett wrote:
Mark Dickinson wrote:
On Jan 8, 1:00 am, Paul McNett p...@ulmcnett.com wrote:
It displays '3E+1' instead of '30.0'.
As I can't reproduce I'm looking for an idea brainstorm of what could
be causing
this. What would be choosing to display such a normal number in
scientific
Ben Finney wrote:
Paul McNett p...@ulmcnett.com writes:
But arguing about this here isn't going to change anything: opinions
differ just like tabs/spaces and bottom-post/top-post.
In cases like this, one side can simply be wrong :-)
Best of luck getting your programs behaving as you want
One of my users has reported that my app is giving them scientific notation instead
of decimal notation for one specific value among many that display properly. I am
unable to reproduce on my end, and this is the first I've heard of anything like this
since the app's launch 2 years ago.
The
Robert Kern wrote:
Paul McNett wrote:
One of my users has reported that my app is giving them scientific
notation instead of decimal notation for one specific value among many
that display properly. I am unable to reproduce on my end, and this is
the first I've heard of anything like
[Some day hopefully I'll remember to change the to: address to python-list@python.org
instead of the original sender. I always end up sending the first reply to the
sender, then going oops, forgot to hit 'reply-all', and sending another copy to the
list.]
Ben Finney wrote:
Paul McNett p
Ben Finney wrote:
Paul McNett p...@ulmcnett.com writes:
[Some day hopefully I'll remember to change the to: address to
python-list@python.org instead of the original sender.
Even better: Take full advantage of the standards-compliant messages
from the list, by using the “Reply to list
Colin J. Williams wrote:
The ReportLab toolkit appears to be concerned with building Portable
Document Files. I would be interested in any utility which will read
any pdf - for example, to convert pdf - html
I don't know of any Python utility to do this, but pdftohtml, pdftotext, pdftoppm,
Mr.SpOOn wrote:
Anyway, I think I can use a chain of if-clauses, one per rule and at
the end remove the notes marked with no. But this seems to me a very
bad solution, not so pythonic. Before I proceed for this way, do you
have any suggestion? Hope the problem is not too complicated.
I say,
Steven D'Aprano wrote:
On Sun, 19 Oct 2008 20:50:46 +0200, Stef Mientki wrote:
Duncan, in windows it's begin to become less common to store settings in
DocsSettings,
because these directories are destroyed by roaming profiles
The directories aren't destroyed by roaming profiles. When the
Steven D'Aprano wrote:
On Thu, 28 Aug 2008 16:28:03 -0700, Paul McNett wrote:
[EMAIL PROTECTED] wrote:
x=[1,2,3]
and
x=[1,2,3,]
are exactly the same, right?
When confronted with this type of question, I ask the interpreter:
{{{
mac:~ pmcnett$ python
Python 2.5.2 (r252:60911, Feb 22 2008
Anyone have anything to suggest on this error:
{{{
Traceback (most recent call last):
File shutter_studio.py, line 41, in module
File App.pyo, line 25, in module
File ui\__init__.pyo, line 23, in module
File ui\FrmProductionOrders.pyo, line 10, in module
File
Thomas Heller wrote:
Paul McNett schrieb:
Anyone have anything to suggest on this error:
{{{
Traceback (most recent call last):
File shutter_studio.py, line 41, in module
File App.pyo, line 25, in module
File ui\__init__.pyo, line 23, in module
File ui\FrmProductionOrders.pyo, line
[EMAIL PROTECTED] wrote:
x=[1,2,3]
and
x=[1,2,3,]
are exactly the same, right?
When confronted with this type of question, I ask the interpreter:
{{{
mac:~ pmcnett$ python
Python 2.5.2 (r252:60911, Feb 22 2008, 07:57:53)
[GCC 4.0.1 (Apple Computer, Inc. build 5363)] on darwin
Type help,
James Mills wrote:
I must point out though that although they contain
the same elements/data, they are not the same
object/instance.
True, but the OP wanted equality:
I want to be
sure I'm generating an equivalent data structure.
Paul
--
http://mail.python.org/mailman/listinfo/python-list
Gary Josack wrote:
Trent Mick wrote:
Manuel Vazquez Acosta wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Just test for maxint value:
from sys import maxint
if maxint 33:
print more than 32 bits # probably 64
else:
print 32 bits
I believe that was already suggested in this
Leo Lee wrote:
I need a window's handle to be passed to external c++.
Thanks in advance
import wx
help(wx.Window.GetHandle)
GetHandle(*args, **kwargs) unbound wx._core.Window method
GetHandle(self) - long
Returns the platform-specific handle (as a long integer) of the
physical
Silas Snider wrote:
Full-time academic year position
Salary range: $2819 - $4404 per month ( $16.26 - $25.41 per hour)
The following knowledge, skills and experience are necessary for this
position:
Expert Python and SQL programming skills, and proficiency with
Javascript, CSS, XHTML and web
Grant Edwards wrote:
On 2008-06-14, Torsten Bronger [EMAIL PROTECTED] wrote:
I've never used any of the designers, but I agree 100% that
wxPython code is nasty ugly. wxPython has a very un-Pythonic
API that's is, IMO, difficult to use.
I know that such requests may start a never-ending thread
Nikhil wrote:
I am reading a file with readlines method of the filepointer object
returned by the open function. Along with reading the lines, I also need
to know which line number of the file is read in the loop everytime.
I am sure, the line should have the property/attribute which will say
Gregor Horvath wrote:
None = 0
True
More accurately:
None 0
True
Why?
Is there a logical reason?
None is less than everything except for itself:
None 'a'
True
None False
True
None == None
True
In my humble opinion, I think that comparisons involving None should
return None,
Vaibhav.bhawsar wrote:
I have been trying to get the DictCursor working with mysqldb module but
can't seem to. I have pasted the basic connection code and the traceback
from pydev. The connection does open with the default cursor class.
can't figure this one out. many thanks.
Try one of:
globalrev wrote:
if i want a function that can take any amount of arguments how do i
do?
Put an asterisk before the argument name.
lets say i want a function average that accepts any number of integers
and returns the average.
def avg(*args):
return sum(args) / len(args)
There are some
Andy Smith wrote:
Im trying to run a Python based program which uses MySQL with
python-sqlite and Im recieving this error,
'Connection' object has no attribute 'autocommit'
I´ve had a google for this and its seems like it may be a bug
python-sqlite or sqlite bug , but also I
dzizes wrote:
I'm trying to run simple .py on linux, which is using PIL. Below error
message which I receive:
IOError: decoder jpeg not available
Do you know what might be the problem?
No, but google seems to:
http://effbot.org/zone/pil-decoder-jpeg-not-available.htm
Paul
--
Steven D'Aprano wrote:
Linux/Unix/Mac admins may be excused for saying that they've never come
across a .BAT file at all.
$ locate .bat | wc -l
14
$ locate .sh | wc -l
606
$ locate .bat | wc -l
115
$ locate .sh | wc -l
763
$ locate .py | wc -l
44030
Hmmm... that matched all the .pyo
Carl K wrote:
Yes. But I don't want to rely on wx - trying to use just native mac python
(whatever they ship with)
Since OSX 10.4, Mac ships with wxPython installed.
Paul
--
http://paulmcnett.com
--
http://mail.python.org/mailman/listinfo/python-list
Hans Müller wrote:
Hi,
I'd like to modify some tables in a database in one transaction.
This approach doesn't work:
import MySQLdb
con = MySQLdb.connect(servernam, user = username, passwd = verysecret,
db = test, use_unicode = True, charset = utf8)
cursor = con.cursor()
Abandoned wrote:
Hi.
I want to copy my database but python give me error when i use this
command.
cursor.execute(pg_dump mydata old.dump)
What is the problem ? And how can i copy the database with python ?
You are just going to have to give us more to go on. Please post the
entire
Abandoned wrote:
Hi..
I want to do this:
for examle:
12332321 == 12.332.321
How can i do?
Assuming that the dots are always in the 3rd and 7th position in the string:
def conv(s, sep=.):
l = [s[0:3], s[3:6], s[6:]]
return sep.join(l)
print conv(12332321)
--
pkm ~
Abandoned wrote:
On Oct 31, 10:18 pm, Paul McNett [EMAIL PROTECTED] wrote:
Abandoned wrote:
Hi..
I want to do this:
for examle:
12332321 == 12.332.321
How can i do?
Assuming that the dots are always in the 3rd and 7th position in the string:
def conv(s, sep=.):
l = [s[0:3], s
[EMAIL PROTECTED] wrote:
On Oct 19, 7:32 am, Florian Lindner [EMAIL PROTECTED] wrote:
Hello,
I have a string:
INSERT INTO mailboxes (`name`, `login`, `home`, `maildir`, `uid`,
`gid`, `password`) VALUES (%s, %s, %s, %s, %i, %i, %s)
that is passed to a MySQL cursor from MySQLdb:
ret =
Matthieu Brucher wrote:
If this is the way of using sqlite, it is still cumbersome as a
lot of
other classes that work on files can work on file-like (and isn't
it the
whole point of Python ;) ?
I don't think that sqlite can work on streams, or on file-like
Matthieu Brucher wrote:
I want to create a temporary database that is downloaded for the net. So
I want to use a temporary file that will be deleted at the end of my
program. For this, I wanted to use tempfile.TemporaryFile. The problem
with Windows is that I can't give to sqlite3.connect()
Matthieu Brucher wrote:
Are you aware that you can do an in-memory database (IOW no file at
all)?
cur = sqlite.connect (:memory:)
Yes, but in this case, how can I use the DB that I downloaded from the net ?
Ah, sorry, I guess I missed that part.
If this is the way of using
Lamonte Harris wrote:
Like say you don't got python installed, but you want to test code is
there a way?(School)
Like way, dude, check this out:
http://www.portablepython.com/
--
pkm ~ http://paulmcnett.com
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
I am working on a loop for my code and was wondering if there is a way
to limit the number of lines read through? I'd hate to cut the test
file in order to run the code in the testing phase. Can you add a
value in the parenthesis of the readline() function?
t =
Greg Lindstrom wrote:
This may be more of a Linux question, but I'm hoping some of you may be
able to help me.
I have a python (2.4) routine running on Gentoo Linux. It creates a
file and, after the file is complete, renames the file using the
os.rename() command. When I run the file
I administer email for a few clients of mine, using Postfix. One of the
policies that is in place is SPF-checking, and rejecting messages
accordingly. This has been working well for months.
However, today a user called me to complain that they weren't able to
get confirmed with PayPal to set
Niklas Ottosson wrote:
I need to get hold of the mouse position and also need to be able to
change it. In windows I have used ctypes.windll.user32.getCursorPos()
and ctypes.windll.user32.setCursorPos() with great success in my program
but now I also need to make a Mac OS X version of the
Steve Holden wrote:
When someone starts to push the limits of PHP they either continue to
push until they get where they want to be (producing an ugly or
ill-maintained bunch of code along the way) or they choose a more
appropriate tool.
The latter behavior is typical of programmers. The
Frank Millman wrote:
I guess the point of all this rambling is that my thought process is
leading me towards my third option, but this would be a bit of work to
set up, so I would appreciate any comments from anyone who has been
down this road before - do I make sense, or are there better ways
Paul Rubin wrote:
Frank Millman [EMAIL PROTECTED] writes:
Any suggestions will be much appreciated.
Why on earth don't you write the whole thing as a web app instead of
a special protocol? Then just use normal html tags to put images
into the relevant pages.
I believe he has a full
Calvin Spealman wrote:
On 7/22/07, Paul McNett [EMAIL PROTECTED] wrote:
Paul Rubin wrote:
Frank Millman [EMAIL PROTECTED] writes:
Any suggestions will be much appreciated.
Why on earth don't you write the whole thing as a web app instead of
a special protocol? Then just use normal
meg99 wrote:
I just downloaded 2.5 and read the readme file. It says Before you
can build Python, you must first confiigure itStart by running the
script ./configure.
I can't find ./configure
I am running Windows XP SP2
You downloaded the wrong file. You want the Windows Installer:
meg99 wrote:
On Jul 12, 4:24 pm, Paul McNett [EMAIL PROTECTED] wrote:
meg99 wrote:
I just downloaded 2.5 and read the readme file. It says Before you
can build Python, you must first confiigure itStart by running the
script ./configure.
I can't find ./configure
I am running Windows XP
meg99 wrote:
On Jul 12, 4:35 pm, Paul McNett [EMAIL PROTECTED] wrote:
meg99 wrote:
On Jul 12, 4:24 pm, Paul McNett [EMAIL PROTECTED] wrote:
meg99 wrote:
I just downloaded 2.5 and read the readme file. It says Before you
can build Python, you must first confiigure itStart by running
Sherm Pendley wrote:
Gabriel Genellina [EMAIL PROTECTED] writes:
En Wed, 13 Jun 2007 17:35:19 -0300, Paul McNett [EMAIL PROTECTED] escribió:
Tempo wrote:
Has anyone sucesfully built a *.exe file on a mac operating system
before from a *.py file? I have been trying to do
John Fisher wrote:
Ted [EMAIL PROTECTED] wrote:
On Jun 14, 1:31 pm, Kevin Walzer [EMAIL PROTECTED] wrote:
John Fisher wrote:
Hi Groupies,
I have an Intel Macbook running OS X 10.4.
It came installed with Python 2.3.5. I have since installed MacPython
with version 2.4.4, cool.
When I open
Tempo wrote:
Has anyone sucesfully built a *.exe file on a mac operating system
before from a *.py file? I have been trying to do this with
pyinstaller, but I keep getting errors and I don't know how to install
UPX properly. I tried putting the linux UPX folder in my python 2.4
directory, but
Chris Fonnesbeck wrote:
I have a script set up to perform UPDATE commands on an sqlite database
using the sqlite3 module. Everything appears to run fine (there are no
error messages), except that none of the UPDATE commands appear to have
actually updated the table. If I run each command on
gert wrote:
I made something that i was hoping it could make people happy enough
so i could make a living by providing support for commercial use of
http://sourceforge.net/projects/dfo/
But in reality i am a lousy sales men and was wondering how you people
sell stuff as a developer ?
In my
[EMAIL PROTECTED] wrote:
We have been using the Google recommended python script for about a
year.
Which script would that be? Googling for 'python script' yields approx.
27 million hits.
We recently realized that the script was not crawling our sites
url's, but just our folders which
Peter Decker wrote:
On 5/22/07, daniel gadenne [EMAIL PROTECTED] wrote:
I'm considering moving over to dabo for wxpython development.
However I do not write traditional database applications
à la foxpro (I'm a 20 years user of fox...) anymore.
Only xml-fed applications.
I'm a bit hesitant
[EMAIL PROTECTED] wrote:
Just wondering on what peoples opinions are of the GUIs avaiable for
Python?
Python has, I believe, 4 compelling choices for GUI library: Tkinter,
wxPython, PyQt, and PyGTK. Like everything in life, each has their
relative merits and downsides. Briefly, here are my
Jia Lu wrote:
I donot want to use a real DB like MySQL ... But I need something to
save about more than 1000 articles.
Is there any good ways?
(in Python 2.5):
#-- begin
import sqlite3.dbapi2 as sqlite
con = sqlite.connect(path/to/new/filename.db)
cur = con.cursor()
cur.executescript(
Sebastian 'lunar' Wiesner wrote:
Paul McNett [EMAIL PROTECTED] typed
Steven D'Aprano wrote:
But I think we all agree that mixing tabs and spaces is A Very Bad
Thing.
I like mixing tabs and spaces, actually. Tabs for indentation, and
additional spaces to make the code look pretty. Somebody
Steven D'Aprano wrote:
But I think we all agree that mixing tabs and spaces is A Very Bad Thing.
I like mixing tabs and spaces, actually. Tabs for indentation, and
additional spaces to make the code look pretty. Somebody please tell
me why this is bad and I'll stop.
class Apple(object):
Luc Heinrich wrote:
Peter Decker [EMAIL PROTECTED] wrote:
You're full of it. I routinely write GUI apps in Dabo for both Windows
and Linux users, and they look just fine on both platforms.
Oh, I'm sure you do. Now go try to run one of your Dabo apps on a Mac
and see how it looks/feels...
bill ramsay wrote:
none of this matters, all i am trying to find out is whether or not
the local MSDE is actually running.
If it is a local MSDE then you may be able to rely on the connection
being refused if the server isn't running.
#-- begin
import socket
host = 127.0.0.1
port = 1433 ##
Michael B. Trausch wrote:
GISDude wrote:
Mike,
I totally forgot that MS Works was out there. Haven't used that one in
about 6 or 7 years. Honestly, your best bet is to convert to .csv or
some delimited .txt file. Once that is done, all your rows/columns will
be nice and neat .
Once that is
kath wrote:
Hello, sorry about the lengthy message.
I finding difficult to execute this program. The wx.Notebook i created
is coming on the splitted frame(self.p2). How do I that. I am started
to learn wxPython, and when I run the code, the code doesnot close
gracefully, it throughs me an
Alexander Klingenstein wrote:
I need to take a bunch of .doc files (word 2000) which have a little text
including some tables/layout and mostly pictures and comvert them to a pdf
and extract the text and images separately too. If I have a pdf, I can do
create the html with pdftohtml called
that will fail, please enlighten me.
--
Paul McNett
http://paulmcnett.com
http://dabodev.com
--
http://mail.python.org/mailman/listinfo/python-list
probably in element 0. Put in a print
statement before your call to urlopen() like:
print u
You'll likely discover your error.
--
Paul McNett
http://paulmcnett.com
http://dabodev.com
--
http://mail.python.org/mailman/listinfo/python-list
') # open the sheet in the
'dOH! smack's head. Change to self.connect(fileId, ...)
:)
--
Paul McNett
http://paulmcnett.com
http://dabodev.com
--
http://mail.python.org/mailman/listinfo/python-list
you set the execute bit on your script? What's
the output in your web server error log?
--
Paul McNett
http://paulmcnett.com
http://dabodev.com
--
http://mail.python.org/mailman/listinfo/python-list
John Salerno wrote:
One of the things I learned with C# is that it's always better to handle
any errors that might occur within the codes itself (i.e. using if
statements, etc. to catch potential out of range indexing) rather than
use too many try/catch statements, because there is some
John Salerno wrote:
But I read in the PEP that spaces are recommended over tabs. If this is
If you like tabs, stick with tabs. There isn't any reason to use spaces
unless your boss is demanding it. Tabs are the slightly better choice,
in my humble opinion.
That said, you should be able to
john peter wrote:
in java, i can prevent a block of code from executing
by bracketing the block with comment indicators, as shown
below:
/*
statement1 will not execute;
statement2 will not execute;
*/
statement3 will execute
is there a similar mechanism in python, other than
Pawel wrote:
I plan to make Visual Reporting Editior, a new product for
corporate-class systems. Data will be in XML and in my application,
designer should be able to make fascinating templates of reports. I
will use Python and MSVS 2005 Pro. My question is, which libaries will
be useful in
to the current
subclass I access that attribute from.
Does that make any sense?
Yes, it makes sense. The trick is to not query the values using self, but to
ask
the class definitions for the attribute. See my second message that gives an
example, climbing the __mro__ tree backwards.
--
Paul
)
class B(A):
_v = [4,5,6]
b = B()
print b.v
--
Paul McNett
http://paulmcnett.com
http://dabodev.com
--
http://mail.python.org/mailman/listinfo/python-list
is encountering it without understanding it. But Python handles it just
fine.
--
Paul McNett
http://paulmcnett.com
http://dabodev.com
--
http://mail.python.org/mailman/listinfo/python-list
want that type of person to begin with. Perhaps that sounds a bit
elitist, but if people would just put their preconceptions aside, they'd
quickly
realize that Python really does get block indentation (and a whole host of
other
things besides) right.
--
Paul McNett
http://paulmcnett.com
http
is the natural language, and
that contains so many ambiguities that humans often get instructions wrong.
Indeed, there is only one user interface that needs no documentation whatsoever.
--
Paul McNett
http://paulmcnett.com
http://dabodev.com
--
http://mail.python.org/mailman/listinfo/python-list
') and type:
route print
On Linux or Mac, the command would simply be:
route
Do this on both computers, and post the output here. If you are using ip
addresses only in your URL's the problem isn't with DNS or name lookup so let's
eliminate a routing problem next.
--
Paul McNett
http://paulmcnett.com
derivative), using Python
2.4.2 and wxPython 2.6. The wxPython was installed using 'apt-get install
python-wxGtk2.6'.
So I don't know why you say you need to use Python 2.3 as I don't even have
that
on my system.
--
Paul McNett
http://paulmcnett.com
http://dabodev.com
--
http://mail.python.org
if it is available for Python 2.4 under Debian (or Ubuntu, for that
matter).
--
Paul McNett
http://paulmcnett.com
http://dabodev.com
--
http://mail.python.org/mailman/listinfo/python-list
, self.onCellSelected)
And, your questions will be better on the wxpython-users list at
http://wxpython.org/maillist.php
--
Paul McNett
http://paulmcnett.com
http://dabodev.com
--
http://mail.python.org/mailman/listinfo/python-list
Paul McNett wrote:
lux wrote:
How can I capture the EVT_SET_FOCUS on a wxGrid?
If you want to catch when the grid as a whole gets the focus, use:
grid.Bind(wx.grid.EVT_SET_FOCUS, self.onGridFocus)
Oops, my bad:
grid.Bind(wx.EVT_SET_FOCUS, self.onGridFocus)
If you want to catch
the guess that
the first window to get the focus is actually that little corner window at the
intersection of the column labels and the row labels. Try this instead:
g.GetGridCornerLabelWindow().Bind(wx.EVT_SET_FOCUS, onGridFocus)
--
Paul McNett
http://paulmcnett.com
http://dabodev.com
--
http
()
if now-prev .05:
return
self.raiseEvent(dEvents.GotFocus, evt)
--
Paul McNett
http://paulmcnett.com
http://dabodev.com
--
http://mail.python.org/mailman/listinfo/python-list
/wxWidgets,
I'd
probably not get anything else done. But on the other hand you couldn't force
me
to stop using wxPython if you tried!
--
Paul McNett
http://paulmcnett.com
http://dabodev.com
--
http://mail.python.org/mailman/listinfo/python-list
)
Laptop wireless, server
Desktop wireless, client
CRAP!
webpage served in 90 seconds
What the heck is happening?
Please post your routing tables and, if you are referencing your server machine
by name, your name server addresses (/etc/resolv.conf on Linux).
--
Paul McNett
http
internals you are talking about:
import inspect
help(inspect)
Back to exceptions, you can also provide your own global exception handler by
overriding sys.excepthook (drop in your own function).
--
Paul McNett
http://paulmcnett.com
http://dabodev.com
--
http://mail.python.org/mailman
original problem, but perhaps this will help get
you rolling again.
--
Paul McNett
http://paulmcnett.com
http://dabodev.com
--
http://mail.python.org/mailman/listinfo/python-list
the upside/downsides of the two beyond
what I just explained?
Nothing really, but something handy to keep in mind is that the string
literal (x) can be used to block out huge sections of code during
testing, where you'd have to put a # in front of every line otherwise.
--
Paul McNett
http
much faster on Windows, and with lots of styled text dog-slow on Linux.
Wx does use the native underlying toolkit for the platform (Qt is
owner-drawn), which can cause some platform inconsistencies.
--
Paul McNett
http://paulmcnett.com
http://dabodev.com
--
http://mail.python.org/mailman
/wizards has also been updated to produce even
better generated applications, ones that give the developer a starting
structure that is relatively easy to tweak, modify, and augment.
--
Paul McNett
http://paulmcnett.com
http://dabodev.com
--
http://mail.python.org/mailman/listinfo/python-list
1 - 100 of 130 matches
Mail list logo