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
~78.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
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
278
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
591
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
88
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
992
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
97
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
952
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
153
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
384
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
816
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
213
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
130
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
148
Member Avatar for linux
Member Avatar for EAnder
0
14K
Member Avatar for leegeorg07
Member Avatar for jworld2
0
107
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
5K
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
189
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
171
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
114
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
199
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
271
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
16K
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
97
Member Avatar for spinner357
Member Avatar for EAnder
0
100
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
85