Forum: Python Sep 10th, 2009 |
| Replies: 5 Views: 913 I did something very similar for my father who happens to be a weather nut. I went online and found the webpage for our zipcode and used urllib to get updates of the webpage every 15 minutes or so.... |
Forum: Windows Vista and Windows 7 Jun 16th, 2009 |
| Replies: 4 Views: 773 You should be able to do that by changing the Registry. Remember: Google is your friend. |
Forum: Geeks' Lounge Jun 12th, 2009 |
| Replies: 148 Views: 13,800 My HTML kicks your C++'s ass!
I read that somewhere. lol. |
Forum: Python Jun 10th, 2009 |
| Replies: 5 Views: 323 You can use the standard Tkinter module or download wxPython. There are others but those are the most popular I think. Google for tutorials. |
Forum: Geeks' Lounge May 28th, 2009 |
| Replies: 22 Views: 4,436 ha! Try to click on the images that are buttons... lol.
I also found that if you do it a second time it does it faster. |
Forum: Python May 16th, 2009 |
| Replies: 6 Views: 9,703 If you are using windows you can use the third party module pyHook. |
Forum: Python Apr 23rd, 2009 |
| Replies: 3 Views: 1,921 This is a quick little hack I made for windows that works on my vista computer, no third party modules needed ;-)
import os
data = os.popen('vol '+'c:', 'r').read()
data = data.split()
return... |
Forum: Python Apr 23rd, 2009 |
| Replies: 3 Views: 283 No. The win32gui.GetDesktopWindow function returns the screen size. |
Forum: Python Mar 10th, 2009 |
| Replies: 4 Views: 508 Thanks for your help and sorry if I did not make this clear but I need info on the .pyc files. I know they are binary and I need to know the structure of the files and the the byte codes for each... |
Forum: Python Mar 9th, 2009 |
| Replies: 4 Views: 508 I was a little bored today and I started to google how the Python Virtual Machine works. I found a bunch of helpfull articles and kind of understand at least some of the very basic PVM code using the... |
Forum: Python Mar 3rd, 2009 |
| Replies: 6 Views: 342 Sorry to damper your spirits but a good (better than ~workable) knowledge of threading would be a must, re module for filtering out curses(if you want to), file io for logs, and a working chat... |
Forum: Python Mar 3rd, 2009 |
| Replies: 3 Views: 1,259 You may have already tried this while trying os.system but in windows (Idk about linux/others) this works:
os.system("start")
You should be able to start any application in windows just by... |
Forum: Python Jan 24th, 2009 |
| Replies: 2 Views: 521 I know the codes not the best well written but the only problem I'm having(besides the interpreting of the macro commands, the one here is just a base for me to work on) is how the... |
Forum: Python Dec 22nd, 2008 |
| Replies: 5 Views: 716 You can always make the server aplication give a python script conditions such as calling from the shell "python MyScipt -user=USER -pass = password" and the python script will verify the username. I... |
Forum: Python Dec 12th, 2008 |
| Replies: 1 Views: 1,126 You would have to figure out how google has their cookies. Basicly you would need the user to enter acount and password and create a cookie and put it in the cookie for the webrowser or os (Im no... |
Forum: Python Dec 12th, 2008 |
| Replies: 2 Views: 4,388 First of all the files you are trying to access are probably restricted to admin or root. Second of all when you use the open(raw_input("File Name: ")) it should include a whether you want read/write... |
Forum: Python Dec 11th, 2008 |
| Replies: 4 Views: 682 Im not into ctypes yet but I do know that in "#define HGE_VERSION 0x180" 0x180 is not just for python. It is a hex number so it should be represented in most if not all programming languages. All... |
Forum: Python Oct 9th, 2008 |
| Replies: 1 Views: 704 use the #python channel at the irc server at saurik.com for ipod touch and the official #python channel |
Forum: Python Oct 9th, 2008 |
| Replies: 1 Views: 4,607 check out http://pythonce.sourceforge.net/Wikka/GUIToolkit for alist of gui toolkits for python ce. If you can't figure that out then just do a command line app. |
Forum: Python Aug 29th, 2008 |
| Replies: 2 Views: 928 You could easily display html using wxpython. Use the ActiveX_IEHtmlWindow from wx. The only problem I see is that your IM client will have to tell the difference between html and regular text. For... |
Forum: Python Aug 28th, 2008 |
| Replies: 6 Views: 1,195 Im confused and I need to know how to read from a tkinter textbox in order to create a text editor. Also would it be possible to have certain words colorized as you type in words? I would like to... |
Forum: Python Aug 14th, 2008 |
| Replies: 2 Views: 1,101 pyc modules are used by modules. i think they are already compiled. they do not use python, instead python uses them. |
Forum: Python Aug 14th, 2008 |
| Replies: 3 Views: 3,031 I don't think a cross platform compiler has been made. My suggestions:
Go to the library and compile stuff on those computers
create a cross platform compiler |
Forum: Python Aug 14th, 2008 |
| Replies: 2 Views: 1,638 Might be binary your looking at. Or encrypted stuff but Telnet is not known for standard encryptions.
Good Luck. |
Forum: IT Professionals' Lounge Aug 14th, 2008 |
| Replies: 15 Views: 5,216 Thumbs down. Bill Gates is definetly not the devil. Sure a lot of people say he makes crap os's and software but give him a break. If he made such a horrible os then why does most of the world use... |
Forum: Python Aug 13th, 2008 |
| Replies: 1 Views: 2,388 To simplify your problem I suggest the urlgrabber module at: http://linux.duke.edu/projects/urlgrabber/
It also is able to show the percentage downloaded. Heres an example I found:... |
Forum: Python Aug 12th, 2008 |
| Replies: 1 Views: 506 I am in the process of writing a brainfsck interpreter. It's just a skeleton and I still have to add Ascii, multi-character, and loops but, I was wondering was their any way I could create a compiler... |
Forum: Python Aug 11th, 2008 |
| Replies: 10 Views: 1,405 I see AI as a program that learns from experience. Say ELIZA learned the meaning of "it", "it" would generaly mean the main object you were talking about in the last sentence. The same would aply to... |
Forum: Python Aug 7th, 2008 |
| Replies: 10 Views: 1,405 I've noticed there is at least 1 thread regarding to artificial intelligence. I assume most people new and old to python would be interested in artificial intelligence and the even greater goal of... |
Forum: Python Aug 7th, 2008 |
| Replies: 1 Views: 586 You should be able to do that with any http proxy server...You just need to send the correct request. I know get is to get a certain page on a site, but you could hack to gether a program that... |
Forum: Python Aug 7th, 2008 |
| Replies: 208 Views: 96,482 1. Create a program that shutsdown/loggsoff a user after a period of inactivity.
Hint: Use the PyHook module at http://mindtrove.info/articles/monitoring-global-input-with-pyhook/ and the os module... |
Forum: Python Aug 6th, 2008 |
| Replies: 6 Views: 901 AIM doesn't just allow random clients to connect to their servers. You need a authorization number that is sent to the server in order to validate the client. Once you are authorizid you can send... |
Forum: Python Jul 23rd, 2008 |
| Replies: 7 Views: 4,668 To speed up Python there are 3 things you could do that I know of:
Code Smarter: As ChainSaw pointed out. Try to simplify your programs. Don't rewrite things(there is a reason why a lot of modules... |
Forum: Python Jul 23rd, 2008 |
| Replies: 2 Views: 4,032 You could use the urllib or urllib2 modules for this task I assume but you could also start from scratch using pure sockets. You would need to learn HTTP Protocol for this and simulate what messages... |
Forum: Python Jun 5th, 2008 |
| Replies: 2 Views: 1,115 I am trying to add user input using the raw_input function to string url_orig. I am attempting to replace the spaces with +'s to make a 'google search'. the replace function works fine in IDE but not... |
Forum: Python Feb 29th, 2008 |
| Replies: 5 Views: 1,847 I know you can use this to open IE6 but i do not know if it will open html files
import webbrowser
url = http://www.google.com # I presume you can open html files
webbrowser.open(url) |
Forum: Python Feb 29th, 2008 |
| Replies: 1 Views: 2,836 I (being a novice python programmer) would use a loop for your problem. try something like this:
user1 = 'user'
user1loop = 1
while user1loop = 1:
#some more code here to allow them to use the... |