Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
~8K People Reached
Favorite Forums
Favorite Tags
Member Avatar for kuchi

We have date "30-DEC-99" in oracle database but when our code reads that date is reading like "datetime.datetime(1899, 12, 30, 0, 0)", why the year 99 is reading like 1899 rather 1999? how do I fix this issue? please suggest.

Member Avatar for Lardmeister
0
178
Member Avatar for kuchi

Hi, we are going to inroduce graphics in our project using python (Version 2.4), I coulsn't find the module related to graphics in this version. Is there anything you know please share that. I would be thankful if you could share the modules which suites Python 2.4 +

Member Avatar for vegaseat
0
321
Member Avatar for kuchi

xmlrpclib api throwing an error <ProtocolError for host:port/: 500 Internal error> when calling api with the data (contains non-ascii characters), after replaced that non-ascii characters its working. What would be the problem ? what is the resolutions on this?

0
51
Member Avatar for kuchi

I've data showing on page using list and inluding some other fields. When I submit the button, I can take web elements using form["name"].value but how can I get the objects from form? or is there way to get the objects without web form in python?

Member Avatar for ryantroop
0
117
Member Avatar for kuchi

We are getting trouble when reading the data like ("â¦", "dóñez", etc) from a data file and storing into oracle DB, these are special characters and they must read and write into database as they are. These following areas where we are getting the problems: 1) when we use split() …

Member Avatar for kuchi
0
136
Member Avatar for kuchi

I 've a following query that going to use in python api. SELECT n.FIRST_NAME as "NAME", a.STREET_1 as "ST1", a.STREET_2 as "ST2" FROM SCHE.EMPLOEE_NAME n, SCHE.EMPLOYEE_ADDR a WHERE n.eid=a.eid AND n.estatus='ACTIVE' The above query yields the result cursor().execute(sqlQuery) sqlTupleRows=cursor().fetchall(); sqlQueryReturnedDict={}; for sqlTupleRow in sqlTupleRows: columns=cursor().description ...... Here the column names …

Member Avatar for ryantroop
0
202
Member Avatar for kuchi

I've an web page which reads the data from (server side) database and write into csv file, but as per requirement I need to write the file in client side and asked user to save the file in their local machine with popup window to save the location (client side), …

Member Avatar for kuchi
1
724
Member Avatar for kuchi

We have requirement to write simple xml in string format from listed dictionaries iterating through list and iterating through each dictionarie and write xml format (i.e. dict key is xml key and dict value is dict value ex:- <First_name>James</First_name> ), if the value contains dictionary again we need to loop …

Member Avatar for TrustyTony
0
239
Member Avatar for kuchi

We have been getting this error and needs to be fixed. We use python code to connect to LDAP and this is trowing the following ldap.SERVER_DOWN: {'info': 'TLS: hostname does not match CN in peer certificate', 'desc': "Can't contact LDAP server"} Is there a way to ignore this name mismatch? …

Member Avatar for TrustyTony
0
211
Member Avatar for kuchi

Hi, <I don't know where to post this, but this question is related to Python> We have a returned page with two tables, each table one dictionary returned from database with bunch of values (may or may not) and we are displaying these tables side by side. Our requirement needs …

Member Avatar for kuchi
0
175
Member Avatar for kuchi

We are developing application in python web development (No frameworks like Django) using just cgi module. In thing we have to use session management to transfer the variables between pages. I tried in google but no useful matter I found, if you know which module is to manage the variables …

Member Avatar for kuchi
0
101
Member Avatar for kuchi

I can access the parameters if the form submitted or hidden from the following snippet. form = cgi.FieldStorage() But I can't access the variables from URL. EX:- .../daniex.py?TYPE=R1 How can I get "TYPE" variable's value from python web lib?

Member Avatar for woooee
0
70
Member Avatar for kuchi

Apache is running in UNIX box, and we have configured folder path in config file and we are accessing python code from that folder. In the python code, we have two methods new_page() and access_form_elements(), new_page() -- print new HTML page with two form elements and method=POST and action=same .py …

0
79
Member Avatar for kuchi

Previously I used to work in java programming and now I got to switch to Python web programming. In java, to develop a web project and run the project, we use jboss server to deploy application, run the server (run.bat), and run the project. But in python I think the …

Member Avatar for snippsat
0
130
Member Avatar for kuchi

We have a module called "cart.items" and imported this in another PY code to use classes. I did import classed under cart.items like ("from cart.ltems import Items") and used Items class in my code. When I run my PY code in UNIX box, I get that problem. What I ve …

Member Avatar for richieking
0
540
Member Avatar for kuchi

Hi, I have a date with the String like "20091128' and we have to check this date with current date ("20101118"). if that date is old then we need to do some rules. I've checked in google whether there any existance but there have different formats. Can anyone give me …

Member Avatar for Gribouillis
0
78
Member Avatar for kuchi

Hi, I can log all information from the application but how can I log client information? i.e. server is running in my machine and if any one in my network using my application, I want to get that information in my logs, please your advice is important to me.

0
70
Member Avatar for kuchi

we got a requirement, im new to Python and recently I did python core code and now got to work on HTTPServer. Is this something like web server? Please check for the following req and give me an idea for each * respond to GET requests by serving pages from …

0
75
Member Avatar for kuchi

We have implemented ConfigParser object to parse the log file and load tested the application, but it was failed after 50 records created due to memory error. we removed ConfigParser's code and re-tested then the transaction was completed successfully, finally we figured out that this object is creating more objects …

0
62
Member Avatar for kuchi

Hi, We have a date input come in the format of YYYYMMDD, ex: if the date comes as 19980224, then its good else if the date comes as 19982402, then we need to raise exception we need to validate this date format. can you please guide me how to do …

Member Avatar for kuchi
0
127
Member Avatar for kuchi

hi I can change dictionary values but I can't figure out to change the keys.. here is the scenario I want.. A dictionary is coming like this {'fstn':'Tim','lstn':'Parker','mdl':'W','dob':'19801201'} now I need to change to {'FIRST_NAME':'Tim','LAST_NAME':'Parker','MIDDLE_NAME':'W', 'BIRTH_DATE':'19801201'} please help me to change the keys..

Member Avatar for kuchi
0
356
Member Avatar for kuchi

Hi I'm very new to Python Language, I'm getting this error "AttributeError: 'str' object has no attribute 'internalSplit'" and don't understand why. please check the following code.. [CODE] sourceAction = str(sourceAction); identityInfoDict = dict(identityInfo); for key in identityInfoDict.keys(): if(key.find("GENESYS_DATA") >= 0): intDict = self.internalSplit(key,identityInfoDict)[/CODE] and the internalSplit is a function …

Member Avatar for kuchi
0
4K