Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can anyone do python to java conversions?
#4
(12-01-2009, 02:05 PM)Project Evolution Wrote: I dont understand what those methods/functions in Python do. I can however convert them if i know their task. What do these do;
Code:
chr()

len()

ord()

list()

And I know the append() method. Are you trying to append text through a GUI or just through the use of writing to something?

Just through the use of writing something.
I also find len() it is String.length()
as for chr and ord
chr(97)
outputs a. I believe its hex
and ord('a') outputs 97, Its the opposite of chr
Reply


Messages In This Thread
RE: Can anyone do python to java conversions? - by nevets04 - 12-01-2009, 06:22 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  why java haphazard 8 1,552 12-12-2011, 03:23 AM
Last Post: RDCA
  Need Java help from java expert. Blazin 2 1,960 09-07-2011, 02:43 PM
Last Post: AceInfinity
  dilemma: java or python Treblez 10 2,437 04-09-2010, 11:12 PM
Last Post: nevets04
  Java help php 1 866 04-06-2010, 06:41 AM
Last Post: php
  Java Problem for real java programmer Testgamma1 10 4,663 03-14-2010, 09:08 AM
Last Post: uber1337

Forum Jump:


Users browsing this thread: 1 Guest(s)