[BangPypers] Need help finding a data engineer.

2021-12-08 Thread Bharath Reddy
Hello Friends, I am looking for a savvy Data Engineer to join our growing team of analytics experts. The hire will be responsible for expanding and optimizing our data and data pipeline architecture, as well as optimizing data flow and collection for cross functional teams. The ideal candidate is a

[BangPypers] Need help with content for describing Journey of PyCon India 2018

2018-01-06 Thread chandan kumar
Hello, Happy New Year, I hope you are doing great. Now it's time to return back to work. We need help with content for the Journey of PyCon India 2018 WebSite Section [1]: The website team has collected some pics for each year to highlight the journey: https://drive.google.com/drive/u/0/folde

Re: [BangPypers] Need help with Pydev installation in Eclipse

2017-07-22 Thread Praveen Shirali
Hi Pradeep, I'm sorry I don't have an answer to your query. I'm also digressing a bit from the topic with some advice/rant (feel free to ignore), but I feel it is important for you to know. I don't know if you came across tutorials which advice you to use Pydev with Python as a best-practice/sta

[BangPypers] Need help with Pydev installation in Eclipse

2017-07-15 Thread pradeep br
Hi Team, I'm a newbie in the world of Python. I came across this group via Python.org. I configured Pydev in Eclipse and have also installed cucumber plugin for Eclipse to write BDD programs. I have also installed "behave" via the PIP command. To start with, i imported an existing project into e

Re: [BangPypers] Need help using web python app.

2017-01-24 Thread Noufal Ibrahim
On 2017-01-25 04:03, Blake Merriam wrote: Hello. I'm trying to figure out how to use this python app: http://wfuzz.org/ There is the following domain: games.skillz.com/games/ that has many numbered sub directories. Example: http://games.skillz.com/game/2314 http://games.skillz.com/game/942 I w

[BangPypers] Need help using web python app.

2017-01-24 Thread Blake Merriam
Hello. I'm trying to figure out how to use this python app: http://wfuzz.org/ There is the following domain: games.skillz.com/games/ that has many numbered sub directories. Example: http://games.skillz.com/game/2314 http://games.skillz.com/game/942 I want to find all the numbered sub directories

Re: [BangPypers] Need Help on Payroll Mnagement System , Calculations

2015-09-28 Thread Jaysinh Shukla
Hey Jyothi, I would recommend you to observe HR Module of Odoo. It will clear your ideas. Odoo will allow you to use the product free for few days. It will be nice to referee it. On Monday 28 September 2015 06:21 PM, Jyothi Naidu wrote: Hello Everyone, My name is

[BangPypers] Need Help on Payroll Mnagement System , Calculations

2015-09-28 Thread Jyothi Naidu
Hello Everyone, My name is Jyothi , I am looking for a help on Payroll Management System for India and i am working in a Project where completley deals with attendance and Payroll Systems Ny Versions: Django 1.2 Python 2.7 Database : Mysql Please let me know if any one have idea about the payr

[BangPypers] Need help with implementing Flask framework and Jinja2 templates on google app engine python

2015-08-22 Thread tony mathew
Hi, I am using python code for a backend application that is hosted on google app engine. I use the nosql database from google app enigne (datastore). My interface for accessing my backend database models is currently built using webapp2 framework. I am looking to migrate it to Flask framework wi

Re: [BangPypers] Need help with adding a character at the end of the line in a file in linux.

2015-04-17 Thread arvind ks
Hi Prince, In my case i have several of those service description entries where sometime both Infrastructure and Platform are present and sometimes only Infrastructure or Platform is present. Hence i didn't create a regex with both combined. Thanks Arvind On Fri, Apr 17, 2015 at 12:46 PM, Prince

Re: [BangPypers] Need help with adding a character at the end of the line in a file in linux.

2015-04-17 Thread Prince Sharma
For that you should compile the regex with infrastructure and platform together. And have that check before checks for infrastructure and platform separately. On Apr 17, 2015 12:10 PM, "arvind ks" wrote: > Hi Kishore, > Thanks for the reply. I've tried adding some additional checks, but unable >

Re: [BangPypers] Need help with adding a character at the end of the line in a file in linux.

2015-04-16 Thread arvind ks
Hi Kishore, Thanks for the reply. I've tried adding some additional checks, but unable to understand where i am making a mistake. Could you please check and advise. Input:: define service{ use generic-service service_description CPU Load - check_command check_nrpe_cpu

Re: [BangPypers] Need help with adding a character at the end of the line in a file in linux.

2015-04-16 Thread Kishor Bhat
On Fri, Apr 17, 2015 at 11:35 AM, arvind ks wrote: > Hi Everyone, > Could you please help me with the below python script that tries to add > characters A H to line starting with "service description" depending on > contact groups. > > *Input file::* > > define service{ > use generic-service > ser

[BangPypers] Need help with adding a character at the end of the line in a file in linux.

2015-04-16 Thread arvind ks
Hi Everyone, Could you please help me with the below python script that tries to add characters A H to line starting with "service description" depending on contact groups. *Input file::* define service{ use generic-service service_description CPU Load - check_command check_nrpe_cpu contact_group

Re: [BangPypers] Need help Extracting data properly in python

2014-02-20 Thread Baiju M
May be this one will be useful: https://pypi.python.org/pypi/texttable On Thu, Feb 20, 2014 at 2:26 PM, Abdul Muneer wrote: > There is an old python package which does it neatly > http://www.astro.rug.nl/~breddels/python/tableio.html > > Regards, > Abdul Muneer > > -- > Follow me on Twitter: @abd

Re: [BangPypers] Need help Extracting data properly in python

2014-02-20 Thread Abdul Muneer
There is an old python package which does it neatly http://www.astro.rug.nl/~breddels/python/tableio.html Regards, Abdul Muneer -- Follow me on Twitter: @abdulmuneer On Wed, Feb 19, 2014 at 5:59 PM, Kulkarni, Shreyas wrote: > if this is a valid tab-sepera

Re: [BangPypers] Need help Extracting data properly in python

2014-02-19 Thread Kulkarni, Shreyas
if this is a valid tab-seperated file, you could try parsing it using csv module with dialect set to '\t' or 'excel-tab' maybe? shreyas On Feb 19, 2014, at 5:43 PM, "kamalakar06 ." wrote: > I have a file like this(Tabular data) : > > 0 1 CEN/4 1.e33.000e3 4.000e-3 >

[BangPypers] Need help Extracting data properly in python

2014-02-19 Thread kamalakar06 .
I have a file like this(Tabular data) : 0 1 CEN/4 1.e33.000e3 4.000e-3 1.000e-3 3.000e3 5.000e3 112.000e3 3.000e4 6.000e3 1.000e4 1.000e4 1.000e5

Re: [BangPypers] need help w.r.t itertools

2013-09-16 Thread Saager Mhatre
On Sep 16, 2013 12:50 PM, "Dhananjay Nene" wrote: > > On Mon, Sep 16, 2013 at 12:27 PM, Suyash Bhatt wrote: > > thanks for the response.. > > > > what if i have another list > > > > *e = [*'*my1name1is1','**my2name2is1','xyz','abc']* > > *and in the list d, I want only the elements which are pres

Re: [BangPypers] need help w.r.t itertools

2013-09-16 Thread Dhananjay Nene
On Mon, Sep 16, 2013 at 12:27 PM, Suyash Bhatt wrote: > thanks for the response.. > > what if i have another list > > *e = [*'*my1name1is1','**my2name2is1','xyz','abc']* > *and in the list d, I want only the elements which are present in e..* > * Python 2.7.3 (default, Apr 10 2013, 05:13:16) [GCC

Re: [BangPypers] need help w.r.t itertools

2013-09-15 Thread Suyash Bhatt
thanks for the response.. what if i have another list *e = [*'*my1name1is1','**my2name2is1','xyz','abc']* *and in the list d, I want only the elements which are present in e..* * * *in such a case,* *d should have only 2 elements : ['**my1name1is1','**my2name2is1']* * * i want the way with the le

Re: [BangPypers] need help w.r.t itertools

2013-09-13 Thread Saager Mhatre
On Fri, Sep 13, 2013 at 5:01 PM, Dhruv Baldawa wrote: > d = [''.join(x) for x in itertools.product(a, b, c)] > Actually, using itertools.imap would ensure that the elements aren't computed till necessary. So... d = itertools.imap(''.join, itertools.product(a, b, c)) - d

Re: [BangPypers] need help w.r.t itertools

2013-09-13 Thread Dhruv Baldawa
d = [''.join(x) for x in itertools.product(a, b, c)] -- Dhruv Baldawa (http://www.dhruvb.com) On Fri, Sep 13, 2013 at 4:53 PM, Suyash Bhatt wrote: > Hi all, > > i need help in finding the most optimized way of making a list using > itertools. > > Suppose I have 3 lists: > > *a=[‘my1’,’my2’] > *

[BangPypers] need help w.r.t itertools

2013-09-13 Thread Suyash Bhatt
Hi all, i need help in finding the most optimized way of making a list using itertools. Suppose I have 3 lists: *a=[‘my1’,’my2’] * ** *b=[‘name1’,’name2’]* *c=[‘is1’]* I want to iter through all and form another list with the following appended strings: *d=['my1name1is1','my1name2is1','my2

Re: [BangPypers] Need Help

2013-08-22 Thread konark modi
Hi Although I am not from Bangalore, but there was a similar question asked on the mailing list, so listing the same options below. https://fifthelephant.in/2013/venue Regards Konark On Thu, Aug 22, 2013 at 11:57 PM, Kumar Anirudha wrote: > Sir, > I'm to attend Pycon India workshop at Nimhans

[BangPypers] Need Help

2013-08-22 Thread Kumar Anirudha
Sir, I'm to attend Pycon India workshop at Nimhans convention center, Bangalore. I'm searching for a cheap accommodation nearby. So, in case you can suggest or recommend any such places(hotels, lodges, etc) for 3 nights 29th August to 1st September. Kumar Anirudha _

Re: [BangPypers] Need help installing MySQLdb

2013-05-24 Thread Gora Mohanty
On 24 May 2013 13:35, Praveen Kumar wrote: > Hi, > > I have to install MySQLdb module for python2.4 on a CentOS6 - 64bit system. > I tried hard but I am not able to install it. > > Can you please help me, on installing MySQLdb module. You would be better off asking on a CentOS list. This is not r

[BangPypers] Need help installing MySQLdb

2013-05-24 Thread Praveen Kumar
Hi, I have to install MySQLdb module for python2.4 on a CentOS6 - 64bit system. I tried hard but I am not able to install it. Can you please help me, on installing MySQLdb module. Thanks, Praveen ___ BangPypers mailing list BangPypers@python.org http:/

[BangPypers] Need help for python

2013-04-23 Thread Kamalakar gs
Hi, I have a PCL file which consists of following lines for the first few lines. *uil_file_new.go( "C:\MSC.Software\Patran_x64\20121/template.db", @* *"C:\Users\IMEMS SDC\Desktop\patran\plate.db" )* * * *set_current_dir( "C:\Users\IMEMS SDC\Desktop\patran" )* * * * * The* uil_file_new.go *which i

Re: [BangPypers] Need help for python coding

2013-04-21 Thread Anand B Pillai
Hi Kamalakar, You are trying to frequently send large files as attachments to this list. I (list owner) has already rejected one such email. Today I found 2 more messages from you held because of the same problem at the list server. Please avoid sending attachments to the list. Make your que

Re: [BangPypers] Need help for python coding

2013-04-20 Thread hiharry danny
HELLO, please check for the file extension in ur code for .PCL , AND if the check matches then invoke the corresponding application required to open for that particular file using the if...elif...elif construct in python which is the substitute of switch case statements in other languages. On Su

Re: [BangPypers] Need help for python coding

2013-04-20 Thread Gora Mohanty
On 20 April 2013 22:47, Kamalakar gs wrote: > What i am asking is i have a file of other format for example .PCL which is > Patran file (Software used for analysis). Now what i want is if user inputs > a file name,python has to recognise the file name and directory of file > which exists and execu

[BangPypers] Need help for python coding

2013-04-20 Thread Kamalakar gs
What i am asking is i have a file of other format for example .PCL which is Patran file (Software used for analysis). Now what i want is if user inputs a file name,python has to recognise the file name and directory of file which exists and executes the file in patran window. For example following

Re: [BangPypers] Need help for python coding

2013-04-18 Thread Mandar Vaze / मंदार वझे
On Thu, Apr 18, 2013 at 6:34 PM, Rahul R wrote: > os.path.realpath(__filename__) > that should do the trick. As much as I understand the requirement, Kamalakar wants to "recognize" the path, then he needs some equivalent of "which" command (for binaries) or "locate" for non-binaries realpath did

Re: [BangPypers] Need help for python coding

2013-04-18 Thread Rahul R
os.path.realpath(__filename__) that should do the trick. ./Rahul On Thu, Apr 18, 2013 at 6:15 PM, Kamalakar gs wrote: > HI all, > I have a query that i have doc which is read through python.But instead of > giving path and filename > in the coding.I want to manipulate it like "python has to

Re: [BangPypers] Need help for python coding

2013-04-18 Thread Abdul Muneer
Hi Kamalakar, You can use os.path.join() to join the user input to a base path. Python will take care of unix/windows differentiation and append slashes accordingly. >>> import os >>> base_path = os.getcwd() >>> base_path '/home/amuneer/workspace/playground' >>> file_name = raw_input("Enter Filena

[BangPypers] Need help for python coding

2013-04-18 Thread Kamalakar gs
HI all, I have a query that i have doc which is read through python.But instead of giving path and filename in the coding.I want to manipulate it like "python has to ask USER for a specific filename so that python recognizes the directory internally and read the file ".How do i do this.I have trie

Re: [BangPypers] Need help for python coding

2013-03-27 Thread Anand B Pillai
Hi, On Tue, Mar 26, 2013 at 11:41 PM, Kamalakar gs wrote: > Dear all, > I am newbie to coding.I want extract the data from text file which contains > text and tables.In a file i want to extract all "VON MISES" stress data > from a table.i wrote a code as below. but i dont know how to extract the

Re: [BangPypers] Need help for python coding

2013-03-27 Thread Jonathan Toomim
1. str is the name of a builtin type object. If you create a variable with that name, then you will be unable to access that builtin type while your variable remained in scope. This would mean that you would be unable to call str(42), for example. 2. Perhaps the csv module can be of use to you

Re: [BangPypers] Need help for python coding

2013-03-26 Thread Gora Mohanty
On 26 March 2013 23:41, Kamalakar gs wrote: > Dear all, > I am newbie to coding.I want extract the data from text file which contains > text and tables.In a file i want to extract all "VON MISES" stress data > from a table.i wrote a code as below. but i dont know how to extract the > vonmises colu

[BangPypers] Need help for python coding

2013-03-26 Thread Kamalakar gs
Dear all, I am newbie to coding.I want extract the data from text file which contains text and tables.In a file i want to extract all "VON MISES" stress data from a table.i wrote a code as below. but i dont know how to extract the vonmises column data and dump it into text file. So i am attaching t

Re: [BangPypers] Need Help for xmlrpclib with ref SgmlopParser in python 2.7 ubuntu 12.04

2012-09-27 Thread Ruchir Shukla
Hello Arvind Thank you , but I am not using any parser unfortunatly it is not in my hand, XMLRPCLIB is Using parser and I am having problem when Raw email is Send from java xmlrpc to python xmlrpc. :( Or Please let me know if there is an any way to change default XMLRPCLIB behaviour . On Thu,

Re: [BangPypers] Need Help for xmlrpclib with ref SgmlopParser in python 2.7 ubuntu 12.04

2012-09-27 Thread Arvind
On Fri, Sep 21, 2012 at 01:17:18PM +0530, Ruchir Shukla wrote: > My problem is I am sending Raw Mail from Mail client to the Python XMLRPC > API . > > and raw mail has content invalid documents or content is not well-formed . > mail client is sending something like "" > it is not

Re: [BangPypers] Need Help for xmlrpclib with ref SgmlopParser in python 2.7 ubuntu 12.04

2012-09-21 Thread Ruchir Shukla
But I would not suggest doing that. It would > be rather easier to traceback your ExpatParser to see where it is > misbehaving and fix it. > > - Original Message - > From: Ruchir Shukla > Sent: 09/21/12 12:53 PM > To: Bangalore Python Users Group - India > Subject: Re:

Re: [BangPypers] Need Help for xmlrpclib with ref SgmlopParser in python 2.7 ubuntu 12.04

2012-09-21 Thread Yoganand Anandaraju
easier to traceback your ExpatParser to see where it is misbehaving and fix it. - Original Message - From: Ruchir Shukla Sent: 09/21/12 12:53 PM To: Bangalore Python Users Group - India Subject: Re: [BangPypers] Need Help for xmlrpclib with ref SgmlopParser in python 2.7 ubuntu 12.04

Re: [BangPypers] Need Help for xmlrpclib with ref SgmlopParser in python 2.7 ubuntu 12.04

2012-09-21 Thread Ruchir Shukla
XML-like data that are > not well-formed. > > - Original Message - > From: Ruchir Shukla > Sent: 09/21/12 11:22 AM > To: Bangalore Python Users Group - India > Subject: [BangPypers] Need Help for xmlrpclib with ref SgmlopParser in > python 2.7 ubuntu 12.04 > >

Re: [BangPypers] Need Help for xmlrpclib with ref SgmlopParser in python 2.7 ubuntu 12.04

2012-09-21 Thread Yoganand Anandaraju
The sgmlop parser is tolerant, and happily accepts XML-like data that are not well-formed. - Original Message - From: Ruchir Shukla Sent: 09/21/12 11:22 AM To: Bangalore Python Users Group - India Subject: [BangPypers] Need Help for xmlrpclib with ref SgmlopParser in python 2.7 ubuntu

[BangPypers] Need Help for xmlrpclib with ref SgmlopParser in python 2.7 ubuntu 12.04

2012-09-20 Thread Ruchir Shukla
Hello All There are some strange behavioral i have observed. in ubuntu 12.04 for python2.7 in xmlrpclib.py SgmlopParser is missing . while in python2.6 it is there . what was the main key feature for this Parser and why it is missing ? one feature I know that accelerator . but I am having some

Re: [BangPypers] Need help understanding -9 >> 1

2012-07-02 Thread steve
Hi, On 06/29/2012 04:03 PM, Anand Chitipothu wrote: > On Fri, Jun 29, 2012 at 3:40 PM, Varun Narang wrote: >> Hi all, >> >> I need some help understanding the right shift operation on -9. To my >> understanding, it's represented as -0b1001, Now, if I shift it one place to >> right, it should give

Re: [BangPypers] Need help understanding -9 >> 1

2012-06-29 Thread Anand Chitipothu
On Fri, Jun 29, 2012 at 3:40 PM, Varun Narang wrote: > Hi all, > > I need some help understanding the right shift operation on -9. To my > understanding, it's represented as -0b1001, Now, if I shift it one place to > right, it should give me -0b0100, which is decimal equivalent of 4. but > running

Re: [BangPypers] Need help understanding -9 >> 1

2012-06-29 Thread Navin Kabra
Varun Narang writes: > I need some help understanding the right shift operation on -9. To my > understanding, it's represented as -0b1001, No. Integers are represented using 2s complement integers. So -9 will actually be represented by 0xfff7. When you shift it to the right, a '1' is shifted

[BangPypers] Need help understanding -9 >> 1

2012-06-29 Thread Varun Narang
Hi all, I need some help understanding the right shift operation on -9. To my understanding, it's represented as -0b1001, Now, if I shift it one place to right, it should give me -0b0100, which is decimal equivalent of 4. but running this on python console gives me -5. Please help me out here. T

Re: [BangPypers] Need help in keeping dll's in another directory

2012-03-19 Thread Arunkumar Jigajinni
Thank you Vishal...I will try with this... i think it should suffice my requirement ... On Mon, Mar 19, 2012 at 12:52 PM, Vishal wrote: > Move the DLLs and PYDs whereever you want to put them. > use regsvr32.exe from Windows\System32 directory to register these DLLs and > PYD files (one by one),

Re: [BangPypers] Need help in keeping dll's in another directory

2012-03-19 Thread Vishal
Move the DLLs and PYDs whereever you want to put them. use regsvr32.exe from Windows\System32 directory to register these DLLs and PYD files (one by one), in their new location Now when you run the executable, windows will provide it with the correct file as and when it summons them. Please know t

[BangPypers] Need help in keeping dll's in another directory

2012-03-18 Thread Arunkumar Jigajinni
Hi All, I have exe file created from Py2exe in a directory and i have lots of .pyd and .dll files with that, i want to move those dependency files from running directory to another and run the exe. How do i achieve it? Any help would be great. Thanks, Arun

Re: [BangPypers] need help

2012-03-15 Thread Anand Balachandran Pillai
On Fri, Mar 2, 2012 at 4:52 PM, mallanna biradar wrote: > Hi, > > > I need to help for writing small script which will search for a patter in a > file and insert some lines after that. > For pattern matching and replacing, Python gives you the "re" module. Read the online documentation, try a few

Re: [BangPypers] need help

2012-03-02 Thread Sudheer Satyanarayana
I need to help for writing small script which will search for a patter in a file and insert some lines after that. Go ahead and write the script. Ask specific questions if you run into problems. -- With warm regards, Sudheer. S Gavika - http://www.gavika.com Personal home page - http://www.

[BangPypers] need help

2012-03-02 Thread mallanna biradar
Hi, I need to help for writing small script which will search for a patter in a file and insert some lines after that. Regards, Mallanna Biradar ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Need Help : Setting Floating Precision Point as 2 in Python

2010-08-24 Thread Noufal Ibrahim
renuka prasad writes: [...] > what is the reason for the previous problem? can you elaborate a > bit.. What my understanding is that the typical code and value , that > is what we code is not the same as its value > > but would like to know more.. can you explain a bit? [...] It's generally

Re: [BangPypers] Need Help : Setting Floating Precision Point as 2 in Python

2010-08-24 Thread renuka prasad
On Tue, Aug 24, 2010 at 7:29 PM, Arulalan T wrote: > 2010/8/24 Noufal Ibrahim : > > Arulalan T writes: > > > > [...] > > > >> In CDAT[1] vcs module supports only the 'float data' type to represent > >> the latitude & logitude in World map. So I cant use Decimal or a > >> string an integer. Only

Re: [BangPypers] Need Help : Setting Floating Precision Point as 2 in Python

2010-08-24 Thread Arulalan T
2010/8/24 Noufal Ibrahim : > Arulalan T writes: > > [...] > >> In CDAT[1] vcs module supports only the 'float data' type to represent >> the latitude & logitude in World map.  So I cant use Decimal or a >> string an integer. Only float. > > [...] > > I think that's a bug. > > The module should rel

Re: [BangPypers] Need Help : Setting Floating Precision Point as 2 in Python

2010-08-24 Thread Noufal Ibrahim
Arulalan T writes: [...] > In CDAT[1] vcs module supports only the 'float data' type to represent > the latitude & logitude in World map. So I cant use Decimal or a > string an integer. Only float. [...] I think that's a bug. The module should rely on duck typing rather than on concrete typ

Re: [BangPypers] Need Help : Setting Floating Precision Point as 2 in Python

2010-08-24 Thread Noufal Ibrahim
Arulalan T writes: [...] > This gives the what I need. > But I can not use this Decimal data type. > > In CDAT vcs module supports only the 'float data' type to represent the > latitude & logitude in map. > > so I need float value in 2 precision without changing the value. Not in > string. Not

Re: [BangPypers] Need Help : Setting Floating Precision Point as 2 in Python

2010-08-24 Thread Arulalan T
2010/8/24 Roshan Mathews > On Tue, Aug 24, 2010 at 17:52, Arulalan T wrote: > > This gives the what I need. > > But I can not use this Decimal data type. > > > > In CDAT vcs module supports only the 'float data' type to represent the > > latitude & logitude in map. > > > > so I need float value

Re: [BangPypers] Need Help : Setting Floating Precision Point as 2 in Python

2010-08-24 Thread Roshan Mathews
On Tue, Aug 24, 2010 at 17:52, Arulalan T wrote: > This gives the what I need. > But I can not use this Decimal data type. > > In CDAT vcs module supports only the 'float data' type to represent the > latitude & logitude in map. > > so I need float value in 2 precision without changing the value.

Re: [BangPypers] Need Help : Setting Floating Precision Point as 2 in Python

2010-08-24 Thread Arulalan T
2010/8/24 Noufal Ibrahim > Arulalan T writes: > > [...] > > >> Often, you *need* to only display the result of your calculations with n > >> decimal places. Is yours such a situation? If so, forget the number of > >> decimal points during the computation and when printing format it as > >> appro

Re: [BangPypers] Need Help : Setting Floating Precision Point as 2 in Python

2010-08-24 Thread Noufal Ibrahim
Arulalan T writes: [...] >> Often, you *need* to only display the result of your calculations with n >> decimal places. Is yours such a situation? If so, forget the number of >> decimal points during the computation and when printing format it as >> appropriate ("%.2f"). >> >> > I am not just pr

Re: [BangPypers] Need Help : Setting Floating Precision Point as 2 in Python

2010-08-24 Thread Arulalan T
2010/8/24 Noufal Ibrahim > > (I posted this to ChennaiPy but this list is wider so I'm reposting > it). > > Arulalan T writes: > > > Dear All, > > > > I need one help. > > > > In python, I need to set the floating point precision as 2. > > > > I am getting the following output in python while ad

Re: [BangPypers] Need Help : Setting Floating Precision Point as 2 in Python

2010-08-24 Thread Noufal Ibrahim
(I posted this to ChennaiPy but this list is wider so I'm reposting it). Arulalan T writes: > Dear All, > > I need one help. > > In python, I need to set the floating point precision as 2. > > I am getting the following output in python while adding two float nos. Often, you *need* to only d

Re: [BangPypers] Need Help : Setting Floating Precision Point as 2 in Python

2010-08-24 Thread Arulalan T
2010/8/24 Pradip Caulagi > On Tue, Aug 24, 2010 at 4:05 PM, Arulalan T wrote: > > > > In python, I need to set the floating point precision as 2. > > > > I am getting the following output in python while adding two float nos. > > > a=79.73 > b=0.5 > > Multiply by 100. > Add as integers.

Re: [BangPypers] Need Help : Setting Floating Precision Point as 2 in Python

2010-08-24 Thread Arulalan T
d it as float only. > > Hope this help. > > With Regards > Vijay > > > --- On Tue, 24/8/10, Arulalan T wrote: > > From: Arulalan T > Subject: [BangPypers] Need Help : Setting Floating Precision Point as 2 in > Python > To: "Bangalore Python Users G

Re: [BangPypers] Need Help : Setting Floating Precision Point as 2 in Python

2010-08-24 Thread vijay
Hi Arun,    Check out this >>> a=79.73 >>> b=0.5 >>> c = '%.2f' %(a+b) >>> c '80.23' Hope this help. With Regards Vijay --- On Tue, 24/8/10, Arulalan T wrote: From: Arulalan T Subject: [BangPypers] Need Help : Setting Floating Pre

Re: [BangPypers] Need Help : Setting Floating Precision Point as 2 in Python

2010-08-24 Thread kausikram krishnasayee
> I am getting the following output in python while adding two float nos. > a=79.73 > b=0.5 the reason for which is: http://docs.python.org/tutorial/floatingpoint.html -- Kausikram Krishnasayee Company: http://silverstripesoftware.com | Webpage: kausikram.in | Blog: blog.kausikram.in | Twitter: h

Re: [BangPypers] Need Help : Setting Floating Precision Point as 2 in Python

2010-08-24 Thread Pradip Caulagi
On Tue, Aug 24, 2010 at 4:05 PM, Arulalan T wrote: > > In python, I need to set the floating point precision as 2. > > I am getting the following output in python while adding two float nos. > a=79.73 b=0.5 Multiply by 100. Add as integers. Divide by 100. _

[BangPypers] Need Help : Setting Floating Precision Point as 2 in Python

2010-08-24 Thread Arulalan T
Dear All, I need one help. In python, I need to set the floating point precision as 2. I am getting the following output in python while adding two float nos. >>>a=79.73 >>>b=0.5 >>> a+b 80.234 I need exactly 2 precision point in this float value. i.e. 80.23 Even though I tried in

Re: [BangPypers] Need help for docproc module

2009-12-10 Thread Anand Balachandran Pillai
On Thu, Dec 10, 2009 at 2:51 PM, Senthil Kumaran wrote: > On Thu, Dec 10, 2009 at 02:03:40PM +0530, satyandra babu wrote: > > > > *from DocProc import Processor, ProcessorStatus* > > What is DocProc? Why do you need it? > > Try this - http://www.enterprisesearchblog.com/2007/03/python_interpre.htm

Re: [BangPypers] Need help for docproc module

2009-12-10 Thread Senthil Kumaran
On Thu, Dec 10, 2009 at 02:03:40PM +0530, satyandra babu wrote: > > *from DocProc import Processor, ProcessorStatus* What is DocProc? Why do you need it? > I have Googled for it but not able to find any information, i found that > this script is written for FAST ESP. What is FAST ESP? > Can s

[BangPypers] Need help for docproc module

2009-12-10 Thread satyandra babu
Hi everyone, I have one query, i have one code with me which have code like *from DocProc import Processor, ProcessorStatus* I have Googled for it but not able to find any information, i found that this script is written for FAST ESP. Can sombody help me to run current program, link is given be

[BangPypers] Need help for SpiffWorkflow

2009-11-11 Thread satyandra babu
Hi, Can anybody help me on spiffworkflow? code is given here http://code.google.com/p/spiff-workflow/ i am not able to get documentation for this, if anyone of you can help me, i will be very greatfull. Its based on http://workflowpatterns.com/, and big library to implement Workflow.I dont have

Re: [BangPypers] need help in trying to create a python web bot

2009-01-13 Thread Senthil Kumaran
> Anand Balachandran Pillai wrote: >> Hi, >> > Are you trying to call the search API ? If so, the default urllib/urllib2 > actions won't help you, since all these result in GET requests. > If you try to use HTTP GET you will get "405 - Method not allowed". > > You need to POST to this API. It is

Re: [BangPypers] need help in trying to create a python web bot

2009-01-13 Thread Anand Balachandran Pillai
On Wed, Jan 14, 2009 at 11:32 AM, Dhaval Lilani wrote: > Hi, > > I am trying to create a webrobot in python that does the following. > Send a post query to google.com and print the result. > I have not had any luck with pydocs and online code examples. > I keep on getting a 405 method not allowed.

[BangPypers] need help in trying to create a python web bot

2009-01-13 Thread Dhaval Lilani
Hi, I am trying to create a webrobot in python that does the following. Send a post query to google.com and print the result. I have not had any luck with pydocs and online code examples. I keep on getting a 405 method not allowed. Regards, Dhaval ___ B

[BangPypers] Need help with the 'transport' for setting the header while calling a function at server side

2008-09-12 Thread Usman Ajmal
I am getting an Internal Server Error 500 when i run my client code. I am trying to call a function at the server side which for now only returns a string. Meanwhile this calling i also set the header of HTTP request. Following are my client and server code. Am i doing something wrong? #-

Re: [BangPypers] Need help: How do i see the required arguments of a method?

2008-08-07 Thread Anand Balachandran Pillai
(PLUG) http://code.activestate.com/recipes/553262, for an extensive module metadata reflection example. --Anand On Thu, Aug 7, 2008 at 7:32 PM, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote: > > On 07-Aug-08, at 10:11 AM, Usman Ajmal wrote: > >> i typed >> >>> dir(M2Crypto.RSA.RSA.private_encrypt._

Re: [BangPypers] Need help: How do i see the required arguments of a method?

2008-08-07 Thread Kenneth Gonsalves
On 07-Aug-08, at 10:11 AM, Usman Ajmal wrote: i typed >>> dir(M2Crypto.RSA.RSA.private_encrypt.__doc__ help(M2Crypto.RSA.RSA.private_encrypt) -- regards Kenneth Gonsalves Associate, NRC-FOSS [EMAIL PROTECTED] http://nrcfosshelpline.in/code/ _

Re: [BangPypers] Need help: How do i see the required arguments of a method?

2008-08-06 Thread Usman Ajmal
thanks a lot On Thu, Aug 7, 2008 at 4:52 AM, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote: > > On 07-Aug-08, at 10:11 AM, Usman Ajmal wrote: > > i typed >> >>> dir(M2Crypto.RSA.RSA.private_encrypt.__doc__ >> > > help(M2Crypto.RSA.RSA.private_encrypt) > > > -- > regards > > Kenneth Gonsalves > Ass

Re: [BangPypers] Need help: How do i see the required arguments of a method?

2008-08-06 Thread Kenneth Gonsalves
On 07-Aug-08, at 10:11 AM, Usman Ajmal wrote: i typed >>> dir(M2Crypto.RSA.RSA.private_encrypt.__doc__ help(M2Crypto.RSA.RSA.private_encrypt) -- regards Kenneth Gonsalves Associate, NRC-FOSS [EMAIL PROTECTED] http://nrcfosshelpline.in/code/ _

[BangPypers] Need help: How do i see the required arguments of a method?

2008-08-06 Thread Usman Ajmal
Can any one tell me please, how do i know the required arguments of a particular method? e.g. I want to find the arguments *M2Crypto.RSA.RSA.private_encrypt()*requires. How do i do that? i typed *>>> dir(M2Crypto.RSA.RSA.private_encrypt.__doc__* but it gave me a "*None*" as output. Is there any

[BangPypers] Need help with django

2007-12-21 Thread Darkseid
Guys, I've got a request from someone asking for help in transitioning a Java team to working with Python/Django (and I know next to nothing about django :-)). Are any of you in a position to do some freelance consulting work? If yes, please drop me a mail and I can connect you with these guys and