• Log in or sign up for an account here: https://www.sythe.org/login

Recent content by plzmike

  1. P

    An initials problem (python)

    Change print "Nice to meet you:", first_initial, second_initial, the_initials[2].title() to return first_initial + " " + second_initial + the_initials[2].title() and in your main function: initials(full_name) to print "Nice to meet you:", initials(full_name) and yes first_initial =...
  2. P

    An initials problem (python)

    Theres a built in method called Title that will capitalize the last name properly. just do the_initials[2].title() or whatever your last name vairiable is called. http://docs.python.org/library/stdtypes.html#str.title Just so you know there are much simpler ways to make the first initial...
  3. P

    An initials problem (python)

    Strings are like arrays of characters in most languages and you can access characters like an array. To get the first character do the_initials[0][0] EXAMPLE: >>> hi = ("hello","test") >>> print hi ('hello', 'test') >>> print hi[1] test >>> print hi[1][0] t
  4. P

    Trouble using "return" in python.

    Heres an example http://mikehershey.com/pastie/view.php?id=qn48LXhph57a70YMg6Sb
  5. P

    Wanting to make an open source bot.

    I have a runescape bot. Mine however is a reflection bot (unlike powerbot), its kinda the furthest developed of any reflection bot I've ever seen, if you add me on msn I'll help you with parts you get stuck at, BUT if you have no idea what reflection/bcel/asm is don't even attempt this. JUST SO...
  6. P

    Going over to JAVA?

    Java is good for Runescape bots or games that use java. Java would be a terrible language to make a bot for a game like WOW that uses native language. If you know nothing about OOP then writing good java code will be challenging. Generally everyone who codes in Java is an asshole and thinks...
  7. P

    Stuck making a program in python..

    Heres an example: http://mikehershey.com/pastie/view.php?id=7nOEnIw19i7Rrgpqfuvh
  8. P

    Stuck on a problem.

    EDIT: -Use main function to control the calling of other functions, passing of parameters to the other functions and the storing of values returned from the other functions. my code doesn't do that. You need to rewrite all your functions to make that happen im too lazy
  9. P

    Stuck on a problem.

    http://mikehershey.com/pastie/view.php?id=0CSZ328UEvRSAcscexW7 meets the requirements but still is ugly code :p
  10. P

    Where do I Start?

    Use CURL to get the HTML source, parse it using regex/grammars to find what u want. Heres an example from my gedownloader: How i get html source: http://mikehershey.com/pastie/view.php?id=l56JhhaCmf4gyVhgorUX How i get prices: http://mikehershey.com/pastie/view.php?id=asO4wgB1xgG6jEdJjl81...
  11. P

    College for programming?

    In general its not about languages more about theory. Once you know one programing language you essentially know all of them. A good computer science program teaches you things like data structures/algorithms, design principles, system architecture, grammers/parsing, etc.. Most schools teach...
Runescape Gamblingrunescape gambling
Back
Top