Re: Wed Development - Dynamically Generated News Index

2005-12-17 Thread Jean-Paul Calderone
On 17 Dec 2005 23:14:33 -0800, [EMAIL PROTECTED] wrote: >Hi to all, > >I am somewhat somewhat new to Python, but apart from this I am just not >seeing lots of resources on what I am trying to do. I have seen them >in other languages like PHP and ASP. > >I am building a simple MySQL news database,

Re: urllib.urlopen

2005-12-17 Thread Jay
Easy Fix... import urllib the_url = "http://www.google.com"; req = urllib.urlopen(the_url) Does this work for you?? -- http://mail.python.org/mailman/listinfo/python-list

Re: Wed Development - Dynamically Generated News Index

2005-12-17 Thread Paul Rubin
[EMAIL PROTECTED] writes: > I am building a simple MySQL news database, which would contain, a > headline, a date, main story(body) and a graphic associated with each > story. I would like to generate an index of the pages in this database > ( ie a news index with links to the articles) an to hav

Wed Development - Dynamically Generated News Index

2005-12-17 Thread infidel02
Hi to all, I am somewhat somewhat new to Python, but apart from this I am just not seeing lots of resources on what I am trying to do. I have seen them in other languages like PHP and ASP. I am building a simple MySQL news database, which would contain, a headline, a date, main story(body) and

Re: urllib.urlopen

2005-12-17 Thread JabaPyth
I tried using urllib2 and this is what i got: >>import urllib2 >>the_url = 'http://www.google.com' >>req = urllib2.Request(the_url) >>handle = urllib2.urlopen(req) Traceback (most recent call last): File "", line 1, in ? File "C:\Python24\lib\urllib2.py", line 130, in urlopen return _opener

Re: Wingide is a beautiful application

2005-12-17 Thread Shalabh Chaturvedi
> James wrote: >> 2.) Auto List members implementation is great. But what about call >> tips? Just as important and every other Python IDE has it. Jonathan Ellis wrote: > Wing shows calltip info in the Source Assistant panel. (Pro version > only, IIRC.) However it's not as useful as call tips.

Re: Xah's Edu Corner: Examples of Quality Technical Writing

2005-12-17 Thread Roedy Green
On 17 Dec 2005 19:34:36 -0800, "Lars Rune Nøstdal" <[EMAIL PROTECTED]> wrote, quoted or indirectly quoted someone who said : >hi, >everyone thinks youreoay faggot and that youreh stupid .. now go >fugkght yourselfes If you want to insult someone, please spell it correctly and be accurate. Your a

Re: Wingide is a beautiful application

2005-12-17 Thread Jonathan Ellis
James wrote: > >> I haven't used an IDE in a long time but gave wing ide a try because > >> I wanted the same development platform on Linux and Windows. > Then you owe it to yourself to also try SPE, PyDev and Boa Constructor > (got off to a slow start, but it looks promising now). All are free, >

Re: unsubscrib

2005-12-17 Thread Robert Kern
YongYong Li wrote: > I would like to unsubsrib python list, how do I do it? http://mail.python.org/mailman/listinfo/python-list Scroll to the bottom to see where you can unsubscribe. -- Robert Kern [EMAIL PROTECTED] "In the fields of hell where the grass grows high Are the graves of dreams al

Re: IsString

2005-12-17 Thread Alex Martelli
Steven D'Aprano <[EMAIL PROTECTED]> wrote: > If you think about Python > as if it were C or Java, you will forever be confused about its behaviour. Thinking of it as Java actually works great here. > Understand Python's call by object behaviour, and it will all make sense. Java's behavior is id

Re: ?: in Python

2005-12-17 Thread Andy Leszczynski
Steven D'Aprano wrote: > On Wed, 14 Dec 2005 20:17:28 -0500, Andy Leszczynski wrote: > > >>I can tell you what is not elegant in the if else: approach. It is >>logically a one operation while you are forced to use varaible "a" >>twice. Fundamental flaw IMO. > > > "Logically" one operation? >

unsubscrib

2005-12-17 Thread YongYong Li
I would like to unsubsrib python list, how do I do it? __Do You Yahoo!?Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Xah's Edu Corner: Examples of Quality Technical Writing

2005-12-17 Thread Lars Rune Nøstdal
hi, everyone thinks youreoay faggot and that youreh stupid .. now go fugkght yourselfes peasse out .. yo! -- http://mail.python.org/mailman/listinfo/python-list

Re: Join CodingCache.com

2005-12-17 Thread skip
j883376> As of this post, CodingCache doesn't have very many members or j883376> posts because its just beginning. Don't let that discourage you j883376> from registering and posting though. There will eventually be j883376> more sources of new registrations. Once there is a decent

Re: Xah's Edu Corner: Responsible Software Licensing

2005-12-17 Thread Eric J. Roode
robic0 wrote in news:[EMAIL PROTECTED]: > On 16 Dec 2005 16:52:43 -0800, "Xah Lee" <[EMAIL PROTECTED]> wrote: > >>Responsible Software Licensing >> I worship you, Xah. -- Eric `$=`;$_=\%!;($_)=/(.)/;$==++$|;($.,$/,$,,$\,$",$;,$^,$#,$~,$*,$:,@%)=( $!=~/(.)(.).(.)(.)(.)(.)..(.)(.)(.)..(.)..(

Re: Xah's Edu Corner: Responsible Software Licensing

2005-12-17 Thread Gunnar Hjalmarsson
Roedy Green wrote: > On Sat, 17 Dec 2005 10:34:21 -0500, "Matt Garrish" > <[EMAIL PROTECTED]> wrote, quoted or indirectly quoted > someone who said : > >>Please do us all the favour of taking a basic literacy course. You aren't >>even close half the time, which just confirms you're a halfwit. >

Re: Xah's Edu Corner: Responsible Software Licensing

2005-12-17 Thread Roedy Green
On Sat, 17 Dec 2005 10:34:21 -0500, "Matt Garrish" <[EMAIL PROTECTED]> wrote, quoted or indirectly quoted someone who said : >Please do us all the favour of taking a basic literacy course. You aren't >even close half the time, which just confirms you're a halfwit. are you bawling out robico or X

effbot ExeMaker: custom icon?

2005-12-17 Thread Michael Spencer
What is the recommended way to change the icon of the exe ExeMaker* produces? (I tried replacing the exemaker.ico file, and indeed removing it; but that had no effect.) Thanks Michael *http://effbot.org/zone/exemaker.htm -- http://mail.python.org/mailman/listinfo/python-list

Re: Wingide is a beautiful application

2005-12-17 Thread Claudio Grondi
vinjvinj wrote: > I haven't used an IDE in a long time but gave wing ide a try because > I wanted the same development platform on Linux and Windows. > > I'm currently using Ultraedit and it works fine but needed something > more portable as I'm moving my main platform over to Ubuntu. This is also

Re: "class Server" has a big error: what is?

2005-12-17 Thread Steven D'Aprano
On Sat, 17 Dec 2005 12:38:00 -0800, LocaWapp wrote: > "class Server" has a big error: what is? > > http://groups.google.it/group/comp.lang.python/browse_thread/thread/de458cb7675ff4b6/f333453b0dc1aab6?q=locawapp&rnum=1#f333453b0dc1aab6 Is this a game of Twenty Questions? We guess what the error

Re: Next floating point number

2005-12-17 Thread Steven D'Aprano
On Sat, 17 Dec 2005 03:27:11 -0500, Tim Peters wrote: > While the C99 standard defines such a function (several, actually), > the C89 standard does not, so Python can't rely on one being > available. In general, Python's `math` module exposes only standard > C89 libm functions, plus a few extras

Re: Next floating point number

2005-12-17 Thread Steven D'Aprano
On Sat, 17 Dec 2005 09:26:39 +, Bengt Richter wrote: > I wonder if this won't work (for IEEE 754 double that is) > > from math import frexp > def nextf(x, y): > f,e = frexp(x) > if (f==0.5 or f==-0.5) and x>=y: eps = 2.0**-54 > else: eps = 2.0**-53 > if x else: return (f-

Re: object oriented programming question

2005-12-17 Thread Michael Spencer
Daniel Nogradi wrote: > I have class 'x' with member 'content' and another member 'a' which is an > instance of class '_a'. The class '_a' is callable and has a method 'func' > which I would like to use to modify 'content' but I don't know how to > address 'content' from the class '_a'. Is it pos

Re: urllib.urlopen

2005-12-17 Thread Xavier Morel
JabaPyth wrote: > Hello, > I'm trying to use the urllib module, but when i try urllib.urlopen, it > gives me a socket error: > > >>import urllib > >>print urllib.urlopen('http://www.google.com/').read() > Traceback (most recent call last): > File "", line 1, in ? > File "C:

Re: doctest fails to NORMALIZE_WHITESPACE ?

2005-12-17 Thread Tim Peters
[David MacKay, having fun with doctest] ... > I've got a follow-up question motivated by my ugly backslash continuations. [Tim] >> When Python doesn't "look clean", it's not Python -- and backslash >> continuation & semicolons often look like dirt to the experienced >> Python's eye. > The reason

object oriented programming question

2005-12-17 Thread Daniel Nogradi
I have class 'x' with member 'content' and another member  'a'  which is an instance of class '_a'. The class '_a' is callable and has a method 'func' which I would like to use to modify 'content' but I don't know how to address 'content' from the class '_a'. Is it possible? Here is the code that

Re: Tkinter interactive

2005-12-17 Thread James Stroud
cm012b5105 wrote: > Hello i am fairly new to python, > I have written an interactive programme a small example of it is here. > s = raw_input ("Do you have any children? ") > if s== 'yes': >print "Thats great" > elif s=='no': >print "Well my boss has 2" > > > Now i have also been looking

Re: Cp1251-symbols in SOAP request

2005-12-17 Thread Pelmen
but socket will raise an exception if it'll be in cp1251 -- http://mail.python.org/mailman/listinfo/python-list

urllib.urlopen

2005-12-17 Thread JabaPyth
Hello, I'm trying to use the urllib module, but when i try urllib.urlopen, it gives me a socket error: >>import urllib >>print urllib.urlopen('http://www.google.com/').read() Traceback (most recent call last): File "", line 1, in ? File "C:\Python24\lib\urllib.py", line

Re: Cp1251-symbols in SOAP request

2005-12-17 Thread Jarek Zgoda
Pelmen napisał(a): > as i understood, better way is base64 encoding on my side, and decoding > on server side? No, just encode the texts in what encoding the other side expects. If this should be CP1251, not decoding would be enough. -- Jarek Zgoda http://jpa.berlios.de/ -- http://mail.python.

Re: Cp1251-symbols in SOAP request

2005-12-17 Thread Pelmen
thanks ... it seems to me best way will be b16encode, to prevent sax parser errors -- http://mail.python.org/mailman/listinfo/python-list

"class Server" has a big error: what is?

2005-12-17 Thread LocaWapp
"class Server" has a big error: what is? http://groups.google.it/group/comp.lang.python/browse_thread/thread/de458cb7675ff4b6/f333453b0dc1aab6?q=locawapp&rnum=1#f333453b0dc1aab6 -- http://mail.python.org/mailman/listinfo/python-list

Join CodingCache.com

2005-12-17 Thread j883376
CodingCache is an new and upcoming forum dedciated to all sorts of programming. From HTML to C/C++ to Perl and PHP. As of this post, CodingCache doesn't have very many members or posts because its just beginning. Don't let that discourage you from registering and posting though. There will eventua

Re: Cp1251-symbols in SOAP request

2005-12-17 Thread Pelmen
as i understood, better way is base64 encoding on my side, and decoding on server side? -- http://mail.python.org/mailman/listinfo/python-list

Re: Wingide is a beautiful application

2005-12-17 Thread James
>> I haven't used an IDE in a long time but gave wing ide a try because >> I wanted the same development platform on Linux and Windows. >> I'm currently using Ultraedit and it works fine but needed something >> more portable as I'm moving my main platform over to Ubuntu. I first >> tried jedit and

Re: locawapp-001.zip

2005-12-17 Thread LocaWapp
"class Server" has a big error: what is? -- http://mail.python.org/mailman/listinfo/python-list

Re: Cp1251-symbols in SOAP request

2005-12-17 Thread Erik Max Francis
Pelmen wrote: > what to do, to encode it properly? UTF-8? You're the one sending it through a socket; only you know what the other side expects. -- Erik Max Francis && [EMAIL PROTECTED] && http://www.alcyone.com/max/ San Jose, CA, USA && 37 20 N 121 53 W && AIM erikmaxfrancis Could it be /

Re: Cp1251-symbols in SOAP request

2005-12-17 Thread Pelmen
what to do, to encode it properly? UTF-8? -- http://mail.python.org/mailman/listinfo/python-list

Re: Cp1251-symbols in SOAP request

2005-12-17 Thread Erik Max Francis
Pelmen wrote: > UnicodeEncodeError: 'ascii' codec can't encode characters in position > 161-168: ordinal not in range(128) > > How can i force this problem. The problem is that you're trying to write a Unicode string to a socket. In order to do that properly, you have to encode it to a string

Re: Wingide is a beautiful application

2005-12-17 Thread Steve Holden
Sybren Stuvel wrote: > vinjvinj enlightened us with: > >>I haven't used an IDE in a long time but gave wing ide a try because >>I wanted the same development platform on Linux and Windows. > > > I use gvim for that :) > > >>- Ability to double click on the project plan and it hides and you >>d

Cp1251-symbols in SOAP request

2005-12-17 Thread Pelmen
in short >>> doc = SOAPpy.SOAPProxy('localhost:8000', 'urn:Server', encoding='cp1251') >>> doc.invoke('НомерДок'.decode('cp1251'), ()) *** Outgoing SOAP ** http://schemas.xmlsoap.org/soap/encoding/"; xmlns:SOAP-ENC="http://schemas.xmlsoap.org/s

Re: Wingide is a beautiful application

2005-12-17 Thread Sybren Stuvel
vinjvinj enlightened us with: > I haven't used an IDE in a long time but gave wing ide a try because > I wanted the same development platform on Linux and Windows. I use gvim for that :) > - Ability to double click on the project plan and it hides and you > double click on it and it becomes visab

Re: Python IDE

2005-12-17 Thread SPE - Stani's Python Editor
SPE will be reviewed by the same person for the next PyCon against WingIDE, Komodo and Pydev. Maybe you say which features you want to give a better answer. I don't know about WingIDE but I do know about SPE ;-) Things which we want to have ready for the review: - integrated debugger (now WinPdb r

Faster copying of composite new-class objects

2005-12-17 Thread Alex
Hi, My program requires copying thousands of composite new-class objects. I found that the following: objCopy=cPickle.loads(cPickle.dumps(obj, protocol=2)) works about 4 times faster than copyObj=copy.deepcopy(obj). Is there any way to do it even faster? All objects have slots, __getstate__ and _

Re: SMP, GIL and Threads

2005-12-17 Thread Aahz
In article <[EMAIL PROTECTED]>, catsup <[EMAIL PROTECTED]> wrote: > >It was actually quite a minor adjustment in the application to follow >the oft repeated advice here on this subject to share only the >Queue object between threads. Making the update of the dictionary >just another queued command

Wingide is a beautiful application

2005-12-17 Thread vinjvinj
I haven't used an IDE in a long time but gave wing ide a try because I wanted the same development platform on Linux and Windows. I'm currently using Ultraedit and it works fine but needed something more portable as I'm moving my main platform over to Ubuntu. I first tried jedit and was reasonably

Re: SMP, GIL and Threads

2005-12-17 Thread catsup
It was actually quite a minor adjustment in the application to follow the oft repeated advice here on this subject to share only the Queue object between threads. Making the update of the dictionary just another queued command request caused both the dictionary read and write to be performed by th

Your message to theseptemberproject awaits moderator approval

2005-12-17 Thread theseptemberproject-bounces
Your mail to 'theseptemberproject' with the subject hi, ive a new mail address Is being held until the list moderator can review it for approval. The reason it is being held: Post by non-member to a members-only list Either the message will get posted to the list, or you will receive n

Re: Robotics and parallel ports

2005-12-17 Thread c d saunter
Isaac T Alston ([EMAIL PROTECTED]) wrote: : Thanks for everyone's tips and hints. I WILL MAKE THIS WORK! I think I'll : take your advice and use the serial port instead of the parallel port - I : won't have that much data to send (in comparison with, for example, : industrial level applications). A

Re: Xah's Edu Corner: Responsible Software Licensing

2005-12-17 Thread Matt Garrish
wrote in message news:[EMAIL PROTECTED] > On 16 Dec 2005 16:52:43 -0800, "Xah Lee" <[EMAIL PROTECTED]> wrote: > > physocopic drugs! > Please do us all the favour of taking a basic literacy course. You aren't even close half the time, which just confirms you're a halfwit. Matt -- http://mai

Re: Which Python web framework is most like Ruby on Rails?

2005-12-17 Thread floydophone
I'm the founder and lead developer of Subway. I am all for it. TG would have to change a couple of things IMHO, but I think it would be a great idea. If we were to merge projects, we would have to get a serious TurbowaySubgears blogging hype train going. - Peter Hunt -- http://mail.python.org/

Re: Invoking Unix commands from a Python app

2005-12-17 Thread Will McDonald
On 16 Dec 2005 08:45:01 -0800, Rob Cowie <[EMAIL PROTECTED]> wrote: > Excellent... just the thing I was looking for. Thanks. > > Does anyone know of a unix app that could be used to monitor the > duration of processes etc.? If you have control over starting the program then "time" will probaby suf

Re: Python IDE

2005-12-17 Thread Colin J. Williams
David wrote: > linuxfreak wrote: > >> Which is a better python IDE SPE or WingIDE in terms of features >> > > You might want to look at a review of Python IDEs at > http://spyced.blogspot.com/2005/09/review-of-6-python-ides.html > > david lees Thanks, this is an excellent review. It mentions bu

Re: Tkinter interactive

2005-12-17 Thread Murtog (sent by Nabble.com)
nige, as you are a begginer is better to you to use the: http://www.ferg.org/easygui/ module. it is a very easy module to make guis. the use of tkinter envolves some more advanceds topics, as Classes, Event-Handlers, it is better you learn the basic of Python and so you go to Tkinter. cheers!

Re: PythonWin troubleshooting

2005-12-17 Thread Greg Chapman
On 13 Dec 2005 14:27:48 -0800, "chuck" <[EMAIL PROTECTED]> wrote: > >After some use the problems have re-appeared with the "ActivePython >2.3.5.236" distro. I think the problem is related to some sort of >shell hook as it goofs up not only PythonWin, but other windows >applications and windows it

Re: Python IDE (was: PythonWin troubleshooting)

2005-12-17 Thread chuck
Yeah but is it 'fast'. What is Komodo written in? -- http://mail.python.org/mailman/listinfo/python-list

Tkinter interactive

2005-12-17 Thread cm012b5105
Hello i am fairly new to python, I have written an interactive programme a small example of it is here. s = raw_input ("Do you have any children? ") if s== 'yes': print "Thats great" elif s=='no': print "Well my boss has 2" Now i have also been looking at Tkinter if we take the basic "hello

Re: Xah's Edu Corner: Responsible Software Licensing

2005-12-17 Thread Mark Carter
robic0 wrote: > Xah, please admit to me that your under the influence of > physocopic drugs! He could be schizophrenic. Seekers of all things wierd on the internet can do no better than Gene Ray's Timecube: http://www.timecube.com/ His outpourings are so well known that he even gets a menti

Re: Problem with Lexical Scope

2005-12-17 Thread Bengt Richter
On 17 Dec 2005 01:16:31 -0800, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: >>>from functional import curry > >>I'm not familiar with that module, but I wrote a byte-code-munging curry >>as a decorator that actually modified the decorated function to eliminate >>parameter(s) from the signature a

Re: Can Python write foreign characters to the console?

2005-12-17 Thread Martin v. Löwis
Do Re Mi chel La Si Do wrote: > That depends on what we call "console". > > Python console? > or > Windows console? AFAICT, it works in both: if I start Python 2.4 (command line) from the start menu, and have it import a module that prints # -*- coding: iso-8859-1 -*- print u"Martin v. L

Re: doctest fails to NORMALIZE_WHITESPACE ?

2005-12-17 Thread David MacKay
Thanks everyone! Silly me :-) * Tim Peters <[EMAIL PROTECTED]> [2005-12-17 12:01]: > [David MacKay] > > Hello, I'm a python-list newbie. I've got a question about doctest; perhaps > > a bug report. > > As things will turn out, it's just a question. That's common for newbies :-) I've got a foll

Re: Which Python web framework is most like Ruby on Rails?

2005-12-17 Thread Mike Meyer
[EMAIL PROTECTED] writes: > Mike Meyer wrote: >> It's conceivable that a change might make Python more popular and also >> detract from the language in some way. For a ridiculous example, >> making Python interpret Perl 6 would certainly make it more popular, >> but I would argue that would seiousl

Re: Python on GP2X (Linux Based Handheld Console)

2005-12-17 Thread Jérôme Laheurte
On Sat, 17 Dec 2005 02:50:29 +, Michael wrote: > I must admit personally I wouldn't be interested in python on a PSP because > you never know when homebrew code on a PSP is going to be locked out... Yes, but it only concerns new buyers and people who upgrade their firmware. Upgrading the firm

Re: doctest fails to NORMALIZE_WHITESPACE ?

2005-12-17 Thread Peter Otten
David MacKay wrote: > I really like doctest, but sometimes doctest gives a failure when the > output looks absolutely fine to me -- indeed, even after I have gone to > considerable effort to make my documentation match the output perfectly. > The piece of source code concerned is here: > > >

Re: doctest fails to NORMALIZE_WHITESPACE ?

2005-12-17 Thread Tim Peters
[David MacKay] > Hello, I'm a python-list newbie. I've got a question about doctest; perhaps > a bug report. As things will turn out, it's just a question. That's common for newbies :-) > I really like doctest, but sometimes doctest gives a failure when the output > looks absolutely fine to me -

Re: Next floating point number

2005-12-17 Thread Bengt Richter
On Sat, 17 Dec 2005 14:23:38 +1100, Steven D'Aprano <[EMAIL PROTECTED]> wrote: >I'm looking for some way to get the next floating point number after any >particular float. > >(Any mathematicians out there: I am aware that there is no "next real >number". But floats are not real numbers, they only

doctest fails to NORMALIZE_WHITESPACE ?

2005-12-17 Thread David MacKay
Hello, I'm a python-list newbie. I've got a question about doctest; perhaps a bug report. I really like doctest, but sometimes doctest gives a failure when the output looks absolutely fine to me -- indeed, even after I have gone to considerable effort to make my documentation match the output p

Re: Problem with Lexical Scope

2005-12-17 Thread [EMAIL PROTECTED]
>>from functional import curry >I'm not familiar with that module, but I wrote a byte-code-munging curry >as a decorator that actually modified the decorated function to eliminate >parameter(s) from the signature and preset the parameter values inside the >code. >I mention this because pure-pytho

Re: Xah's Edu Corner: Responsible Software Licensing

2005-12-17 Thread robic0
On Sat, 17 Dec 2005 09:55:10 +0100, Gunnar Hjalmarsson <[EMAIL PROTECTED]> wrote: >robic0 wrote: >> Xah Lee wrote: >>> >>> >> >> > >So, at last they found one another. :( Thanks for the coaching Gunnar !!! -- http://mail.python.org/mailman/listinfo/python-list

Re: Problem with Lexical Scope

2005-12-17 Thread [EMAIL PROTECTED]
>Note that NotImplemented is not the same as NotImplementedError -- and I >wasn't suggesting >raising an exception, just returning a distinguishable "True" value, so that >a test suite (which I think you said the above was from) can test that the >"when" >guard logic is working vs just passing ba

Re: Xah's Edu Corner: Responsible Software Licensing

2005-12-17 Thread Gunnar Hjalmarsson
robic0 wrote: > Xah Lee wrote: >> >> > > So, at last they found one another. :( -- Gunnar Hjalmarsson Email: http://www.gunnar.cc/cgi-bin/contact.pl -- http://mail.python.org/mailman/listinfo/python-list

Re: Xah's Edu Corner: Responsible Software Licensing

2005-12-17 Thread robic0
On 16 Dec 2005 16:52:43 -0800, "Xah Lee" <[EMAIL PROTECTED]> wrote: >Responsible Software Licensing > >Xah Lee, 200307 > >Software is a interesting invention. Software has this interesting Soft, like your head >property, that it can be duplicated without cost, as if like copying it costs to dup, d

Re: Next floating point number

2005-12-17 Thread Tim Peters
[Steven D'Aprano] > I'm looking for some way to get the next floating point number after any > particular float. ... > According to the IEEE standard, there should be a routine like next(x,y) > which returns the next float starting from x in the direction of y. > > Unless I have missed something, P