- Upvotes Received
- 4
- Posts with Upvotes
- 4
- Upvoting Members
- 4
- Downvotes Received
- 2
- Posts with Downvotes
- 2
- Downvoting Members
- 2
23 Posted Topics
Hi all, I'm trying to use Python's urllib to get a Facebook profile page. I get the following error: [CODE]IOError: [Errno socket error] [Errno 10035] A non-blocking socket operation could not be completed immediately[/CODE] Here's my code: [CODE] import urllib member_profile_text = urllib.urlopen('http://www.facebook.com/profile.php?id=1073109649').read() [/CODE] I need to get this working … | |
Re: Like people said, Google before posting is a good idea. Here are two helpful links: [LIST] [*] [URL="http://www.makeagif.com/"]http://www.makeagif.com/[/URL] [*] [URL="http://lmgtfy.com/?q=Make+an+animated+gif+online+free"]http://lmgtfy.com/?q=Make+an+animated+gif+online+free[/URL] [/LIST] Also, since lots of people have covered many easy free ways to do this, please mark this thread as solved. Cheers! | |
Hello all, I was wondering how to do this: [LIST=1] [*]Enter values into and submit a form on site B from site A (using Javascript) [*]Load the resulting url into the current site (site A) (using Javascript) [/LIST] I have no idea if this is possible with Javascript, but any … | |
Re: Interesting. Maybe you left out the space between "name" and "/add"? Try this: [CODE] ( net user USERNAME PASSWORD /add net localgroup administrators USERNAME /add ) [/CODE] | |
Re: That wasn't stated very clearly, but I think you were asking how to assign some paths to variables for later use? Try the below example. [CODE] set /p path1= "C:\Program Files\Installation\Help-Files" set /p path2= "C:\Users\Bob-Smith\Documents\My Folder" cd %path1% :: Do something cd %path2% :: Do something [/CODE] Cheers! | |
Re: Can you rephrase your question more clearly? You can click on the button and insert code into the Actions panel, if that's what you meant. | |
Re: I assume you mean something like a dynamic map on your website that displays the location of visitors? Check out these free website visitor maps: [URL="http://www.ipligence.com/visitor-maps"]http://www.ipligence.com/visitor-maps[/URL] [URL="http://tools.digitalpoint.com/geovisitors.php"]http://tools.digitalpoint.com/geovisitors.php[/URL] [URL="http://www.mapvisitors.com/"]http://www.mapvisitors.com/[/URL] | |
Re: OK basically it's pretty hard to do that. There are a few ways to do that, however. You could use that image for the background, and use an image map to specify the buttons. You could make an image with the diagonal button and a bit of the surroundings, so … | |
Re: Sure there is. You should probably add this in the header section of your html: <style type="text/css"> body { background-image:url('IMAGE_URL_HERE'); } </style> Try pasting the following code into a new notepad window and saving it as filename.html. Open it with a browser. <html> <head> <style type="text/css"> body { background-image:url('http://www.daniweb.com/forums/attachment.php?attachmentid=18049&stc=1&d=1290042269'); } … | |
Re: Hmm... I think what you're looking for is covered here: [URL="http://www.video-animation.com/dbase002.shtml"]http://www.video-animation.com/dbase002.shtml[/URL] ![]() | |
Re: I would start working on the 6 point one, as that is clearly the basis for the rest of the programs. Try a bit of simple math from the coordinates help part of your post.... Also, I would state it in general language first before you use actual code. It … | |
Re: Also, take a look at jQuery, it is designed for doing things exactly like that. | |
Hi all, I just switched to Ubuntu 10.10, and I found a very worrying problem, which I really need help with. In the Network Manager settings, you can click a "show key" checkbox in the security tab and it will reveal the password. I need to disable this option. How … | |
Re: This might work. [LIST=1] [*]Name your sound file mix1 in the Linkage menu, and select the "Export for Actionscript" and "Export in first frame" options [*]Make 3 consecutive key frames in the movie timeline [*]Make your play button the second frame (label as "play"), and make your stop button the … | |
Re: Also, that code is really very messy. Don't have all those headers. Try having maybe ONE header tag and making the other titles bold. It will clean things up. | |
Re: Another easier way to do that would be to simply make b and a strings. This is also useful for many other things, and is slightly easier to understand. [CODE=Python]import time a = 0 b = 0 FirstRun = True while 1: a = a + 1 #Adds one second … | |
Re: The standard way to do this is by using a code called AJAX. However, there is a way to do this purely with html. I suggest taking a look at the source code for [URL="http://adkins-software.com/programs.html"]this page[/URL], it should be very helpful, and you can see their example close to the … | |
Re: Please rephrase your question with more clarity so that it can better be answered. It will be hard to help you unless you specify some sort of guidelines for how you want to choose what to delete. In general though, I have included an example below showing a program that … | |
Re: Check this out: [URL="http://media.io/"]http://media.io/[/URL] | |
Re: Something like this? [CODE]@setlocal enableextensions enabledelayedexpansion @echo off set ipaddr=%1 :loop set state=down for /f "tokens=5,7" %%a in ('ping -n 1 !ipaddr!') do ( if "x%%a"=="xReceived" if "x%%b"=="x1," set state=up ) echo.Link is !state! ping -n 6 127.0.0.1 >nul: 2>nul: goto :loop endlocal[/CODE] | |
Hello all =) I am working on a Visual Basics (6) project that requires a hidden command prompt window, to which I need to pass commands. I need to: [list=1] [*]Open a hidden command prompt [*]CD to a directory [*]pass a command including several file names [*]Exit the hidden window … | |
Re: Depending on how big of a list this might be, you could use a pysqlite3 database. I included an example below. [CODE=Python]import sqlite3 conn = sqlite3.connect("PATH\DATABASE_NAME") #Connects to the db. Creates db if none exists with that name c = conn.cursor() c.execute("""create table myfiles (FileSize int, FileName text)""") #Defines table, … | |
Re: There actually is a way to do this. Do this one item at a time, using the remove() function. I have an example below. [CODE]CurrentItem = playerCardList(INDEX_NUMBER_OF_ITEM_1) cardList.remove(CurrentItem) CurrentItem = playerCardList(INDEX_NUMBER_OF_ITEM_2) cardList.remove(CurrentItem) CurrentItem = playerCardList(INDEX_NUMBER_OF_ITEM_3) cardList.remove(CurrentItem) [/CODE] That's not perfect, but it should give you an idea of how to … |
The End.