Hello all, The issue I am having involves a user that uses a CAC to log in to a network. When the account is created, a 10-digit number printed on the CAC is associated with the users account and replaces their User Logon Name in ADUC. This users number was incorrectly applied to another account, but with thousands of users its practically impossible to search everh one of them one by one. I am attempting to use Powershell to search by UPN to identify the account that has the number associated incorrectly, but I am only finding syntax that set …

Member Avatar
Member Avatar
+0 forum 2

I am trying to learn element tree so that i cna work with xml files a little more indepth. I have researched it and everythign i have read says that my version of python should have ElementTree already installed on it. But every time i try to run my sample script i get a error. I am running python 2.7.3 on unbuntu. If someone could help me fix this i would be greatly apriciated. Traceback (most recent call last): File "/home/hatterx/Desktop/elementtree.py", line 1, in <module> from elementtree.ElementTree import Element File "/home/hatterx/Desktop/elementtree.py", line 1, in <module> from elementtree.ElementTree import Element ImportError: …

Member Avatar
Member Avatar
+0 forum 1

Hi, I am a beginner in magento development, I tried to write module by following this link: http://alanstorm.com/magento_controller_hello_world In my magento system, the file paths are like this: C:\wamp\www\magento\app\code\local\ajaykulkarnidotcom\hello\etc\config.xml And contents of config.xml are <config> <modules> <ajaykulakrnidotcom_hello> <version>0.1.0</version> </ajaykulkarnidotcom_hello> </modules> </config> and contents of C:\wamp\www\magento\app\etc\modules\ajaykulkarnidotcon_hello.xml are <config> <modules> <ajaykulkarnidotcom_hello> <active>true</active> <codePool>local<codePool> </ajaykulkarnidotcom_hello> </modules> </config> After saving above files and refreshing modules page in magento admin page doesn't display the module ajaykulkarnidotcom_hello. I checked filepaths and spellings more than dozen times, and still unable to fix it. Please help me.

Member Avatar
+0 forum 0

This small script named `sourcecode.py` is a command line tool to open a python module's source file with the default editor. For example the line $ python sourcecode.py xml.dom.minidom opens the file minidom.py from the python distribution with the default editor. The same works with user-defined modules having a python source file.

Member Avatar
+2 forum 0

This snippet shows how to find the complex roots of a polynomial using python (tested with python 2.6). You need the scipy or numpy module.

Member Avatar
Member Avatar
+2 forum 6

Hello, I have written a python module, created dist and installed on my computer. But now I want to update the module? Do I need to edit the file that is placed in site-packages folder directly or should go "Delete previous Dist, Recreate Dist and Reinstall Module" way? Cheers

Member Avatar
Member Avatar
+0 forum 1

this is a ccavenue payment module which was downloaded from here [url]http://www.prestashop.com/forums/viewthread/48837/[/url] it is not working properly for indian merchants...it is redirected to world.ccavenue.com/.../.. so what will be the exact url or if needed please tell me whats the problem ...hereby i am attaching the module zip file

Member Avatar
Member Avatar
+0 forum 1

Hi everyone, I am a first year computer-science major and in our software engineering module we have been assigned to make a game(I have never built one before other than a tic-tac toe game that I made to waste time on). We are going to use a game building kit/platform that works on mac, windows and linux. So first, I would like to know if someone can tell me of the platform he might be talking about. Second me and my mates are a bit confused on where to start.(the lecture said any game will do, but I want to …

Member Avatar
Member Avatar
+0 forum 13

Hi I got this error ImportError: No module named Crypto.Cipher Where can I find the module for windows and debian linux? How can I fix error both in windows and Linux? importerror no module named crypto.cipher windows Traceback (most recent call last): File "C:\Users\Win/\Desktop\client.py", line 2, in <module> from Crypto.Cipher import AES ImportError: No module named Crypto.Cipher >>> Python 2.7.6 (default, Nov 10 2013, 19:24:18) [MSC v.1500 32 bit (Intel)] on win 32 Type "help", "copyright", "credits" or "license" for more information. >>> from Crypto.Cipher import AES Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No …

Member Avatar
Member Avatar
+0 forum 2

Well I'm trying to make a program that have ListBox1 which when the button1 is pressed the Listbox1 will show all the open windows of notepad, like get notepad.exe and it will show Example the name: Untitled - Notepad nothing else, i have a code right now that i found but it Shows a few things, look at this picture. [url]http://img37.imageshack.us/img37/1241/getn.png[/url] It says MSCTFIME UI And Default IMe, i don't want that to show... This is the code i have right now. Form1 [CODE]Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Lst = Me.ListBox1 EnumWindows(AddressOf EnumWindowsCallBack, …

Member Avatar
Member Avatar
+0 forum 5

Hi Guys this was working this morning and now when my computer crashed and I restared it again it wont work, I've un-installed and re-installed wamp about 4 times now and it still wont work! I really dont know what to do, I cant open the "wampmanager.tpl" file as it saying it dosent reconise this file and also I'm having problems with the wampmanager.exc file as well when i click this file it comes up with this "ecpection ecpection in module wampmanager.exc at 000f15a0. could not execute actions! I've tried to download the microsoft Visual C++ 2008 Redistributable Package (x32) …

Member Avatar
+0 forum 0

Hi, I 'm new to prestashop module deelopement, I created one module which customer can add their product and sell their product, in that I have mentioned image upload functionality, which is possible to add one image, now the problem with image uploader, It can able to upload single image only, now need to upload morethan one image. Here is my prestashop code. $image->id_product = intval($product->id); $tmpName = tempnam(_PS_IMG_DIR_, 'PS'); $image->position = Image::getHighestPosition($product->id) + 1; for ($i=0; $i< count($_FILES['design']['name']) ; $i++) { if(Image::getImagesTotal($product->id)> 0) $image->cover = false; else $image->cover = true; $languages = Language::getLanguages(); foreach ($languages as $language) $image->legend[$language['id_lang']] = …

Member Avatar
+0 forum 0

Hi, I need to concatanate lines based on regex. Lines to be concatanated are scattered. All lines begin with number$number$number$number$sentences. There is nothing to mark the end of sentence, only the beginning. Here is an example. I want to rewrite this one [CODE]2 $5$233$ check big cat if it have not eaten all the meat 3 $5$233$ check big cat if it have not eaten all the meat <a href=""http://example.com"">An Example duh! </a> <a href=""http://example.com"">An Example duh! </a> 2 $5$233$ check big cat if it have not eaten all the meat check big cat if it have not eaten all …

Member Avatar
Member Avatar
+0 forum 19

The End.