I have a code in java, basically it is a class and methods, and I want to rewrite it in python but I don't know much python. Can anyone here help me out? The code isn't too long. Thanks in advance!
-
[url=http://docs.python.org/2/tutorial/classes.html]Classes in Python[/url] Python is simple so it shouldn't be hard to convert a simple program.
-
Post it?
-
Well, I suppose you are aware that your code is less than optimal and certainly is not the way to go. Another problem is that we cannot say how you can "write something in python which give me the functionality Java code is giving" because we do not know exactly what you are trying to do.