1,336 Topics
![]() | |
My brother got a laptop the other day and i have been having some trouble setting it up with our existing wireless network. I have a laptop that is about 3 years old and a D-Link wireless router. I could get my brothers laptop to connect to the router but … | |
Hi ! Sorry for my english ! My script must rename file name, but don't do it. What is wrong with this script: [CODE]@rem = '--*-Perl-*-- @echo off if "%OS%" == "Windows_NT" goto WinNT perl -x -S "%0" %1 %2 %3 %4 %5 %6 %7 %8 %9 goto endofperl :WinNT … | |
[B]Bsplayer is a videoplayer. I want to start bsplayer with the parameter -stime-x, where x is the amount of seconds. This result in playing a movie from say 23 minutes 10 seconds with the parameter -stime=1390. The whole thing I can manage to do in [COLOR="Green"][U]DOS[/U][/COLOR] and looks like: @echo … | |
Now that's what I call an Android phone. Actually, that's what I call an Android phone that might just [URL="http://www.daniweb.com/blogs/entry3944.html"]kick some iPhone ass[/URL]. The [URL="http://www.sonyericsson.com/cws/products/mobilephones/specifications/xperiax10a?lc=en&cc=us#a"]Sony Ericsson Xperia X10[/URL] social networking phone is Android powered and feature rich. How rich? Well, how does 1GB RAM plus 16Gb of flash storage and … | |
Hi, I am undertaking a peice of work and may need a bit of help. The problem i need to find a solution for is as follows - I am requesting a Text based document through a http request, and currently have the document i want from the http request. … | |
Hi Guys and Gals! I come to you today requesting assistance! Let me explain what I am trying to do first, and then I will show you my code. The purpose is to read a list of regular expressions in from a text file (one regex per line, only about … | |
I am working on a Wincor ATM model [B]2150xe[/B]. The OS of the Wincor is NT 4.0 and Procash NDC is installed on it. Its connection to host was X.25, and Eicon C91 Card was installed on it. I made necessary modifications on it to change it to TCP/IP, but … | |
Hi I am running OS X 10.5 Leopard. It ships with Python 2.5.1 and I just installed Python 2.5.4 from python.org. The site-packages directory for 2.5.1 is located at /Library/Python/2.5/site-packages The 2.5.1 interpreter is located at /System/Library/Frameworks/Python.framework/Versions/2.5/bin/python2.5 The 2.5.4 interpreter is located at /Library/Frameworks/Python.framework/Versions/2.5/bin/python2.5 The thing is that now that … | |
I know Remembering secure passwords is difficult. So I made this. [code] import random, os a= ['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z','1','2','3','4','5','6','7','8','9','{',':','>','?','}','|','!','@','#','$','%','^','&','*','(',')','-','+'] z = int(raw_input("How many words in your password?: ")) os.system("clear") List = [] for x in xrange(z): List.append(random.choice(a)) print "".join(List) print "1) Yes" print "2) No" b = int(raw_input("Would you like to save … | |
For whatever reason, Python on OS X sets the default file directory to the "~/Documents/ " folder. It's a bit annoying because it makes my documents folder massively cluttered with python files as well as files from my computer. I'd like to change it simply by adding a "Python" folder … | |
[code] #Credits: #Nevets04 #Fallen #Uber1337 #Farout import os List = [] z = int(raw_input("How many words in your list?: ")) os.system("clear") for x in xrange(z): List.append(raw_input("")) List.sort(),os.system("clear") print "\n".join(List) [/code] | |
My daughter just received a refurbished laptop from the grandparents as a birthday gift. It worked fine for a few days but now it won't go very far during startup. It's a Compac Presario V2000 and I can't even tell what the OS is or any other details. The startup … | |
I'm brand new to the video editing world and I'm getting desperate. I made a decision to begin making my own DVDs for my seminars and students so after lots searching/shopping I invested, what for me is a small fortune, in a state of the art system. Until three weeks … | |
Does it seem to you that Linux distributions have fallen into to a [I]well[/I] or other deep support chasm that defies the space-time continuum? It seems so to me. Linux distributions are lagging behind Windows and Mac in significant ways. Well, it doesn't work for this chipset. Well, it works … | |
Hey Daniweb, I a 13.3 inch Macbook Pro (5,5) running Snow Leopard that I would like to triple boot Snow Leopard, Windows 7, and Ubuntu 9.10 on. I am running an 80 GB Intel X-25M as my primary drive and I after I have the three operating systems installed via … | |
Hi everyone Well I have been trying to install some modules like Bundle::DBI, DBD ::mysql and latex::Parser on my apple comp running mac OS X operating system. Every time I am trying to install a module I get an error like this : make had returned bad status, install seems … | |
Just like the title says. I need help on clicking on a box in a grid and filling it in with a color. Right now each block is 10x10 so I would have to use a 9x9 rectangle so it doesn't overlap. [CODE] #!/usr/bin/python import pygame,os,sys from pygame.locals import * … | |
need to decode and encode the following text=== {Newton’s Law of Software Engineering Law 1: Every Software Engineer continues her/his state of chatting or forwarding mails unless s/he is assigned work by external unbalanced manager. Law 2: The rate of change in the software is directly proportional to the payment … | |
[code] def a(classname,highdamageweaponname,lowdamageweaponname,ldmgname,hdmgname,yourhealth,enemyhealth,ldmgspellname,hdmgspellname): import os import random os.system("clear") monsters = ['cyclopse', 'duck', 'dragon', 'wizard', 'magician'] randommonster = random.choice(monsters) print "Class: %s" % classname print "1) %s (More damage, but less armor)" % highdamageweaponname print "2) %s (Less damage, but more armor)" % lowdamageweaponname a = int(raw_input("You are battling a %s … | |
I am reading in files containing 238 x 1 feature vectors. Attempting to grab the first 2 numbers in each file to create a 2d plot using numpy. I've got a decent start, just am stuck on how to fill the np array that I want to plot. [CODE] import … | |
Just recently bought more ram for my powermac g5 - Specs: Machine Name: Power Mac G5 Machine Model: PowerMac7,3 CPU Type: PowerPC G5 (3.1) Number Of CPUs: 2 CPU Speed: 2.3 GHz L2 Cache (per CPU): 512 KB Memory: 3.5 GB Bus Speed: 1.15 GHz If anything it seems slower … | |
Running Ubuntu Intrepid. Installed Dansguardian recently. When I try to start or restart dansguardian, I get the following error: [CODE]micah@micah-ubulaptop:~$ dansguardian Unable to getgrnam(): Success[/CODE] I know this has something to do with the group in my dansguardian.conf file. The only thing I can see that relates to that is … | |
hi, i got a problem for doing a proxy for binary files with python please kindly help #! python import cgi, os file_r = open('x.jpg', 'rb') file_w = open('y.jpg', 'wb') image_data = file_r.read() file_r.close() file_w.write(image_data) file_w.close() it works fine for duplicating x.jpg to y.jpg however, it doesn't work for me … | |
HI GUYS, I HAVE A PROBLEM IN FINDING OUT AN INTERFACE FOR PYTHON 2.6.3 AND MYSQL-5.1.31. IS THERE ANY COMPATIBLE VERSION FOR BOTH THE ABOVE???? WHEN I RAN THE setup.py file of MySQL-Python1.2.2 version, i got the following error. -[COLOR="Red"]-------------------------------------------------------------------------- [COLOR="Green"]This script requires setuptools version 0.6c5 to run (even to … | |
Hi Techsters, I has a weird thing happen today. I had just opened a folder that held all my original forms, found the two I needed and attached them in an e-mail and sent it. It sent just fine, but when I went to find another document in that same … | |
First of all I'd like to congratulate you on the excellent community you have here. It is helpful and knowledgeable. I'm looking for a library that would allow me to make a video file (.avi, .mov, any file works) from bitmaps, or other image formats, on the mac. I have … | |
The Department of Justice (DOJ) is investigating [URL="http://www.ibm.com"]IBM[/URL]'s computer market conduct and, depending on the outcome, it might just affect your beloved [URL="http://www.apple.com"]Apple[/URL] computers. As everyone knows, IBM is the major player in the mainframe computer market but now their business practice of not licensing other hardware makers to run … | |
hi , i have downloaded Mac os x 10.6 beta from net. its file size is 6.8 gb, how can i burn in a DVD od 4.7 gb....i tried using Toast its asking another DVD....perhaps i dont know how exactly to use the TOAST ....i need help ......pls tell how … | |
This program is (as you can see in the notation) a homework assignment I'm doing for class. I wrote the whole thing, which as far as I can tell right now is logically functional. It takes commands from a user and uses them to denote what happens to a linked … | |
Hello I'm doing my OS homework and I need to know how to read an write a 32 bit integer with the write system call Here is the code that I wrote: [code] #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include<unistd.h> #include<string.h> struct Person { char name[21]; int ch_in_name; char address[21]; … | |
Hi all, I need to get 'make' on Darwin, so I have downloaded Xcode from apple's website. I am unable to install it, however. I am running Mac OS X 10.4.11. Any suggestions? Thanks. | |
I've had my mac for a few months, and remember when I first got it during set up that it asked me if i wanted to use ctrl+click as my secondary click. I now want to disable it but cannot for the life of me figure out how or where … | |
![]() | Hi. I'm at wits end. Can't fix my wireless network. My laptop specs are: Model: HP Pavilion dv5000 series OS: Windows XP SP2 I recently reformatted my laptop using HP's PC Recovery tool installed with the notebook. Everything looked fine except that I could not connect to the internet thru … |
![]() | I am trying to develop a program using pygame that will let you "paint." There is just one problem, when I change the RGB values, all of the pixles change!!! Please HELP!!! Code: [CODE] import pygame, os pygame.init() pygame.display.init() screen = pygame.display.set_mode((830, 620)) draw = 0 selected = 0 points … |
My app works fine when its a .py file, however as soon as I compile it with py2exe 0.6.9 I get LookupErrors when using the email MIME library. I tried including the "packages": ["encodings"] option in py2exe but to no avail. I'll post the relevant code and traceback. (note: not … | |
I'm trying to store or arrange three sets of two-dimensional data into three 2xN matrices that are stored as NumPy arrays. [CODE] 1. import os # for file handling functions 2. import numpy as np # for array/matrix processing 3. import matplotlib.pyplot as plt # for general plotting 4. from … | |
Hey, I've been trying to install pycURL on my Python install on this Mac for the past 3-4 days now and I can't seem to get it to work. I have easy_install setuptools installed and I've been using the command: easy_install -U pycurl and it finds the package just fine, … | |
![]() | Hey guys, I have made a program called 'tLapse', here's the code: [code='python'] import subprocess import time import os print("Welcome to tLapse...") time.sleep(3) os.system('cls') try: com=open("action.txt",'r').read() condition=True except: print("File error") raw_input("<Any key to quit>") condition=False if(condition): clock=raw_input("Enter time duration after which\nuser-specifiedaction will be\npeformed.\n\nFormat- [hh:mm][24- hour format]: ") def app(path): ext=path[-3:] … ![]() |
![]() | Hey guys, I am making a program called 'Weather Watch' which basically gets weather updates for any city you type in. For now, it only gets info for a particular city. I don't know how to search for the term entered in [url]www.weather.com[/url] and then get the updates. The code … |
![]() | Hey guys, I have some code: [code='python'] import urllib2 as url import subprocess import os webs=open("url.txt",'r') read_webs=webs.read() def get_html(): try: req=url.urlopen(read_webs) res=req.read() return True except: print("<Error reading from the website>") def get_command(): if True: for x in res: if(x!='<'): command+=x else: break determine() command="" def determine(): format=command[len(command)-3:] print format get_html() … ![]() |
i cannot get the adobe flash media player to work in my mac...the adobe site says it's successfully downloaded and it will work in the safari browser but not my firefox....i'm sure it's not too complicated to fix but it sure has me stumped.....HELP!! | |
Safari 4.0.3 is out now and available for [URL="http://support.apple.com/downloads/Safari_4_0_3"]download[/URL] from Apple, for both Mac OS X and Windows operating systems. While there are the usual claims of making things more stable when using third party plugins and in particular for handling the HTML 5 video tag, it is with regards … | |
I've never been a big fan of American Idol or reality TV in general, but the tit for tat going on between Microsoft and Apple ads reminds me a bit of a reality TV competition with bloggers acting as Simon and Paula and the gang. We watch. Sometimes we laugh. … | |
[URL="http://www.apple.com"]Apple[/URL] users are the most dedicated and fervent operating system fans with undying loyalty to their operating system, hardware and peripherals. And they're just as loyal now to the new Unix-based OS X as they were to the old proprietary Mac OS. However, when given the option of a Linux-based … | |
It's with more than idle curiosity that I've watched the recent [URL="http://news.cnet.com/microsofts-lauren-ad-follow-up-disses-mac-power/?tag=rtcol;pop"]Microsoft ads[/URL] that attack Apple, subtly suggesting that it's too expensive and that it's all glitz with no real computing power. There is so much wrong with these assertions that it's hard to know where to begin. There is … | |
Love your Mac? Love Lego? Love Batman? Oh boy have I got good news for you. Yes, it would seem that a date has been fixed for the arrival of Lego Batman on the Mac. That date is April 9th according to [URL="http://www.feralinteractive.com/game/legobatman"]Feral Interactive[/URL] which has already had moderate success … | |
I've had the pleasure of taking a special [URL="http://www.debian.org"]Debian[/URL] 5.0 [URL="http://ftp.utexas.edu/debian-cd/5.0.0/i386/iso-cd/debian-500-i386-xfce+lxde-CD-1.iso"]distribution[/URL] (Debian 5.0 i386 XFCE LXDE) for a recent test drive as a virtual machine in [URL="http://www.citrix.com"]Citrix[/URL] XenServer 5.0. This single CD distribution comes with two selections for a graphical interface, [URL="http://www.xfce.org"]XFCE[/URL] and [URL="http://www.lxde.org"]LXDE[/URL]. XFCE works great and is very … | |
If you've been following this blog for any length of time, you know I focus a lot on employment -- or lack thereof -- in the tech sector. I'm always on the lookout for ways IT professionals can get additional skills or enhance the ones they have, so I feel … | |
I'm not talking about openssl, PHP, or even the Linux kernel but all the above plus every other program or bit of code on a Linux system. It's vulnerable. It's hackable. It can be changed at will by anyone because the source is open and freely available (the definition of … | |
Apple users opting not to grab a free 30 day demo version iWork 09, or even cough up the bucks for a full retail version, have found themselves getting more than they bargained for. It appears that something in the region of 20,000 people have downloaded a pirated version of … |
The End.