67 Posted Topics

Member Avatar for gerard4143

TKinter isn't very thread safe. What exactly are you trying to do? If you want to have more than one windows open Tkinter has a solution for that, look up TopLevel for tkinter(I'm not gonna post an example unless i know your problem).

Member Avatar for ov3rcl0ck
-1
531
Member Avatar for ov3rcl0ck

So when I take an argument off the stack it seems that is in the form of a string, is there a way i can convert it to a integer so i can "cmp" it with another argument which i also wish to convert to an int? I am a …

Member Avatar for ov3rcl0ck
-1
288
Member Avatar for Mark198995

[CODE] #include<iostream> using namespace std; int main() { char name; int counter; while (name!="stop") { cout<<"Enter your friend's name (""stop"" to quit): "; cin>>name; cout<<"so you have"<<counter <<"\n\n"; counter ++; } cout<<"Go Make some friends you emotional loser!\n"; system ("pause") ; return 0; } [/CODE] In my opinion the cleanest …

Member Avatar for Kashaku
0
96
Member Avatar for chico2009

I think you have to use the seek() function to set the offset in your file, try this maybe. [CODE] fin = open ("origDict.txt", "r") fout = open ("newDict.txt", "w") lif = 0 # Lines in original file lpp = 72 # Lines per page. Default value, look at user …

Member Avatar for ov3rcl0ck
0
279
Member Avatar for adam291086

Are you sure the cookie gets put into your browser, because im pretty sure cookielib is for use with urllib/2 and httplib. However you could probably save a cookie in the right format to your browsers cookie cache. I might be wrong, but i doubt cookielib has anything to do …

Member Avatar for ov3rcl0ck
0
104
Member Avatar for pysup

Its actually not as tough as people are making it out to be, if you have a space you need to put ' ' or " " around it to clarify that it has a space, maybe try this: [CODE] import os os.system("'C:\Winamp\Winamp.exe'") [/CODE] I may be wrong, i might …

Member Avatar for ov3rcl0ck
0
4K
Member Avatar for ov3rcl0ck

I'm extremely new to assembly and was wondering if there is a speed difference between 16, 32, and 64bit registers.

Member Avatar for wildgoose
-1
165
Member Avatar for i are smart

[QUOTE=i are smart;994757]please tell me that there is a difference because i've spent an entire week figuring out how to make cTurtle work. Now that I have succeeded, both modules appears to have the same functions. Please tell me that there is a difference[/QUOTE] Thing is THEY DO BOTH DO …

Member Avatar for Ene Uran
0
215
Member Avatar for Triverske
Member Avatar for Stefano Mtangoo
0
108
Member Avatar for james27

This should do it, urllib should do all the dirty work, even with cookies, I've used this before to auto login, works perfectly [CODE]import urllib2,urllib o = urllib2.build_opener( urllib2.HTTPCookieProcessor() ) urllib2.install_opener(o) id='kimok222' pw='1qaz2wsx' p=urllib.urlencode({"id" : id, "pwd" : pw}) f=o.open("hxxps://login.plaync.co.kr/login/login", p) data=f.read() f.close() #now to request something while logged in …

Member Avatar for ov3rcl0ck
0
207
Member Avatar for The-IT

[QUOTE=The-IT;996893]hi, I just created this awesome python application and i want to spread it around, but every one has python. I was just wondering if I could compile python source into a linux executable like py2exe, and then compile the executable into a .deb installer file. any help would be …

Member Avatar for ov3rcl0ck
0
254
Member Avatar for AutoPython

Random generation IS very predictable, not to mention a brute force could probably crack that in about 5min. Cryptography is really intense, and your not really using an algo, more like a formula. Not too mention most encryption methods use randomly generated keys, and TrueCrypt for example uses your mouse …

Member Avatar for ov3rcl0ck
0
574
Member Avatar for rckothari

There aren't any modern graphic drivers that don't support OpenGL, try reinstalling your graphics driver, all openGL is built into your driver.

Member Avatar for ov3rcl0ck
0
65
Member Avatar for leegeorg07

Yeah you'll need to use exceptions, but if you want the script to continue after the error you're going to have to "pass" it, try this: [CODE] for i in range(1, 638): try: temp=start+str(i) permlist.append(str(url.urlopen(temp).readlines()[88])) textlist.append(str(url.urlopen(temp).readlines()[77])) except Error, err: print "Index Error: %d at %d" % (err, i) pass [/CODE] …

Member Avatar for ov3rcl0ck
0
207
Member Avatar for jcmeyer

I prefer Postgre because I don't like many aspects of MySQL and its preformance. If needed you can use serialization+threading to acheive this, or make your own database using one of pythons many databasing libraries.

Member Avatar for ov3rcl0ck
0
235
Member Avatar for soulrider

Its too early to start using python 3.0+, everyone is using 2.6, 3.0+ isn't compatible with previous version because they changed the code syntax and the way some builtin functions work. I'd say go for 2.6 or anything v2 basically, its still supported and about 99.9% of people use 2.x …

Member Avatar for vegaseat
0
292
Member Avatar for khess

Problem with microsoft is they aren't good programmers but they are good at marketing. Thing with linux is its programmed well but obviously marketed bad, but thats not an issue because Linux needs no funding and it spreads through the word of its users. Linux isn't gonna die by the …

Member Avatar for Alex_
0
739

The End.