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
~5K People Reached
Favorite Tags
Member Avatar for asifalizaman

*hi!guys i want to know from you what is google API and what is its Role for search engine optimization?? i only know API abrivation that is Application Programing interface and nothing else????? so share what you know about that?????????? thanks*

Member Avatar for <M/>
2
104
Member Avatar for biscayne

There used to be an open source initiative called sla2pdf which used a python script to convert Scribus sla files to pdf. Unfortunately downloading the programs from https://code.google.com/p/sla2pdf/ is no longer possible. Is there anyone who knows where to find the programs and preferably some documentation ? Many thanks, P

Member Avatar for biscayne
0
249
Member Avatar for biscayne

I have a table with product codes, the first two chars of the product code is the product group. using the product group I'd like to test the content of certain data. Would this be proper coding or is there a better way ? if prodcust_code[:2] == "AB" do: ABsubroutine …

Member Avatar for vegaseat
0
228
Member Avatar for biscayne

My code has a couple of "multiple assigments" and somehow I think there should be a nicer way to do this in Python. This is how it currently looks like: # sum price fields paf = paf + float(pa) pbf = pbf + float(pb) pcf = pcf + float(pc) pdf …

Member Avatar for biscayne
0
248
Member Avatar for biscayne

I'm trying to find a record in a csv file in a nested stucture: for elem in lstLine[1:]: for item in open(fname): lstData = item.rstrip('\n').split(';') andexfield = lstData[0] if andexfield == elem: do bladibla Now I want ot add error handling: if no record in fname is found where andexfield …

Member Avatar for Gribouillis
0
270
Member Avatar for biscayne

I have a flat file (template) where I want to replace variables based upon value in another file (csv). Variables in them template are named %VAR_Xz% The values are in the csv file and X is field 0 of each line and y field 1 and up. Example: Badidas, 13.00, …

0
108
Member Avatar for biscayne

Thw following piece of code generates 1 file for each row in csvData. I want to generate only 1 file and have already adapted the rest of the code. But not this main-loop. Is there an easy way to do this ? index = 0 # Generate the Scribus Files …

0
84
Member Avatar for biscayne

I have a piece of code where I fill variables with data and would like to add the first column of each row into the variable: So each variable in a row should contain: %VAR_ + 'value of column[0]' + headerRow[i] + % Now it looks like this which makes …

Member Avatar for biscayne
0
192
Member Avatar for biscayne

Using print in a python script gives the following result: 10.25, 9.23, 8.97, 8.71, 8.40, 8.36, 8.30, 8.21 10.25, 9.23, 8.97, 8.71, 8.40, 8.36, 8.30, 8.61 0.15, 0.15, 0.15, 0.15, 0.15, 0.15, 0.15, 0.15 0.60, 0.60, 0.60, 0.60, 0.50, 0.50, 0.50, 0.15 4.85, 2.85, 1.85, 1.25, 0.95, 0.85, 0.80, 0.45 …

Member Avatar for biscayne
0
243
Member Avatar for biscayne

Trying to go thru the contents of a table with the following layout indexfield1,art1,art2,art3,art4 In this table indexfield and art1 are always filled art2, art3, and art4 can be empty. In pseudo-code this is what I want to do: for each art of table where indexfield = x: do bladibla …

Member Avatar for Schol-R-LEA
0
808
Member Avatar for biscayne

Does anyone have experience with calling a Python script to parse data into a Scribus template and generate a pdf file ? I know about the ScribusGenerator by Ekkehard Will, which works pretty well, but I have a tailormade python script that combines data from 2 csv tables. Would it …

0
123
Member Avatar for biscayne

I'm trying to go thru a file with product codes and rateband prices and quantities (productcode, pricea, qtya, priceb, qtyb, pricec, qtyc, priced, qtyd, pricee, qtye). For a certain group of up to 4 productcodes I need to sum up the values of the price cells after testing the qty …

Member Avatar for biscayne
0
308
Member Avatar for biscayne

When trying to load csv file data into Scribus it only takes the data of the last row. I'm using ScribusGenerator.py by Ekkehard Will and my best guess is that the cause of the problem is somewhere in this part of the code: def replaceVariablesWithCsvData(self, headerRow, row, lines): # lines …

Member Avatar for biscayne
0
2K