- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 2
- Posts with Downvotes
- 1
- Downvoting Members
- 2
18 Posted Topics
[URL="http://www.gigabyte.com/fileupload/product/2/3515/3584.jpg"]Picture of my Mother board[/URL] As you can see, on the bottle left of my motherboard there a bunch of different colored pins. I know my power button plugs in somewhere around there. However, I don't know where.. D: Can someone please tell me where more specifically? My power button … | |
Can someone give me an example using tkinter's canvas and bind fetures to make a circle that you can move by using either WASD or the arrow keys? | |
[code] import java.util.*; import java.lang.*; class sub { public static void main(String[] args) { String a = "1"; String b = "2"; String c = "3"; String d = "4"; String e = "5"; String f = "6"; String g = "7"; Scanner sa1 = new Scanner(System.in); System.out.println("1) Encrypt"); System.out.println("2) … | |
As The title says pretty much, auto resize and auto format are making this very hard for me to make GUI, can I turn it off? | |
[CODE]import xchat hooker = None __module_name__ = "Away Script" __module_version__ = '1.0' __module_description__ = "States that your away" def away(word, word_eol, userdata): chan = xchat.get_info('channel') xchat.command("msg " + chan + " I'm Away") def toggle(word, word_eol, userdata): global a if word[1] == 'on': xchat.hook_print("Channel Msg Hilight", away) xchat.command("echo Loaded") elif … | |
Why is it that if input 1, line 1 isn't deleted in a.txt? [code] x = open('a.txt','r') l = [] q = 0 for line in x: l.append(str(line)) b = "".join(l) print b a = raw_input("Which line do you want to delete?: ") l[int(a)] = "" x.close() x = open('a.txt','w') … ![]() | |
How can i set Textbox1.text equal to the conents of file.txt? | |
How do I add Textbox1.Text to a textfile? | |
How do I make something like [code] x = 5 while 0 < x b = raw_input("something: ") [/code] However each time it loops, I want it to change, like: first loop - b = raw_input("something: ") second loops - c = raw_input("something: ") third loop - d = raw_input("something: … | |
I know Remembering secure passwords is difficult. So I made this. [code] import random, os a= ['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z','1','2','3','4','5','6','7','8','9','{',':','>','?','}','|','!','@','#','$','%','^','&','*','(',')','-','+'] z = int(raw_input("How many words in your password?: ")) os.system("clear") List = [] for x in xrange(z): List.append(random.choice(a)) print "".join(List) print "1) Yes" print "2) No" b = int(raw_input("Would you like to save … | |
Re: c = raw_input("Type something: ") x = open("%s.txt" % c, "w") y = "".join(List) x.write(y) x.close x = open("%s.txt" % c, "r") x.read | |
[code] #Credits: #Nevets04 #Fallen #Uber1337 #Farout import os List = [] z = int(raw_input("How many words in your list?: ")) os.system("clear") for x in xrange(z): List.append(raw_input("")) List.sort(),os.system("clear") print "\n".join(List) [/code] | |
Why are there so many people doing c++. I've heard even from c++ coders, that python is better. Is this maybe because c++ has been around longer? What do you think the future of python is? Do you think It will eventually beat out c++? | |
[code] def a(classname,highdamageweaponname,lowdamageweaponname,ldmgname,hdmgname,yourhealth,enemyhealth,ldmgspellname,hdmgspellname): import os import random os.system("clear") monsters = ['cyclopse', 'duck', 'dragon', 'wizard', 'magician'] randommonster = random.choice(monsters) print "Class: %s" % classname print "1) %s (More damage, but less armor)" % highdamageweaponname print "2) %s (Less damage, but more armor)" % lowdamageweaponname a = int(raw_input("You are battling a %s … | |
Heres the situation so far.I'm in 9th grade and I've been programming in python. I enjoy python however, my high school doesn't offer any courses for python. In 11th and 12th grade, I can take C++. So here's my question: Should I: A) Learn python for the next to years … | |
Heres the situation so far.I'm in 9th grade and I've been programming in python. I enjoy python however, my high school doesn't offer any courses for python. In 11th and 12th grade, I can take C++. So here's my question: Should I: A) Learn python for the next to years … | |
I finally got apache installed. I moved my .cgi python web application to var/www/cgi-bin however when I went to 127.0.0.1/cgi-bin/web.cgi but it said the web address didn't exsist. So I put the file in in var/www/ and it just read what was in the script, it didnt execute it. So … | |
Re: Python is a scripting language not made to be compiled. Although it can be done it isn't perfect. Somethings aren't supported. |
The End.