python - getpos() coding -


How to write the getpos () command that should return an existing (X, Y) / P>

It starts like this:

  DEF DPOPO (X100, Y100)  
< P> definitely do not need help

It's a bit underspecified, but it can work :

  def getpos (self): return (self x .f, sfa)  

how to back it a tuple , The value of the example is assumed.


Comments

Popular posts from this blog

MySql variables and php -

url rewriting - How to implement the returnurl like SO in PHP? -

Which Python client library should I use for CouchdB? -