Re: Complementary language?

2004-12-26 Thread Alex Martelli
you point them to, for self-stufy? Alex -- http://mail.python.org/mailman/listinfo/python-list

Re: program in interactive mode

2004-12-26 Thread Alex Martelli
but if the user only does "./myprog.py" then I got to get into > interactive mode and show a prompt in every line expecting the user input > for that line. Problem is I don't know how to tell if I've been "piped" or sys.stdin.isatty() should serve you well. Alex -- http://mail.python.org/mailman/listinfo/python-list

Re: Complementary language?

2004-12-27 Thread Alex Martelli
Mike Meyer <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] (Alex Martelli) writes: > > > Objective-C is cool... on the Mac; I'm not sure how well-supported it is > > elsewhere, though. In addition to C's advantages, it would let you make > > Cocoa GUIs

Re: Optional Static Typing - Haskell?

2004-12-27 Thread Alex Martelli
Donn Cave <[EMAIL PROTECTED]> wrote: ... > And you probably think Eiffel supports fully modular programming, as > I thought Objective CAML did. But Alex seems not to agree. Rather, I would say it's Dr Van Roy and Dr Haridi who do not agree; their definition of "truly o

Re: Are tuple really immutable?

2004-12-27 Thread Alex Martelli
able: I tend to think > that it means that the tuple is mutable. Indeed, it changed! Maybe the last page of <http://mail.python.org/pipermail/python-list/2002-April/099227.html> can help with this conceptual issue. Alex -- http://mail.python.org/mailman/listinfo/python-list

Re: list IndexError

2004-12-27 Thread Alex Martelli
tly define what IS the state (that needs to be copied) of their instances. I don't see how that changes between copy/deepcopy being built-ins or being in a standard library module like today. Yes, deep copy is way more involved and expensive that shallow copy, etc, etc, but, again, this holds whe

Re: Optional Static Typing

2004-12-27 Thread Alex Martelli
ing that, at least read his essays at <http://www.objectmentor.com/resources/listArticles?key=author&author=Ro bert%20C.%20Martin> (I would skip all of the silly 'craftsman' fictionalization he's writing for 'Software Development', but I guess _some_ people must be into that...). Alex -- http://mail.python.org/mailman/listinfo/python-list

Re: Optional Static Typing

2004-12-27 Thread Alex Martelli
Michael Hobbs <[EMAIL PROTECTED]> wrote: > Your proposition reminds me very much of Design by Contract, which is > a prominent feature of the Eiffel programming language. Considering > that Python is an interpreted language where type checking would > naturally occur at runtime, I think Design by

Re: Python 3000, zip, *args and iterators

2004-12-27 Thread Alex Martelli
Raymond Hettinger <[EMAIL PROTECTED]> wrote: ... > "Not everything that can be done, should be done." Or, to quote Scripture...: "'Everything is permissible for me' -- but not everything is beneficial" (1 Cor 6:12)... Alex -- http://mail.python.org/mailman/listinfo/python-list

Re: argument type

2004-12-28 Thread Alex Martelli
o support this kind of isinstance usage. Alex -- http://mail.python.org/mailman/listinfo/python-list

Problems installing MySQLdb on Windows [newbie]

2004-12-28 Thread Alex Meier
ib', 'C:\\Programme\\Python24\\lib \\plat-win', 'C:\\Programme\\Python24\\lib\\lib-tk', 'C:\\Programme \\Python24\\lib\\site-packages'] Any hints for me? TIA Alex -- remove underscore+nospam if you want to mail me -- http://mail.python.org/mailman/listinfo/python-list

Re: Problems installing MySQLdb on Windows [newbie]

2004-12-28 Thread Alex Meier
! This worked without a hitch. Alex -- remove underscore+nospam if you want to mail me -- http://mail.python.org/mailman/listinfo/python-list

Re: Problems installing MySQLdb on Windows [newbie]

2004-12-28 Thread Alex Meier
lem or the like, not a version problem. Anyway, I got the whole thing up and running using the binary installer Steve has pointed me to. So my interest in finding out what really had happened has decreased somewhat - to say the least. Nevertheless, thank you for your extensive answer, Alex --

Re: Why tuples use parentheses ()'s instead of something else like <>'s?

2004-12-28 Thread Alex Martelli
ave been better to define tuples with <>'s or {}'s or > something else to avoid this confusion?? Instead of commas? I think it would look weird. > Perhaps ()'s are a good idea for some other reason I don't know? They're somewhat overloaded, and so are commas. Th

Re: Problem in threading

2004-12-29 Thread Alex Martelli
Gurpreet Sachdeva <[EMAIL PROTECTED]> wrote: > for i in nloops: # wait for all > threads[i].join Missing () after 'join'. Alex -- http://mail.python.org/mailman/listinfo/python-list

Re: built-in 'property'

2004-12-29 Thread Alex Martelli
id Niegard and Holger Krekel for important comments whose contents I merged into the recipe). Of course there are several possible variations, such as return locals() instead of return dict(&c)... Alex -- http://mail.python.org/mailman/listinfo/python-list

what would you like to see in a 2nd edition Nutshell?

2004-12-29 Thread Alex Martelli
w. Feedback is welcome, either privately or right here. Thanks in advance -- _and_ apologies in advance because I know I just won't be able to accomodate all the requests/advice, given the constraints on book size &c. Alex -- http://mail.python.org/mailman/listinfo/python-list

learning about threads and processes (was Re: what would you like to see in a 2nd edition Nutshell?)

2004-12-29 Thread Alex Martelli
_ mmap;-). Still, others _are_ writing Python tutorials, and it does seem that books such as "Learning Python" and even "Dive into Python" are (understandably, I guess) avoiding the subject... so, pinpointing what's being looked for by learners, which Deitel et al, Matloff, etc, are missing, might help future editions and versions of such books... Alex -- http://mail.python.org/mailman/listinfo/python-list

Re: learning about threads and processes

2004-12-29 Thread Alex Martelli
Aahz <[EMAIL PROTECTED]> wrote: > In article <[EMAIL PROTECTED]>, > Alex Martelli <[EMAIL PROTECTED]> wrote: > > > >Hmmm - have you looked at Deitel, Deitel, Liperi, Wiedermann, "Python > >how to program", chapters 18 (Process Management) and

Re: what would you like to see in a 2nd edition Nutshell?

2004-12-29 Thread Alex Martelli
#x27;t hurt to point C extension authors at things like the 'es' > encoded string format for PyArg_ParseTuple to help them make their code > better behaved with non-ascii text. Good sub-point, thanks. Alex -- http://mail.python.org/mailman/listinfo/python-list

Re: what would you like to see in a 2nd edition Nutshell?

2004-12-29 Thread Alex Martelli
I consider to be a very good book. I hope And thanks for this, too! Alex -- http://mail.python.org/mailman/listinfo/python-list

Re: what would you like to see in a 2nd edition Nutshell?

2004-12-29 Thread Alex Martelli
Fernando Perez <[EMAIL PROTECTED]> wrote: > Alex Martelli wrote: > > > the coverage of Twisted and adding just a few things (numarray -- > > perhaps premature to have it _instead_ of Numeric, though; dateutils, > > You might want to keep in touch with t

Re: what would you like to see in a 2nd edition Nutshell?

2004-12-29 Thread Alex Martelli
Russell E. Owen <[EMAIL PROTECTED]> wrote: > In article <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] (Alex Martelli) wrote: > > >I'm considering proposing to O'Reilly a 2nd edition of "Python in a > >Nutshell", that I'd write in 2005, e

Re: what would you like to see in a 2nd edition Nutshell?

2004-12-29 Thread Alex Martelli
a serious risk of the pointer being entirely missed -- e.g. despite being interested in these issues you appear to be unaware of p. 545 (1st ed). Hmmm -- maybe I need to strike some kind of balance here (so what else is new...;-). Thanks! Alex -- http://mail.python.org/mailman/listinfo/python-list

Re: what would you like to see in a 2nd edition Nutshell?

2004-12-29 Thread Alex Martelli
RM <[EMAIL PROTECTED]> wrote: > Alex Martelli wrote: > > I still > > believe Tkinter coverage is going to help more readers. > > Alex, > > I know this can be a can of worms. But honestly, I wonder what do you > base that idea on. Availability, simplici

Re: what would you like to see in a 2nd edition Nutshell?

2004-12-29 Thread Alex Martelli
ks! Very helpful input. Testing surely needs AND deserves more attention all around, yes. Alex -- http://mail.python.org/mailman/listinfo/python-list

Re: what would you like to see in a 2nd edition Nutshell?

2004-12-29 Thread Alex Martelli
ing your favourite toolkit, and managing to sneak it into the std Python distro, would be the way to go;-) Alex -- http://mail.python.org/mailman/listinfo/python-list

Re: what would you like to see in a 2nd edition Nutshell?

2004-12-30 Thread Alex Martelli
Dave Cook <[EMAIL PROTECTED]> wrote: > On 2004-12-29, Alex Martelli <[EMAIL PROTECTED]> wrote: > > > the coverage of Twisted and adding just a few things (numarray -- > > I'd rather have a whole book on Twisted :p. But I'll take a more extensive > sec

Re: GUI with sophisticated Table support

2004-12-30 Thread Alex Martelli
use Tkinter over wxPython, that's the background of the > question. Hmmm -- there's a tktable (on sourceforge) which claims to have resizable columns and a Python/Tkinter wrapper, but I haven't tried it, myself. tktable.sourceforge.net for more info... Alex -- http://mail.python.org/mailman/listinfo/python-list

Re: what would you like to see in a 2nd edition Nutshell?

2004-12-30 Thread Alex Martelli
What "discussion" of what _isn't_ there is needed beyond the information succintly given on p. 279 that "there are no priorities, groups, destruction or stopping"? Alex -- http://mail.python.org/mailman/listinfo/python-list

Re: Why tuples use parentheses ()'s instead of something else like <>'s?

2004-12-30 Thread Alex Martelli
you need are readable _and distinguishable_ in whatever font you're using. Alex -- http://mail.python.org/mailman/listinfo/python-list

Re: Why tuples use parentheses ()'s instead of something else like <>'s?

2004-12-30 Thread Alex Martelli
they happened to pass into English with slightly different spellings. (I find American Heritage to be a very authoritative reference -- I just love it!-). Alex -- http://mail.python.org/mailman/listinfo/python-list

Re: Why tuples use parentheses ()'s instead of something else like <>'s?

2004-12-30 Thread Alex Martelli
ictionaries, as braces-laden `dict display' forms;-). Alex -- http://mail.python.org/mailman/listinfo/python-list

Re: More baby squeaking - iterators in a class

2004-12-30 Thread Alex Martelli
Bulba! <[EMAIL PROTECTED]> wrote: > So which is it? Does next() method HAS to be defined > explicitly? It has to be defined, whether explicitly or not (e.g. via a generator). Alex -- http://mail.python.org/mailman/listinfo/python-list

Re: The Industry choice

2004-12-30 Thread Alex Martelli
are about replacing costly, quirky individual human=being programmers with die-cast, factory-made replaceable parts. Java sort of promises that (doesn't _deliver_, but, that's another issue;-). Alex -- http://mail.python.org/mailman/listinfo/python-list

Re: what would you like to see in a 2nd edition Nutshell?

2004-12-30 Thread Alex Martelli
y be about Design Patterns and development methods so may not meet your exact desires... Alex -- http://mail.python.org/mailman/listinfo/python-list

Re: Why tuples use parentheses ()'s instead of something else like <>'s?

2004-12-30 Thread Alex Martelli
Carl Banks <[EMAIL PROTECTED]> wrote: > Alex Martellix wrote: > > I think a tiny minority of today's > > architecture and sculpture can rightfully be compared with the > > masterpieces of millennia past. > > Not that I disagree with your overall point,

Re: what is lambda used for in real code?

2004-12-30 Thread Alex Martelli
optional default parameter sounds like a good idea to me. Even though a good number of lambda uses may be avoidable or removable by such means, I think there's just slightly too much variety -- in some cases, a def with a name will have to be best (just as it would even today if, say, an if/

Re: copying classes?

2004-12-31 Thread Alex Martelli
y__(cls): ... return mec('copyof'+cls.__name__, cls.__bases__, dict(vars(cls))) ... >>> class foo: ... __metaclass__ = mec ... >>> bar = copy.copy(foo) >>> bar.__name__ 'copyoffoo' >>> Alex -- http://mail.python.org/mailman/listinfo/python-list

Re: The Industry choice

2004-12-31 Thread Alex Martelli
eady be faster. But for a company to convince itself that the investment is small and the benefits accrue rapidly -- and keep accruing in the long term -- can still be quite a leap of faith. Alex -- http://mail.python.org/mailman/listinfo/python-list

Re: The Industry choice

2004-12-31 Thread Alex Martelli
rrent *major* companies radar as potential competition) or as you Well, Google's market capitalization must be around 50 billion dollars or more, in the range of the top-100 companies, I believe, and they've never kept their Python use a secret. But they don't sell SW nor consulting s

wxPython: accessing wxFrame methods in __del__ fails

2005-03-23 Thread Alex VanderWoude
because it's part of the class, not just my instance? Any insight into this would be greatly appreciated. - Alex -- http://mail.python.org/mailman/listinfo/python-list

Re: wxPython: accessing wxFrame methods in __del__ fails

2005-03-24 Thread Alex VanderWoude
"Stephen Thorne" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Thu, 24 Mar 2005 06:21:36 GMT, Alex VanderWoude <[EMAIL PROTECTED]> wrote: > > I am attempting to save my window's size and position when it closes. So I > > figured

Overriding methods in classes you don't control

2005-03-27 Thread Alex VanderWoude
he original code and inserting it where that middle comment is. That way, my enhancements will continue to work even with other versions of wxPython (assuming of course that my enhancements don't rely on anything in the original code, which they don't). Or am I barking up the wrong tree

Re: Overriding methods in classes you don't control

2005-03-28 Thread Alex VanderWoude
"Jp Calderone" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Mon, 28 Mar 2005 03:57:16 GMT, Alex VanderWoude <[EMAIL PROTECTED]> wrote: > >Is there a way to override a method on a class whose source you cannot > > change in such a way that

Re: Lambda: the Ultimate Design Flaw

2005-03-31 Thread alex goldman
Daniel Silva wrote: > At any rate, FOLD must fold. I personally think GOTO was unduly criticized by Dijkstra. With the benefit of hindsight, we can see that giving up GOTO in favor of other primitives failed to solve the decades-old software crisis. -- http://mail.python.org/mailman/listinfo/pyt

Re: Lambda: the Ultimate Design Flaw

2005-04-02 Thread alex goldman
Artie Gold wrote: > Torsten Bronger wrote: >> Hallöchen! >> >> Daniel Silva <[EMAIL PROTECTED]> writes: >> >> >>>Shriram Krishnamurthi has just announced the following elsewhere; it >>>might be of interest to c.l.s, c.l.f, and c.l.p: >>>http://list.cs.brown.edu/pipermail/plt-scheme/2005-April/0

boolean -> DNF

2005-04-04 Thread Alex Polite
a starting point? alex [1] http://www3.sympatico.ca/sarrazip/dev/boolstuff.html -- Alex Polite http://flosspick.org -- http://mail.python.org/mailman/listinfo/python-list

Please Hlp with msg: "The C++ part of the StaticText object has been deleted"

2005-04-12 Thread Alex Nordhus
Alex Nordhus Simple Solutions Network/Internet Administrator [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

"The C++ part of the .. Has been deleted, wsTaskBarIcon

2005-04-12 Thread Alex Nordhus
ageBox import commands #----= class MyDialog(wxDialog): def __init__(self): wxDialog.__init__(self, NULL, -1, "Pasteaway v1.0 Alex Nordhus", wxPoint(-1,-1), wxSiz

Python on armv7l router: C++ exceptions issue

2015-01-28 Thread Alex Potapenko
y help is greatly appreciated! Thanks in advance, Alex module.cpp Description: Binary data -- https://mail.python.org/mailman/listinfo/python-list

Отв: Python on armv7l router: C++ exceptions issue

2015-01-29 Thread Alex Potapenko
Found a solution myself. It looks like you have to explicitly link python with libgcc_s during build time to solve this problem. This looks like a uClibc bug Regards,Alex среда, 28 января 2015 19:44 Alex Potapenko писал(а): I run Python on an arm-brcm-linux-uclibcgnueabi router

Re: What's the best way to extract 2 values from a CSV file from each row systematically?

2013-09-24 Thread Alex Lee
Thanks for the help guys! I'll definitely read up on the csv module documentation. Tim, that's incredibly helpful, thanks a lot! :) My CSV file doesn't have headers, but I'm sure I can just as easily add it in manually. -- https://mail.python.org/mailman/listinfo/python-list

Re: ImportPython Newsletter

2015-05-04 Thread Alex McFerron
I had the same problem just now Sent from my iPhone > On May 3, 2015, at 11:00 AM, Terry Reedy wrote: > >> On 5/3/2015 12:01 PM, Ankur Gupta wrote: >> Hey Guys, >> >> Just like to draw attention to ImportPython a weekly Python >> newsletter. This is the 30th issue of the newsletter >> http://i

How to model government organization hierarchies so that the list can expand and compress

2015-08-13 Thread Alex Glaros
anizational list. Am using Postgres, not graph database. I'm hoping someone else has worked on this problem, probably not with government agency names, but perhaps the same principle with other objects. Thanks! Alex Glaros -- https://mail.python.org/mailman/listinfo/python-list

Re: How to model government organization hierarchies so that the list can expand and compress

2015-08-14 Thread Alex Glaros
with that now. Of course some agencies will be at equal levels; will ignore for now. 3. Could not find Laura's response. Was it deleted? 4. Solution will expressed in the DB, not Python. Much appreciated! Alex -- https://mail.python.org/mailman/listinfo/python-list

Re: How to model government organization hierarchies so that the list can expand and compress

2015-08-17 Thread Alex Glaros
- can have multiple parents 2. adjacent_parent_id (FK to above table) Thanks to all for the assistance. Led me to some great articles including http://explainextended.com/2009/09/24/adjacency-list-vs-nested-sets-postgresql/ Alex -- https://mail.python.org/mailman/listinfo/python-list

why does id(multiprocessing.Process.start) == id(multiprocessing.Process.start)?

2015-08-17 Thread alex . flint
using Python 2.7.9, I get the following: >>> id(multiprocessing.Process.start) == id(multiprocessing.Process.start) True But on the other hand: >>> multiprocessing.Process.start is multiprocessing.Process.start False I thought that these two expressions were equivalent. Can somebody help me to

Re: why does id(multiprocessing.Process.start) == id(multiprocessing.Process.start)?

2015-08-17 Thread alex . flint
On Monday, August 17, 2015 at 3:24:22 PM UTC-7, alex@gmail.com wrote: > using Python 2.7.9, I get the following: > > >>> id(multiprocessing.Process.start) == id(multiprocessing.Process.start) > True > > But on the other hand: > > >

HTTPSConnection from http.client?

2015-11-17 Thread Alex Naumov
? I use openSUSE 13.1 x86_64. Thank you, Alex [1] https://docs.python.org/3/library/http.client.html -- https://mail.python.org/mailman/listinfo/python-list

Re: HTTPSConnection from http.client?

2015-11-17 Thread Alex Naumov
On Tue, Nov 17, 2015 at 12:22 PM, Peter Otten <__pete...@web.de> wrote: > Alex Naumov wrote: > >> Hello, >> >> does anybody know how to create a HTTPS connections in python2 or python3? >> I tried second day to do that with http.client[1], but every time get >

Re: HTTPSConnection from http.client?

2015-11-17 Thread Alex Naumov
Hello Peter, thanks for your reply. >>> import ssl Works well in python2 and 3. Maybe somebody know another way to create a SSL connection (username/password)? I just need to log in and log out. Thanks, Alex On Tue, Nov 17, 2015 at 2:24 PM, Peter Otten <__pete...@web.de> wrote

Python MSI Repo

2014-06-12 Thread Alex Rodrigues
Is there a public repository for the python windows installer? I'd like to play around with it. - Alex -- https://mail.python.org/mailman/listinfo/python-list

error handling when opening files

2014-07-07 Thread Alex Burke
and if the with block succeeds set it to some other value thus being able to do an if not None check afterward. That's probably enough conflated questioning for now.. who'd have thought opening a file could be such a poser! Yep, it's always the error handling :) Thanks in advance,

Re: error handling when opening files

2014-07-09 Thread Alex Burke
> If that's what you're expecting, then your message is wrong, because > you say "file never opened" - but you possibly DID open it, and maybe > read something from it. The choice between the two forms should be > based on whether you want to distinguish between errors on opening and > errors on re

Re: error handling when opening files

2014-07-09 Thread Alex Burke
> Interestingly, did you know that even *closing* a file can fail? No I didn't, interesting piece on information for sure! I thought close() is usually made to always succeed regardless if it actually hosed up. Any idea what the context manager will do in that case? (I ask as that else-with form l

Re: Proposal: === and !=== operators

2014-07-10 Thread Alex Burke
no equality special cases to explain * make potentially meaningless comparisons immediately clear * if you really want to compare NaNs you can catch the case and return math.isnan(left) and math.isnan(right) The obvious issue is possibility of exceptions from arbitrary == comparisons. PS hoping

Coding challenge: Optimise a custom string encoding

2014-08-18 Thread Alex Willmer
in byteseq} def plus_encode(s): """Encode a unicode string with only ascii letters, digits, _, -, @, + """ bytemap_ = bytemap s_utf8 = s.encode('utf-8') return ''.join([bytemap[byte] for byte in s_utf8]) On my machine (Ubuntu

Re: Coding challenge: Optimise a custom string encoding

2014-08-18 Thread Alex Willmer
On Monday, 18 August 2014 21:16:26 UTC+1, Terry Reedy wrote: > On 8/18/2014 3:16 PM, Alex Willmer wrote: > > A challenge, just for fun. Can you speed up this function? > > You should give a specification here, with examples. You should perhaps Sorry, the (informal) spec w

PyQt4 - Issue with deleting a QWidget from a QGridLayout

2014-08-19 Thread Alex Murray
Hi,   I've discovered some very strange behaviour when trying to delete a QWidget from a QGridLayout. The following code demonstrates this behaviour:   >>> from PyQt4 import QtGui >>> import sys >>> app = QtGui.QApplication(sys.argv) >>> grid_layout = QtGui.QGridLayout() >>> grid_layout.addW

Re: Re: PyQt4 - Issue with deleting a QWidget from a QGridLayout

2014-08-20 Thread Alex Murray
> Please do not post in HTML it makes everything an unreadable mess > (I have left you original post above so you can see what I mean.) Sorry, here's the original e-mail in plain text: Hi, I've discovered some very strange behaviour when trying to delete a QWidget from a QGridLayout. The followi

To automate email login through browser

2014-08-29 Thread subin alex
Hi Guys, I am very new to python and am trying to learn python. I want to automate my email login through browser,in a way that when my computer boots up,it must be automatically logged into my mailbox. Please provide your suggestions on this :) Thanks & Regards, Subin Alex. -- h

send string to input of another process

2011-09-13 Thread Alex Naumov
Hello everybody, I'm looking for some solution, maybe someone of you can help me. I call another process via os.system("process") and it waits for some input. I have to write a comment (for example, like using svn or git), and after that to close input (for example, like ":wq" using vim). How can

Re: Questions about LISP and Python.

2011-12-06 Thread Alex Mizrahi
i don't like python, and i prefer emacs lisp. The primary reason is that python is not functional, especially with python 3. The python community is full of fanatics with their drivels. In that respect, it's not unlike Common Lisp community and Scheme lisp community. What functional programming

Finding x is 1, and x is 'foo' comparisons in a code base

2012-01-17 Thread Alex Willmer
is a small integer or string) so they slip into production code unnoticed. PyLint and PyFlakes don't check this AFAICT. Any suggestions for such a tool, or a pointer how to add the check to an existing tool would be most welcome. Regards, Alex -- http://mail.python.org/mailman/listinfo/python-list

Pygame mouse cursor load/unload

2013-03-02 Thread Alex Gardner
I am in the process of making a pong game in python using the pygame library. My current problem is that when I move the mouse, it turns off as soon as the mouse stops moving. The way I am doing this is by making the default cursor invisible and using .png files as replacements for the cursor.

Re: Pygame mouse cursor load/unload

2013-03-02 Thread Alex Gardner
On Saturday, March 2, 2013 9:08:18 PM UTC-6, Ian wrote: > On Sat, Mar 2, 2013 at 6:56 PM, Alex Gardner wrote: > > > I am in the process of making a pong game in python using the pygame > > library. My current problem is that when I move the mouse, it turns off as > >

Re: Pygame mouse cursor load/unload

2013-03-03 Thread Alex Gardner
On Saturday, March 2, 2013 7:56:31 PM UTC-6, Alex Gardner wrote: > I am in the process of making a pong game in python using the pygame library. > My current problem is that when I move the mouse, it turns off as soon as > the mouse stops moving. The way I am doing this is by m

Re: Pygame mouse cursor load/unload

2013-03-03 Thread Alex Gardner
On Saturday, March 2, 2013 7:56:31 PM UTC-6, Alex Gardner wrote: > I am in the process of making a pong game in python using the pygame library. > My current problem is that when I move the mouse, it turns off as soon as > the mouse stops moving. The way I am doing this is by m

Re: Pygame mouse cursor load/unload

2013-03-09 Thread Alex Gardner
On Saturday, March 2, 2013 7:56:31 PM UTC-6, Alex Gardner wrote: > I am in the process of making a pong game in python using the pygame library. > My current problem is that when I move the mouse, it turns off as soon as > the mouse stops moving. The way I am doing this is by m

Re: Pygame mouse cursor load/unload

2013-03-09 Thread Alex Gardner
On Saturday, March 2, 2013 7:56:31 PM UTC-6, Alex Gardner wrote: > I am in the process of making a pong game in python using the pygame library. > My current problem is that when I move the mouse, it turns off as soon as > the mouse stops moving. The way I am doing this is by m

Re: Pygame mouse cursor load/unload

2013-03-10 Thread Alex Gardner
On Saturday, March 2, 2013 7:56:31 PM UTC-6, Alex Gardner wrote: > I am in the process of making a pong game in python using the pygame library. > My current problem is that when I move the mouse, it turns off as soon as > the mouse stops moving. The way I am doing this is by m

Re: Pygame mouse cursor load/unload

2013-03-11 Thread Alex Gardner
On Saturday, March 2, 2013 7:56:31 PM UTC-6, Alex Gardner wrote: > I am in the process of making a pong game in python using the pygame library. > My current problem is that when I move the mouse, it turns off as soon as > the mouse stops moving. The way I am doing this is by m

Re: Pygame mouse cursor load/unload

2013-03-11 Thread Alex Gardner
On Monday, March 11, 2013 11:57:49 AM UTC-5, Alex Gardner wrote: > On Saturday, March 2, 2013 7:56:31 PM UTC-6, Alex Gardner wrote: > > > I am in the process of making a pong game in python using the pygame > > library. My current problem is that when I move the mouse, it turn

Re: Pygame mouse cursor load/unload

2013-03-11 Thread Alex Gardner
On Monday, March 11, 2013 12:00:37 PM UTC-5, Alex Gardner wrote: > On Monday, March 11, 2013 11:57:49 AM UTC-5, Alex Gardner wrote: > > > On Saturday, March 2, 2013 7:56:31 PM UTC-6, Alex Gardner wrote: > > > > > > > I am in the process of making a pon

Re: Pygame mouse cursor load/unload

2013-03-11 Thread Alex Gardner
On Saturday, March 2, 2013 7:56:31 PM UTC-6, Alex Gardner wrote: > I am in the process of making a pong game in python using the pygame library. > My current problem is that when I move the mouse, it turns off as soon as > the mouse stops moving. The way I am doing this is by m

Re: Pygame mouse cursor load/unload

2013-03-11 Thread Alex Gardner
On Saturday, March 2, 2013 7:56:31 PM UTC-6, Alex Gardner wrote: > I am in the process of making a pong game in python using the pygame library. > My current problem is that when I move the mouse, it turns off as soon as > the mouse stops moving. The way I am doing this is by m

Re: Pygame mouse cursor load/unload

2013-03-12 Thread Alex Gardner
On Saturday, March 2, 2013 7:56:31 PM UTC-6, Alex Gardner wrote: > I am in the process of making a pong game in python using the pygame library. > My current problem is that when I move the mouse, it turns off as soon as > the mouse stops moving. The way I am doing this is by m

Re: Pygame mouse cursor load/unload

2013-03-14 Thread Alex Gardner
On Saturday, March 2, 2013 7:56:31 PM UTC-6, Alex Gardner wrote: > I am in the process of making a pong game in python using the pygame library. > My current problem is that when I move the mouse, it turns off as soon as > the mouse stops moving. The way I am doing this is by m

Re: Pygame mouse cursor load/unload

2013-03-14 Thread Alex Gardner
On Saturday, March 2, 2013 7:56:31 PM UTC-6, Alex Gardner wrote: > I am in the process of making a pong game in python using the pygame library. > My current problem is that when I move the mouse, it turns off as soon as > the mouse stops moving. The way I am doing this is by m

Re: Pygame mouse cursor load/unload

2013-03-18 Thread Alex Gardner
On Saturday, March 2, 2013 7:56:31 PM UTC-6, Alex Gardner wrote: > I am in the process of making a pong game in python using the pygame library. > My current problem is that when I move the mouse, it turns off as soon as > the mouse stops moving. The way I am doing this is by m

Re: Pygame mouse cursor load/unload

2013-03-18 Thread Alex Gardner
On Monday, March 18, 2013 3:24:57 PM UTC-5, Alex Gardner wrote: > On Saturday, March 2, 2013 7:56:31 PM UTC-6, Alex Gardner wrote: > > > I am in the process of making a pong game in python using the pygame > > library. My current problem is that when I move the mouse, it turn

in need of some help...

2013-04-30 Thread Alex Norton
hi, i am currently trying to make a rock paper scissors game based on a game. the code for the game itself works fine, it does what i need it to do the issue i am having is that i haven't a clue how to combine the game code i have with the QT GUI code i have. -- http://mail.python.org/mailm

Re: in need of some help...

2013-04-30 Thread Alex Norton
On Tuesday, April 30, 2013 11:13:24 PM UTC+1, Chris Angelico wrote: > On Wed, May 1, 2013 at 8:06 AM, Alex Norton wrote: > > > > > > hi, > > > > > > i am currently trying to make a rock paper scissors game based on a game. > > > > > >

Re: in need of some help...

2013-04-30 Thread Alex Norton
On Wednesday, 1 May 2013 00:02:51 UTC+1, Ian wrote: > On Tue, Apr 30, 2013 at 4:30 PM, Alex Norton wrote: > > > oh FYI its for my college course.. i didnt really want to use Visual Basic > > so the teacher cannot help > > > > If the course is being taught i

Re: in need of some help...

2013-05-01 Thread Alex Norton
On Wednesday, 1 May 2013 05:37:34 UTC+1, Chris Angelico wrote: > On Wed, May 1, 2013 at 9:20 AM, Alex Norton wrote: > > > the teacher actually cant teach anything, he as the knowledge of Vb but his > > teaching methods are abysmal and severely lacking, but he said we can use

Re: in need of some help...

2013-05-01 Thread Alex Norton
Thank you very much for the specific detail. I have already done the signal for the finish button so that the app closes when clicked -- http://mail.python.org/mailman/listinfo/python-list

Collision of Two Rect

2013-05-03 Thread Alex Gardner
When rect A collides with rect B they stick when I am wanting A to bounce off of B. I have tried different methods, but none seem to work. My source is here: http://pastebin.com/CBYPcubL The collision code itself is below: -- # Bounce off of the paddle if paddle_rect.colliderect(ball_rect

Re: Another newbie question

2005-12-10 Thread Alex Martelli
/ http://www.softwareqatest.com/ http://www.testing.com/ http://www.faqs.org/faqs/software-eng/testing-faq/ and feel free to come back and ask for more once you've exhausted the wealth of pointers, articles, books and surveys these URLs will direct you to. As far as I know, the only outstanding figure in the history of programming who decisively condemned testing because "it can only show the presence of bugs, never their absence" was Djikstra; it's funny that he failed to notice the parallel with Popper's epistemology -- by the same thought-structure, we should condemn scientific experiments, because, per Popper, they can only show the falsity of a scientific theory, never its truth. I never said nor implied that a tool's imperfections must prohibit its use: I was just pointing out that your assertion about important conditions which *can't be expressed* is simply false (as well as totally inapplicable to the specific examples being discussed). Alex -- http://mail.python.org/mailman/listinfo/python-list

Re: Another newbie question

2005-12-10 Thread Alex Martelli
-- and as soon as the mutable primitives are reached, "settable attributes" and their syntax and semantics come to the fore again... Alex -- http://mail.python.org/mailman/listinfo/python-list

<    4   5   6   7   8   9   10   11   12   13   >