Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~743 People Reached
Favorite Forums
Member Avatar for Shansal

Hi, I created an app. I have some files which I can open with this app. So I made the association with the commands below: [CODE]assoc .bengi=BengiFile ftype BengiFile="C:\Program Files (x86)\Bengi\CreateAS.exe" "%1" %*[/CODE] After these, I can see that my file's icon has changed according to my app's icon. But …

Member Avatar for mittelgeek
0
154
Member Avatar for Shansal

Hi, I use [B]pulp[/B] module to solve my some optimization problems. With integer numbers, it works like a charm. I wonder if it is possible for pulp to work with real numbers. Here is a sample optimization problem I build for my project. [CODE] prob = pulp.LpProblem("example", pulp.LpMinimize) # Variable …

Member Avatar for Gribouillis
0
279
Member Avatar for Shansal

Hi, I have a list of lists such as : [[foo,1],[baz,1],[foo,0],[bar,3],[foo,1],[bar,2],[baz,2]]. I want to get all the different items in the inner lists and find the total number of them. I mean the result should be like : [[foo,2],[bar,5],[baz,3]]. How can I do this task? Thanks in advance.

Member Avatar for TrustyTony
0
169
Member Avatar for Shansal

When I try to open an excel file by calling EXCEL itself from python, I cant see any Excel file opened . How can I fix that? Thanks in advance. The code I use is: [CODE] import os from win32com.client import Dispatch xl = Dispatch('Excel.Application') wb = xl.Workbooks.Open(os.path.abspath("Modules.xls")) [/CODE]

Member Avatar for TrustyTony
0
53
Member Avatar for Shansal

Hi, I created successfully an .exe file for my python code. As a .py file, it works like a charm. But when I try to run it from the exe version, I get error as follows: [CODE] Traceback (most recent call last): File "CreateAS.pyw", line 14, in <module> File "pulp\__init__.pyc", …

0
49
Member Avatar for Shansal

Hi All, I created succesfully an executable version (Py2exe, Pyinstaller) of my application. When I try to run the app from .exe, I get an error as follows in the log file: [B][CODE]Traceback (most recent call last): File "CreateAS.pyw", line 8, in <module> ImportError: cannot import name Publisher[/CODE][/B] I am …

0
39