No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
some kind of pond
trying to use sed command unsuccessfully c:\dct\ is what I want to have replaced with *raw sed -i 's/\c:\dct\/*/raw/g' adm2014.do i think the espace characters are throwing me off. |
|
What's a better way to do this? I need to sift through this file and store the following values Cpl File name Content kind Package type Encryption status Container File size Duration Timed text/png Number of audio channels 2d/3d Fps 1) I'm not sure if I should just store these … |
|
I'm trying to modify this code to take advantage of classes and some other oop features. However, I'm struggling with getting beyond the basics. This is the code that I started with which I am trying to change and make more class absed. import glob import os import sys print(os.getcwd()) … |
|
Trying use radio buttons to select which host I'm referring to since ultimately there will only be two and they are fixed addresses. This is the error: File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk/Tkinter.py", line 1410, in call return self.func(*args) File "Untitled 2.py", line 63, in command=lambda: callback_power_off(off, host)) File "Untitled 2.py", line 28, in … |
|
Hello, I'm trying to look at elements of an xml file. I have one on hand but i'm trying to write a utility for extracting info about the MessageId and KeyID, Serialnumber along with a host of other information. Basically, when I've got all of my ducks in a row … |
|
I'm trying to expedite the process of manually opening up an XML file and searching for some info in it. I want to store some of the data, etc. Nothing elaborate. But I'm not clear on some of the file structure. For the seasoned XML data wrangler, can you instantly … |
|
I'm working on some simple socket programming. But I'm not on the most effective way to search for strings once I've assigned buff = skt.recv(some_length). On the client I'm writing currently, I am expecting ASCII strings, like 'mem_usage' 'ip_config' etc. Thanks. |
|
I work in the AV industry and there is a whole set of hardware/software for controlling Ip and serial devices. I'm interested in writing some python code for bench testing projectors and video teleconference unuts, as I think it would be easier and more efficient and a good way to … |
|
Trying to convert the following block of perl to python for($row = 0, $mytype = 500; $row < $filearray_count; $row++) { if ($_ eq $filearray[$row][0]) { $mytype = $filearray[$row][1]; print "$row, $mytype, $_ \n"; break; And here is the python attempt. I'm not sure if I'm dealing with $mytype = … |
|
I'm getting my feet wet with nodebox and Python. What is a real world way to find a library I need, download it, and move it to a directory so that the Import --some library will work? I'm having trouble getting any imports to work from within nodebox. thanks |