Forum: Python 13 Hours Ago |
| Replies: 5 Views: 121 Mac OS X is based around Darwin UNIX, a version of UNIX that derived from NEXTSTEP, which derived from BSD. OS X Contains no BSD code nor NEXTSTEp code anymore. |
Forum: Python 14 Hours Ago |
| Replies: 5 Views: 121 If you set up some sort of source code repos I'd be happy to help, otherwise I could just post some code here or PM it to you. |
Forum: Python 1 Day Ago |
| Replies: 5 Views: 121 Maybe instead of using rsync, you can implement your own crossplatform version of rsync. You could also multithread is and/or use the multiprocessing module to provide multiple CPU support so copying... |
Forum: Perl 1 Day Ago |
| Replies: 3 Views: 552 |
Forum: Game Development 5 Days Ago |
| Replies: 8 Views: 3,331 In my opinion if you optimize the code enough it will make it pointless to decompile because the decompiled code will be just as confusing as the bytecode.
If you are really desprite you could... |
Forum: Computer Science 5 Days Ago |
| Replies: 20 Views: 21,744 Looks like I'm gonna change my career path now! |
Forum: Python 5 Days Ago |
| Replies: 3 Views: 168 Can you give me an example? Maybe something like wildcard characters, because the HTML I am trying to strip is dynamic and everchanging so I have to find a way to strip the parameters as well. |
Forum: Python 6 Days Ago |
| Replies: 3 Views: 168 I'm trying to strip HTML tags and replace certain tags with newlines and tabs. I just can't figure out a function to do this, any ideas? I'd prefer to use regex instead of a library. |
Forum: Python 7 Days Ago |
| Replies: 7 Views: 266 Recoding never hurts, usually the first things I do to optimize codes is replace all range() funstions with xrange(), then I look for loops that can be replaced with lambda, then I look for if... |
Forum: Assembly 7 Days Ago |
| Replies: 1 Views: 267 lets say we want to use the C library "stdio.h", we need to use the extern and call instructions. Like so:
extern _printf ;allows you to access the printf functions from stdio.h;
...
mov ecx,5... |
Forum: Python 15 Days Ago |
| Replies: 17 Views: 437 Fetching memory usage and mouse input are OS dependent. There isn't a library to fetch memory usage, but you can use the "mem" command on windows to fetch it, and the "ps" or "free" command on UNIX... |
Forum: Python 19 Days Ago |
| Replies: 1 Views: 152 Its going to be platform dependant, for windows you're going to have to use the win32 library and for Linux(and some unix flavors) you're going to have to use xlib, unfortunatly xlib for python is... |
Forum: Python 19 Days Ago |
| Replies: 11 Views: 368 Not quite sure what to mean... |
Forum: Python 19 Days Ago |
| Replies: 9 Views: 249 open it in binary mode. In unix however binary mode isn't needed but using 'wb' or 'rb' instead of 'w' or 'r' doesn't hurt. This should copy the file contents of a file to another no matter the... |
Forum: Python 19 Days Ago |
| Replies: 17 Views: 437 Probably the best inputs is date/time, used memory, random user input, and my favorite mouse movement(truecrypt uses this). |
Forum: Python 19 Days Ago |
| Replies: 8 Views: 235 Buddy you are not using enough functions, if you need everything in one function(sometimes teachers require this) you can declare functions within a function but it gets pretty messy. |
Forum: Getting Started and Choosing a Distro 31 Days Ago |
| Replies: 79 Views: 32,536 Well exe files are windows binarys, not compiled for linux. There are 4 main reasons linux doesn't need a AV:
Linux uses file permissions, you can only execute a file if you have a "+x"... |
Forum: Network Security 31 Days Ago |
| Replies: 3 Views: 799 You basically just give it a password and your done, you could read the manual that came with it, try a google search. It would give you a better answer than anyone here could. |
Forum: Python 33 Days Ago |
| Replies: 5 Views: 294 Sounds like a error in the SMTP library not your code, I have no idea why they'd limit it to 1000 emails. Alternatively if you're running linux you can output the "sendmail" command to the system, or... |
Forum: Python 34 Days Ago |
| Replies: 6 Views: 597 Not a bad idea, however as you said, not very secure. So if used for legit uses it could compromise the clients privacy, however SSL/TSL could fix this. |
Forum: Network Security 34 Days Ago |
| Replies: 3 Views: 799 WEP is very unsecure, it can be cracked in minutes, sometimes seconds. You should really go with WPA/2. |
Forum: Python 34 Days Ago |
| Replies: 1 Views: 188 There are modules for python that allow you to execute javascript, but this might be messy. You could fetch the Jscript with urllib, run the javascript and fetch whatever is returned. Browser macros... |
Forum: Python 34 Days Ago |
| Replies: 1 Views: 214 Facebook has its own API, googles appengine wouldn't be the right way to go in my opinion. You're gonna need a program running on the users computer that will submit the status, because browser... |
Forum: Python 34 Days Ago |
| Replies: 5 Views: 294 This seems more like a POP sever error than a python error. I don't think this is the right forum, but if you tell me what server you're using to host POP I might be able to help. |
Forum: Python Oct 20th, 2009 |
| Replies: 6 Views: 355 Well it looks like you may be opening the file wrong, i don't know why is raising that error, you're not even using a list object. Try this:
import MySQLdb, csv, sys
conn = MySQLdb.connect (host... |
Forum: Python Oct 19th, 2009 |
| Replies: 4 Views: 278 Pygame is rather simple, but only supports 2D unless you use opengl with it. Panda3D(if we are talking the same engine) is a robust 3D engine designed by disney. If you want 3D go panda, 2D go pygame. |
Forum: Python Oct 19th, 2009 |
| Replies: 6 Views: 373 Wow thats a mess of code, try sorting some stuff into functions to make a little more clear first off, I can take a look at it later. Also I'd move the portion where you select your player name out... |
Forum: Python Oct 19th, 2009 |
| Replies: 6 Views: 597 FTP is quite simple, you can make a 15 line program to upload the logs to a FTP server. |
Forum: Python Oct 12th, 2009 |
| Replies: 6 Views: 597 I did something similar except I made 2 versions, one put the logs on a FTP server, one emailed the log. You could also try your hands at a linux keylogger, jut use xorg's xlib. |
Forum: Python Oct 12th, 2009 |
| Replies: 3 Views: 632 import sys
f=sys.arg[2]
my bad |
Forum: Getting Started and Choosing a Distro Oct 12th, 2009 |
| Replies: 79 Views: 32,536 Yeah, sorry but you're completely wrong. All ports are closed on any OS. However Linux has a builtin firewall(netfilter/IPtables), you can use it to stealth your ports, great thing about IPtables is... |
Forum: Python Oct 9th, 2009 |
| Replies: 4 Views: 325 Use the magic wand tool to select all the white you want out, GIMP is a good choice |
Forum: Python Oct 9th, 2009 |
| Replies: 25 Views: 813 well then try this for windows, remember to launch it in its own process/thread though:
import os
os.system("python YOURSCRIPT.py")
or try this for linux:
import os
os.system("xterm... |
Forum: Network Security Oct 7th, 2009 |
| Replies: 1 Views: 946 If theres a firewall its going to be on the network gateway which means any device connected to that network must go through the firewall. It makes no sense that the cell phone is able to do this,... |
Forum: Python Oct 6th, 2009 |
| Replies: 4 Views: 325 Either you can learn to photoshop it out, or you can see if your game engine supports transparency of white backgrounds(like pygames does). |
Forum: Network Security Oct 6th, 2009 |
| Replies: 4 Views: 956 I recommend starting out with packet capturing on TCP/IP and UDP protocols. |
Forum: Network Security Oct 6th, 2009 |
| Replies: 1 Views: 688 Wrong forum, i suggest you move it to Networking Hardware Configuration. |
Forum: Network Security Oct 6th, 2009 |
| Replies: 1 Views: 681 I say make a centralized server with an antivirus; for sake of example lets say the AV is ClamAV, you make a small python script that allows users to send files to that server to be scanned(over a... |
Forum: Network Security Oct 6th, 2009 |
| Replies: 11 Views: 8,769 Hardware firewalls are still software based, and yes there still can be bugs. Hardware firewalls are used to provide a single firewall for a whole network instead of having one on each computer, it... |
Forum: Network Security Oct 6th, 2009 |
| Replies: 2 Views: 802 Amazon has a pretty large range of books and ebooks. |