Posts
 
Reputation
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+4
Strength to Decrease Rep
-1
100% Quality Score
Upvotes Received
3
Posts with Upvotes
3
Upvoting Members
3
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
2 Commented Posts
~79.4K People Reached
About Me

School

Interests
Computers, Programming, Reading(Michael Crichton and Stephen King a little Le Carre), Bike riding with…
PC Specs
Eee Pc running WindowsXP SP3 Custom built w/ amd64 processor 2GB ram running ubuntu
Favorite Tags

43 Posted Topics

Member Avatar for vegaseat

1. Create a program that shutsdown/loggsoff a user after a period of inactivity. Hint: Use the PyHook module at [url]http://mindtrove.info/articles/monitoring-global-input-with-pyhook/[/url] and the os module 2. Create a function that filters obcenities out of typed speech like in some IRC or AIM chatrooms. Hint: Use the standard re module (may make …

Member Avatar for vegaseat
20
18K
Member Avatar for sillyboy
Member Avatar for Helianthus
0
5K
Member Avatar for d34dflowers

If by pdu you mean protocol data unit(what i get when I google "pdu"), then thats a protocol not a character set. If you mean ETSI GSM 03.38(some character set i get when I google "pdu to ascii") then here is a [URL="http://www.smsitaly.com/Download/ETSI_GSM_03.38.pdf"]list of pdu characters to their corresponding unicode …

Member Avatar for bruno__8
0
289
Member Avatar for bond00

You may have already tried this while trying os.system but in windows (Idk about linux/others) this works: [code] os.system("start") [/code] You should be able to start any application in windows just by calling: start path_to_program arguments Also, I assume you want to open a program that uses cmd.exe. Edit: my …

Member Avatar for inuasha
0
6K
Member Avatar for 'Stein

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.

Member Avatar for susheelsundar
0
593
Member Avatar for lelejau

Obfuscate the hell out of it. Make it so complicated that it's not worth it for someone to look at the hex values and try and figure out how it works.

Member Avatar for FreeBirdLjj
0
90
Member Avatar for sravi.pearl

Or you could just save the data you got from website to a file and open it with os.system(). SendKeys is only available on windows(I believe) and you run into the problem of making sure the active window is notepad.

Member Avatar for richieking
0
2K
Member Avatar for EAnder
Member Avatar for vmanes

[COLOR="Red"][B]My HTML kicks your C++'s ass![/B][/COLOR] I read that somewhere. lol.

Member Avatar for macgurl70
1
1K
Member Avatar for Pascal123

Use the readln() function to get user input into a string variable. Then check the length of the string(the string should only be one character if the only numbers that are valid input are 1 2 and 3). Then check to see if that character is the ascii code of …

Member Avatar for Wolfgan
0
2K
Member Avatar for Turtle85

[CODE=pascal]procedure Taylor(var dat: table ; cd: integer; h: real); begin for i:=2 to cd + 1 do begin dat[i,1] := dat[i,1] + (i-1)*h; x := dat[i-1,1]; y := dat[i-1,2]; result := h * (x*exp(ln(y)/3)) + (sqr(h)/2) * ((sqr(x)/3) * exp(-ln(y)/3 + exp(ln(y)/3)) + ((h*h*h)/6) * (-(x*x*x/9)/y) + x *exp(-ln(y)/3)) + …

Member Avatar for FlamingClaw
0
99
Member Avatar for EAnder

I am attempting to get the username of the current user on a windows computer using windows API. I am using the GetUserName function in the Windows Unit. I am having some problems with giving the correct data types for function arguments. Any help would be greatly appreciated. [code] program …

Member Avatar for rapistebe
0
979
Member Avatar for EAnder

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 artificial life. I personally do not know anything about them. If you have ever had any experience …

Member Avatar for lrh9
0
157
Member Avatar for sravan953

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. Then I just parsed the html for common things like temperature, …

Member Avatar for EAnder
0
407
Member Avatar for EAnder

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 make this into a code editor possibly. Any help would …

Member Avatar for vegaseat
0
821
Member Avatar for bumsfeld

I know you can use this to open IE6 but i do not know if it will open html files [code] import webbrowser url = http://www.google.com # I presume you can open html files webbrowser.open(url) [/code]

Member Avatar for you2
0
216
Member Avatar for themaster

You should be able to do that by changing the Registry. Remember: Google is your friend.

Member Avatar for themaster
0
133
Member Avatar for max.yevs

You can use the standard Tkinter module or download wxPython. There are others but those are the most popular I think. Google for tutorials.

Member Avatar for vegaseat
0
149
Member Avatar for linux
Member Avatar for EAnder
0
14K
Member Avatar for leegeorg07
Member Avatar for jworld2
0
111
Member Avatar for xeo

This is a quick little hack I made for windows that works on my vista computer, no third party modules needed ;-) [code=Python] import os data = os.popen('vol '+'c:', 'r').read() data = data.split() return data[len(data)-1:] [/code] I looked around quick on the web and on linux you might be able …

Member Avatar for EAnder
0
6K
Member Avatar for EAnder

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 modules py_compile and dis. I was wondering how to write the …

Member Avatar for EAnder
0
194
Member Avatar for Stefano Mtangoo

[QUOTE=evstevemd;817596]The only thing I wanted to know if there is anything I need to know before attempting writting my Own chat program.[/QUOTE] 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 …

Member Avatar for lllllIllIlllI
0
174
Member Avatar for EAnder

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 UpdateLabels.start() method returns: [code]Traceback (most recent call last): File "C:\Users\Erik\Desktop\Stuff from last Night\MouseMacro.py", line …

Member Avatar for Ene Uran
0
118
Member Avatar for rajasekhar1242

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 think the sys has a module that allows you to use conditions.

Member Avatar for EAnder
0
201
Member Avatar for Prahaai

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 else fails you could do the conversion your self i guess...

Member Avatar for Prahaai
0
299
Member Avatar for Andrew Wiggin

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 access. Corrected code would be [code=python]open(raw_input("File Name: "), 'r')[/code] The 'r' is saying you want …

Member Avatar for lllllIllIlllI
0
17K
Member Avatar for Piratenaapje

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 expert here...). Then you would use the webbrowser.open() module.

Member Avatar for EAnder
0
102
Member Avatar for spinner357
Member Avatar for EAnder
0
108
Member Avatar for FireNWater

check out [url]http://pythonce.sourceforge.net/Wikka/GUIToolkit[/url] for alist of gui toolkits for python ce. If you can't figure that out then just do a command line app.

Member Avatar for EAnder
0
87
Member Avatar for jessiemcmillan

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 his products? I would bet the creator of this …

Member Avatar for Zappaboss
-1
359
Member Avatar for skate6566

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 that you make a protocol. Say the first 4 letters define what type of file it …

Member Avatar for EAnder
0
136
Member Avatar for kushyer

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

Member Avatar for sneekula
0
107
Member Avatar for rob spade

Might be binary your looking at. Or encrypted stuff but Telnet is not known for standard encryptions. Good Luck.

Member Avatar for Gribouillis
0
943
Member Avatar for ccclay

pyc modules are used by modules. i think they are already compiled. they do not use python, instead python uses them.

Member Avatar for Gribouillis
0
181
Member Avatar for ohyeah

To simplify your problem I suggest the urlgrabber module at: [url]http://linux.duke.edu/projects/urlgrabber/[/url] It also is able to show the percentage downloaded. Heres an example I found: [url]http://thejuhyd.blogspot.com/2007/04/youtube-downloader-in-python.html[/url] You could also use EasyDialogs(if your mac its standard, or you can use a windows port: [url]http://www.averdevelopment.com/python/EasyDialogs.html[/url] for a gui progress bar) or Tkinter, …

Member Avatar for EAnder
0
487
Member Avatar for EAnder

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 with python? I heard I could use lex and yacc but I am …

Member Avatar for Gribouillis
0
115
Member Avatar for ub007

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 simulates entering in a textbox (when you enter a textbox …

Member Avatar for EAnder
0
117
Member Avatar for rysin

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 messages. You need to download their sdk at aim.com which contains that number. The problem …

Member Avatar for EAnder
0
99
Member Avatar for vegaseat

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 are written in c, c++, and D. Not because they had to but …

Member Avatar for Gribouillis
0
491
Member Avatar for ddwyer50

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 a webbrowser sends to the server hosting the website for the user and password …

Member Avatar for EAnder
0
219
Member Avatar for EAnder

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 when I excecute the program. Any help will be appreciated [code]url_orig = 'http://www.google.com/search?hl=en&q=' …

Member Avatar for woooee
0
97
Member Avatar for hotteaboi

I (being a novice python programmer) would use a loop for your problem. try something like this: [code] user1 = 'user' user1loop = 1 while user1loop = 1: #some more code here to allow them to use the chat server [/code] ... later you would put in an option to …

Member Avatar for EAnder
0
89

The End.