[BangPypers] CFP for IndiaFOSS Conf. 2.0 is open

2022-05-23 Thread Vishal Arya
. About IndiaFOSS Conf.[2]: The goal of this conf. is to bring software developers, policymakers, communities and enthusiasts together so we can learn and inspire each other. Links: [0]: https://indiafoss.net/2022/cfp?new=1 [1]: https://fossunited.org/ [2]: https://indiafoss.net/ Vishal

Re: [BangPypers] [pythonpune] [X-post] [PythonExpress] Volunteer for Machine learning workshop

2017-09-13 Thread Vishal
Dear Vijay, Wanted to confirm that Jaypee University workshop is in Bhopal, because the college itself is located in Guna, which is a 5 hour drive from here. Can you confirm? Best regards, Vishal. On Sep 14, 2017 12:07 AM, "vijay kumar" <vnbang2...@gmail.com> wrote: > Hi , &

Re: [BangPypers] Meetup: Learn Algorithm with Python 1

2017-03-20 Thread Vishal
Same here. Keep it up BangPypers :) Best regards, Vishal Thanks and best regards, Vishal Sapre --- Please DONT print this email, unless you really need to. Save Energy & Paper. Save the Earth. On Mon, Mar 20, 2017 at 5:23 PM, Noufal Ibrahim <nou...@nibrahim.net.in> wrote: > E

Re: [BangPypers] Fwd: Error in python multiprocessing!

2016-08-27 Thread Vishal
Hi Akshay, For multiprocessing to work fine, everything used in the function and the function itself should be "pickle able". There were issues with function calls being pickled on Windows. Make sure you can pickle all your calls separately on your platform. Vishal On Aug 27, 201

Re: [BangPypers] [X-Post] Request for volunteer to conduct python workshop

2016-08-27 Thread Vishal
Hi Vijay, I stay in Bhopal, so I can take up the first two. Infact "SGSITS, Indore" is my alma-mater. Can you send me the contact persons in both cases? Thanks and best regards, Vishal Sapre Thanks and best regards, Vishal Sapre --- Please DONT print this email, unless you r

[BangPypers] Invite to Django Meetup @ HackerEarth Office

2016-06-10 Thread Vishal Pathik Gupta
CNx-2FpLAzTUCWSxk3Dhzj79bRBhrkCOvm-2FS1wb-2FCEUDgDNJZWhH412ThBwG9t17V2OLb0xCK01JF9XBSEAI48r8Db5A5xINdmQP0xhoKPmiRc-3D> Hope to see you there! Cheers! Vishal Pathik Gupta Developer Evangelist and Community Manager P: +91-7829765025 *www.hackerearth.com* <http://www.hacker

Re: [BangPypers] BangPypers completes 10 years

2015-09-15 Thread Vishal
. Hats off to Anand B, Baiju, Anand C, Noufal, Ramdas and Kenneth...there are so many names to take. +5 for an open session in PyCon this time. Take care, Vishal Sapre Thanks and best regards, Vishal Sapre --- Please DONT print this email, unless you really need to. Save Energy & Paper.

Re: [BangPypers] BangPypers completes 10 years

2015-09-15 Thread Vishal
Oh I forgot to name Senthil Kumaran, whom I met later again at PyCon APAC 2011 in Singapore :) Thanks and best regards, Vishal Sapre --- Please DONT print this email, unless you really need to. Save Energy & Paper. Save the Earth. On Wed, Sep 16, 2015 at 12:45 AM, Vishal <vsapr...@gm

Re: [BangPypers] Python script to open hyper terminal and send password text file

2015-08-14 Thread Vishal
Dear PythonConsultant, Try using PyWinAuto for automating these types of tasks. Vishal Thanks and best regards, Vishal Sapre --- Please DONT print this email, unless you really need to. Save Energy Paper. Save the Earth. On Fri, Aug 14, 2015 at 6:18 PM, Noufal Ibrahim KV nou

Re: [BangPypers] Python for RTOS

2014-10-01 Thread Vishal
Dear Tarun, your best bet in this case is the support from Segger. I am sure someone before must have used Python on embOS. Atleast they can help you compile it for the OS from python source. Take care, Vishal Sapre Thanks and best regards, Vishal Sapre --- Please DONT print this email

Re: [BangPypers] Return values

2014-09-20 Thread Vishal
to the handler function in the calling code. Since one of the above members is always going to be None, a simple check in the handler will be fine..i guess. But all this is stylistic...so it depends. Take care, Vishal Thanks and best regards, Vishal Sapre --- Please DONT print this email, unless you

[BangPypers] [OT] When user interfaces become problems...

2014-09-19 Thread Vishal
http://www.eetimes.com/author.asp?section_id=216doc_id=1323983_mc=NL_EET_EDT_EET_daily_20140919cid=NL_EET_EDT_EET_daily_20140919elq=cd039eec1e20423e942a0a85375c55beelqCampaignId=19233 ​Enjoy,​ Vishal Sapre --- Please DONT print this email, unless you really need to. Save Energy Paper. Save

Re: [BangPypers] [OT] When user interfaces become problems...

2014-09-19 Thread Vishal
Sorry...sent to the wrong list. my bad. take care, Vishal Thanks and best regards, Vishal Sapre --- Please DONT print this email, unless you really need to. Save Energy Paper. Save the Earth. On Fri, Sep 19, 2014 at 10:02 PM, Vishal vsapr...@gmail.com wrote: http://www.eetimes.com

Re: [BangPypers] The Python I would like to see - Armin Ronacher

2014-08-20 Thread Vishal
Dear All, Interesting to note that this same point (about instantiating multiple interpreters was raised on our mailing list...about 3-4 years back) by Yours Truly :)) See the mail chain titled: *Ideas for Python concurrency...* Life is coming full circle :) Take care, Vishal Sapre

Re: [BangPypers] Announcing the 3rd keynote speaker for PyCon India 2014!

2014-06-26 Thread Vishal
is a python product is itself a great contender here. Plus we would also like to be part of the Python Software Society of India. Can you point me to URLs where I can get more ​information on how to go about it. Thanks and best regards, Vishal Sapre Righill Electrics Pvt. Ltd. On Thu, Jun 26, 2014 at 10

[BangPypers] How to be part of Python Software Society of India and also start a Python users group.

2014-06-26 Thread Vishal
which is a python product is itself a great contender here. Plus we would also like to be part of the Python Software Society of India. Can you point me to URLs where I can get more ​information on how to go about it. Thanks and best regards, Vishal Sapre Righill Electrics Pvt. Ltd. On Thu

Re: [BangPypers] JSON PARSER

2014-03-21 Thread Vishal
://pypi.python.org/pypi/ujson/ Take care, Vishal Thanks and best regards, Vishal Sapre --- Life is 10% how you make it, and 90% how you take it बहुजन हिताय, बहुजन सुखाय (Benefit for most people, Happiness for most people.) --- Please DONT print this email, unless you really need to. Save Energy Paper

Re: [BangPypers] Packaging in Python

2014-01-13 Thread Vishal
executables/DLLs are restored just after they are installed. This is because UPXed DLLs cannot really be shared across the OS and so at runtime each new instance is a new one. That becomes memory heavy. Hope you get the gist. If not, send me an email. Thanks and best regards, Vishal Sapre

[BangPypers] [OT] Courtroom finds Toyota's faulty firmware caused Camry accident

2013-10-31 Thread Vishal
of the courtroom discussion... http://www.eetimes.com/document.asp?doc_id=1319936page_number=1 Thanks and best regards, Vishal Sapre --- Life is 10% how you make it, and 90% how you take it बहुजन हिताय, बहुजन सुखाय (Benefit for most people, Happiness for most people.) --- Please DONT print

Re: [BangPypers] [Novice] Question on File seek and tell methods

2013-06-16 Thread Vishal
line elif 'stop_keyword' in line: print line break elif printStuff: print line Hope this helps, Vishal Sapre Thanks and best regards, Vishal Sapre --- Life is 10% how you make it, and 90% how you take it बहुजन हिताय, बहुजन सुखाय (Benefit for most people

[BangPypers] hiredis on Windows

2013-04-22 Thread Vishal
make this available to the open source world at large would be doing a great job. Any takers :)) ? Thanks and best regards, Vishal Sapre p.s: I have access to hiredis.lib and hiredis.dll, but they would need ctypes/pywin32 wrappers to call. --- Life is 10% how you make it, and 90% how you take

Re: [BangPypers] Reorder Dictionary Size in python

2013-04-18 Thread Vishal
conditions here) - Assign the old dict name to None d1 = None - do a gc.collect() import gc gc.collect() you should see immediate results on process memory consumption. Enjoy Python Vishal Sapre On Wed, Apr 17, 2013 at 9:22 PM, Rahul R rahul8...@gmail.com wrote: Ahh , sorry If i wasnt clear

[BangPypers] reload modules at the start of an app..

2012-07-14 Thread Vishal
views on this approach? Pros/Cons/Better Approaches... etc Best regards, Vishal Sapre --- Please DONT print this email, unless you really need to. Save Energy Paper. Save the Earth. ___ BangPypers mailing list BangPypers@python.org http

Re: [BangPypers] reload modules at the start of an app..

2012-07-14 Thread Vishal
On Sat, Jul 14, 2012 at 1:32 PM, Vishal vsapr...@gmail.com wrote: Hi, Wanted to find what you think about reloading modules just before app start. This is to take care of repeated debugging sessions inside IDEs, where changed 'py' files are not imported automatically by the IDE. One simple

[BangPypers] Python script to limit access to Internet...

2012-06-27 Thread Vishal
should be allowed. Something like what this software does: http://www.blumentals.net/inetprot/ And, of course I would like to do this in Python. Any pointers ? Thanks in advance. Best regards, Vishal Sapre ___ BangPypers mailing list BangPypers

Re: [BangPypers] Python script to limit access to Internet...

2012-06-27 Thread Vishal
On Wed, Jun 27, 2012 at 1:43 PM, Kenneth Gonsalves law...@gmail.com wrote: On Wed, 2012-06-27 at 13:34 +0530, Vishal wrote: I would like to limit internet access at my home, for some computers. Basically for a given time during the day (read schedule), I wish that the a given computer

Re: [BangPypers] Can we simulate USB using python

2012-06-11 Thread Vishal
that each OS provides for. So if you are running XP inside a VMWare session, the easiest way to do this in Python would be to tap into the win32 api using PyWin32. google for 'pywin32' and USB plug n play enumeration in XP. hope this helps.. -- Thanks and best regards, Vishal Sapre

Re: [BangPypers] converting python to assembly..

2012-06-02 Thread Vishal
On Sat, Jun 2, 2012 at 12:10 AM, Sriram Karra karra@gmail.com wrote: On Fri, Jun 1, 2012 at 6:44 PM, Vishal vsapr...@gmail.com wrote: a) test.py a very simple 1KB python file with a main function b) _c_test.c a 35KB file that is generated by 2c-py (b) gets generated

Re: [BangPypers] converting python to assembly..

2012-06-01 Thread Vishal
On Fri, Jun 1, 2012 at 11:32 AM, Anand Balachandran Pillai abpil...@gmail.com wrote: On Thu, May 31, 2012 at 11:40 AM, Vishal vsapr...@gmail.com wrote: Hello, Does anybody know of any effort that can covert a relatively static version of python code into assembly for use

Re: [BangPypers] converting python to assembly..

2012-06-01 Thread Vishal
On Fri, Jun 1, 2012 at 1:01 PM, Sriram Karra karra@gmail.com wrote: On Thu, May 31, 2012 at 11:40 AM, Vishal vsapr...@gmail.com wrote: I am looking for something more simple, i.e. instead of writing C and compiling it to machine instructions...write python (restricted set..may

Re: [BangPypers] converting python to assembly..

2012-06-01 Thread Vishal
Sending again. Since the files did not go through... :( On Fri, Jun 1, 2012 at 4:41 PM, Vishal vsapr...@gmail.com wrote: Hello Sriram, I think there is some confusion as to what the general-case Python to C compiler's create. So I made a test case and have attached the input and output

[BangPypers] converting python to assembly..

2012-05-31 Thread Vishal
and compiling it to machine instructions...write python (restricted set..may be) and convert it to machine instructions. Any pointers will be of big help.. Thanks and best regards, Vishal Sapre ___ BangPypers mailing list BangPypers@python.org http

Re: [BangPypers] Https and http difference in behaviour urllib2

2012-05-08 Thread Vishal
http://docs.python-requests.org/en/latest/index.html This page mentions both: - underlying urllib3 (the line just before Testimonials) - Thread Safety (last point in Features) I am ** predicting ** that Requests will go into the std-lib very soon :)) Enjoy, Vishal Sapre On Tue, May 8, 2012

Re: [BangPypers] Handling bit sized fields in network headers

2012-05-07 Thread Vishal
to do this many times, you can make single line versions of specific cases and just inline it, instead of calling a function. Enjoy, Vishal On Fri, May 4, 2012 at 3:40 PM, Balachandran Sivakumar benignb...@gmail.com wrote: Hi, What is the best way to handle bit sized fileds in network

Re: [BangPypers] Handling bit sized fields in network headers

2012-05-07 Thread Vishal
On Mon, May 7, 2012 at 12:31 PM, Balachandran Sivakumar benignb...@gmail.com wrote: Hi, On Mon, May 7, 2012 at 12:21 PM, Vishal vsapr...@gmail.com wrote: Hi, is this some standard protocol, if yes, then use a tool like scapy. If this is non-standard or proprietary packet...I would

Re: [BangPypers] Handling bit sized fields in network headers

2012-05-07 Thread Vishal
On Mon, May 7, 2012 at 1:34 PM, Balachandran Sivakumar benignb...@gmail.com wrote: Hi, On Mon, May 7, 2012 at 1:02 PM, Vishal vsapr...@gmail.com wrote: One more thing...once you read the incoming bytes as strings, you'll have to convert them to numbers (using struct.unpack or array.tolist

[BangPypers] Interesting discussion about removing the GIL...again :))

2012-04-11 Thread Vishal
threads to work '*well*' in the same Python process, rather than a lock. Can we come up with a patch that achieves this ? Calling all python tinkerers... Enjoy, Vishal Sapre ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman

Re: [BangPypers] Industrial Control Systems in Python

2012-04-05 Thread Vishal
On Mon, Mar 26, 2012 at 6:24 PM, Noufal Ibrahim nou...@nibrahim.net.inwrote: Vishal vsapr...@gmail.com writes: [...] 1) The scenario you describe is very close to what we would like to have...except that I wish to have an SBC running the actual control code in Python and a small micro

Re: [BangPypers] [OT?] Re: Industrial Control Systems in Python

2012-04-05 Thread Vishal
On Thu, Apr 5, 2012 at 4:53 PM, sankarshan foss.mailingli...@gmail.comwrote: On Wed, Mar 28, 2012 at 12:20 PM, Vishal vsapr...@gmail.com wrote: c) They cannot guarantee that this hardware is suitable for industry use...so as to avoid potential law suits from customers for whom the board

Re: [BangPypers] Industrial Control Systems in Python

2012-03-28 Thread Vishal
On Wed, Mar 28, 2012 at 12:12 PM, Anand Balachandran Pillai abpil...@gmail.com wrote: On Mon, Mar 26, 2012 at 7:56 PM, Vishal vsapr...@gmail.com wrote: On Mon, Mar 26, 2012 at 6:24 PM, Noufal Ibrahim nou...@nibrahim.net.in wrote: Vishal vsapr...@gmail.com writes

Re: [BangPypers] Industrial Control Systems in Python

2012-03-26 Thread Vishal
On Mon, Mar 26, 2012 at 11:22 AM, Noufal Ibrahim nou...@nibrahim.net.inwrote: Vishal vsapr...@gmail.com writes: Hello, There is a need in our company to prototype some control systems in Python. These would be general industrial control systems. After this prototype is made, I

Re: [BangPypers] Industrial Control Systems in Python

2012-03-26 Thread Vishal
On Mon, Mar 26, 2012 at 1:30 PM, Noufal Ibrahim nou...@nibrahim.net.inwrote: Vishal vsapr...@gmail.com writes: [...] Noufal, I would like to use a regular x86 processor with Linux (stripped down)... to avoid recompiling Python itself...to avoid one more variable in the entire process

Re: [BangPypers] Industrial Control Systems in Python

2012-03-26 Thread Vishal
On Mon, Mar 26, 2012 at 6:24 PM, Noufal Ibrahim nou...@nibrahim.net.inwrote: Vishal vsapr...@gmail.com writes: [...] 1) The scenario you describe is very close to what we would like to have...except that I wish to have an SBC running the actual control code in Python and a small micro

[BangPypers] Industrial Control Systems in Python

2012-03-25 Thread Vishal
pointers towards Single Board Computers that can be used? etc Thanks and best regards, Vishal Sapre --- Life is 10% how you make it, and 90% how you take it बहुजन हिताय, बहुजन सुखाय (Benefit for most people, Happiness for most people.) --- Please DONT print this email, unless you really need

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

2012-03-19 Thread Vishal
that the above is sometimes considered bad practice ( http://msdn.microsoft.com/en-us/library/windows/desktop/aa375142(v=vs.85).aspx ) -- Thanks and best regards, Vishal Sapre --- Life is 10% how you make it, and 90% how you take it बहुजन हिताय, बहुजन सुखाय (Benefit for most people, Happiness for most

Re: [BangPypers] Popen.terminate() - WindowsError: [Error 5] Access is denied

2012-03-06 Thread Vishal
, then using WMI or PyWin32 to kill them. Cheers, Vishal On Tue, Feb 28, 2012 at 11:49 PM, Nikunj Badjatya nikunjbadja...@gmail.comwrote: Any clues guys? On Tue, Feb 28, 2012 at 12:48 PM, nikunj.badja...@emc.com wrote: Howdy, Py ver - 3.2, Windows-XP . Logged in as user with admin

[BangPypers] Has anybody tried this way of compiling Python...

2012-03-05 Thread Vishal
experiences.. Thanks and best regards, Vishal Sapre ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Zope : uninstallation error in windows

2012-02-21 Thread Vishal
Great find. This is general enough to be used in other full fledged programs as well. Thanks, Vishal On Mon, Feb 20, 2012 at 5:25 PM, Shashidhar Paragonda shashidha...@gmail.com wrote: Hello Vishal, Thanks for your advice. I found solution, there was override

Re: [BangPypers] Zope : uninstallation error in windows

2012-02-18 Thread Vishal
the same for Linux, Mac and Windows, without any changes to driver script. take care, Vishal On Wed, Feb 15, 2012 at 4:22 PM, Shashidhar Paragonda shashidha...@gmail.com wrote: Hello Python hackers, I am facing typical uninstaller error on windows machine. I have created

Re: [BangPypers] log and figure out what bits are slow and optimize them.

2012-02-13 Thread Vishal
Hi, Since you want to profile a single method (or a bunch of methods), it makes sense to line_profile them. you can add that capability as well. See:http://packages.python.org/line_profiler/ http://packages.python.org/line_profiler/ getit: http://pypi.python.org/pypi/line_profiler Enjoy, Vishal

[BangPypers] [OT] Any Pythonistas in Central India (MP, CH)

2012-02-13 Thread Vishal
Dear All, I have moved to, Bhopal (MP), and wanted to get a check on people who might be staying here and listening on this list. Thanks and best regards, Vishal Sapre --- Life is 10% how you make it, and 90% how you take it बहुजन हिताय, बहुजन सुखाय (Benefit for most people, Happiness for most

Re: [BangPypers] win32com.client.Dispatch

2011-12-28 Thread Vishal
Object viewer that should be able to show you all the functions that are exposed by a registered DLL. -- Thanks and best regards, Vishal Sapre ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] UML diagrams from python source code

2011-12-16 Thread Vishal
/mailman/listinfo/bangpypers Hello, While it may not be of use to you now...BOUML can do the exact opposite of what you are asking. Try it out to see if it can consume Python and generate UML? -- Thanks and best regards, Vishal Sapre ___ BangPypers

[BangPypers] [XPost][Slightly OT] Could you share your experiences about Python Freelance programming, from a programmer's perspective

2011-10-31 Thread Vishal
is required ? (You can say the truth here...its not going to be made public and its not going to increase your competition :) ) Suggestions, pointers for nu-bee freelancers etc ? Hope this would be an interesting topic to everyone :)) -- Thanks and best regards, Vishal Sapre

Re: [BangPypers] Creating windows installer

2011-10-11 Thread Vishal
Hello Shashidhar, I have found the following path to be platform independent and highly stable. Windows: Python App -- *bbfreeze *-- InnoSetup Linux or MacOSX: Python App -- *bbfreeze *-- gz or bz2 or zip Hope this helps... Vishal Sapre On Mon, Sep 26, 2011 at 11:24 AM, Shashidhar Paragonda

Re: [BangPypers] how to write Operating System in python

2011-08-16 Thread Vishal
APAC 2011 - SNAPy (A Python VM from Synapse Wireless...see Pycon video on blip.tv. The VM is proprietary - M2M (Machine 2 Machine) communication and control solutions from Telit Just another direction to whet your interest :)) Enjoy Python... Best regards, Vishal On Fri, Aug 12, 2011 at 3:28 PM

Re: [BangPypers] need for Python based CRM/ERP system...extensible

2011-07-24 Thread Vishal
the plugins already available for TRAC have made it much more than a bug tracking system. Vishal -- Thanks and best regards, Vishal Sapre --- So say...Day by day, in every way, I am getting better, better and better !!! A Strong and Positive attitude creates more miracles than anything else. Life

[BangPypers] need for Python based CRM/ERP system...extensible

2011-07-23 Thread Vishal
collected. e) Allows users to search through all the data... Do you have any stars in mind? I also have a crazy idea of using TRAC and creating plugins for making it look like a CRM system. What do you think of this? -- Thanks and best regards, Vishal Sapre

Re: [BangPypers] Python and Employment

2011-07-18 Thread Vishal
regards, Vishal Sapre ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] python32 bit crash on win7 64bit machine

2011-07-18 Thread Vishal
more insight. Take care, Vishal On Fri, Jun 24, 2011 at 4:28 PM, Nitin Kumar nitin.n...@gmail.com wrote: Hi All, I am facing python crash with my script on win7 64 bit machine. I am using 32bit Python. Some of the info (from the file C:\Users\admin\AppData\Local\Temp\WERD22

[BangPypers] [OT] getting a business email vendor

2011-06-30 Thread Vishal
*. Google Apps looks very attractive...but prices are high ($50/per account/per year)...where as many Indian vendors provide 5-10 email addresses at much lower price. Any suggestions? -- Thanks and best regards, Vishal Sapre --- So say...Day by day, in every way, I am getting better, better

[BangPypers] PyCamp during PyCon India

2011-04-06 Thread Vishal
Hello, I think the PyCamp idea is a wonderful idea to spread Python awareness. Can we have something like this during PyCon India this year. Please point this email to the correct mailing list or point me to that mailing list... Thanks and best regards, Vishal Sapre -- Forwarded

Re: [BangPypers] chaining string operations..

2011-03-28 Thread Vishal
On Fri, Mar 25, 2011 at 5:45 PM, Vishal vsapr...@gmail.com wrote: On Fri, Mar 25, 2011 at 3:31 PM, Senthil Kumaran orsent...@gmail.comwrote: On Fri, Mar 25, 2011 at 03:22:02PM +0530, Vishal wrote: I have a string that can be many megabytes worth memory size, and i want to If you have

[BangPypers] chaining string operations..

2011-03-25 Thread Vishal
Cython/C extension module. Thanks and best regards, Vishal Sapre ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] How to handle files efficiently in python

2011-03-24 Thread Vishal
On Thu, Mar 24, 2011 at 12:07 PM, Senthil Kumaran orsent...@gmail.comwrote: On Thu, Mar 24, 2011 at 11:06:14AM +0530, Vishal wrote: setting l[0] to None, un-references the earlier string data associated with that name, which is then (force) collected by the collect() call. Can you please

Re: [BangPypers] How to handle files efficiently in python

2011-03-23 Thread Vishal
. # but this is optional, if you only want to print the lines, and then end the python process. l[0] = None gc.collect() print '\n'.join(l[1:]) ... do other stuff if you cannot read the entire file in one go...then the stackoverflow answer above from S.Lott is best. Enjoy, Vishal -- Thanks and best

Re: [BangPypers] How to handle files efficiently in python

2011-03-23 Thread Vishal
On Thu, Mar 24, 2011 at 7:56 AM, Senthil Kumaran orsent...@gmail.comwrote: On Thu, Mar 24, 2011 at 02:25:04AM +0530, Vishal wrote: if you could read the entire file in one go...(i.e. unless your file is more than 50MB)...how about the following? for line in reversed((open('filename

Re: [BangPypers] How to handle files efficiently in python

2011-03-23 Thread Vishal
On Thu, Mar 24, 2011 at 11:03 AM, Vishal vsapr...@gmail.com wrote: On Thu, Mar 24, 2011 at 7:56 AM, Senthil Kumaran orsent...@gmail.comwrote: On Thu, Mar 24, 2011 at 02:25:04AM +0530, Vishal wrote: if you could read the entire file in one go...(i.e. unless your file is more than 50MB

Re: [BangPypers] indentation problems

2011-02-24 Thread Vishal
module to find out who is not using it :)) -- Thanks and best regards, Vishal Sapre ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

[BangPypers] FOSS String library in C/C++ that matches Python string functions...

2011-02-21 Thread Vishal
python functionality that Python provides, and is not available in the string.h from C library. Any pointers? Thanks in advance, Vishal Sapre ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] FOSS String library in C/C++ that matches Python string functions...

2011-02-21 Thread Vishal
On Mon, Feb 21, 2011 at 3:36 PM, Roshan Mathews rmath...@gmail.com wrote: On Mon, Feb 21, 2011 at 15:16, Vishal vsapr...@gmail.com wrote: But the bottleneck is the stellar string python functionality that Python provides, and is not available in the string.h from C library. What sort

Re: [BangPypers] FOSS String library in C/C++ that matches Python string functions...

2011-02-21 Thread Vishal
On Mon, Feb 21, 2011 at 3:42 PM, Vishal vsapr...@gmail.com wrote: On Mon, Feb 21, 2011 at 3:36 PM, Roshan Mathews rmath...@gmail.comwrote: On Mon, Feb 21, 2011 at 15:16, Vishal vsapr...@gmail.com wrote: But the bottleneck is the stellar string python functionality that Python provides

Re: [BangPypers] Ideas for Python concurrency...

2011-02-09 Thread Vishal
On Wed, Feb 9, 2011 at 11:04 AM, Dhananjay Nene dhananjay.n...@gmail.comwrote: On Tue, Feb 8, 2011 at 2:15 PM, Vishal vsapr...@gmail.com wrote: On Tue, Feb 8, 2011 at 2:10 PM, Baishampayan Ghose b.gh...@gmail.com wrote: Mutliprocessing means, data copying, talking to each other

[BangPypers] Ideas for Python concurrency...

2011-02-08 Thread Vishal
regards, Vishal Sapre ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Ideas for Python concurrency...

2011-02-08 Thread Vishal
On Tue, Feb 8, 2011 at 2:02 PM, Anand Chitipothu anandol...@gmail.comwrote: 2011/2/8 Vishal vsapr...@gmail.com: Hello, This might sound crazy..and dont know if its even possible, but... Is it possible that the Python process, creates copies of the interpreter for each thread

Re: [BangPypers] Ideas for Python concurrency...

2011-02-08 Thread Vishal
to new byte codes. The original idea was to create a new interpreter for each thread, each one with its own GIL !!!. All within the same process. Vishal ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Ideas for Python concurrency...

2011-02-08 Thread Vishal
. ___ Thanks Noufal. You've explained my mental situation, with respect to the idea, exactly... :)) Vishal ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Ideas for Python concurrency...

2011-02-08 Thread Vishal
Vikas, Thanks for the detailed info. What OS were you using for this project ? Thanks and best regards, Vishal On Tue, Feb 8, 2011 at 2:44 PM, vikas ruhil vikasruhi...@gmail.com wrote: Python GIL problem is solved you can look at here multiprocessing module was developed, which enables true

Re: [BangPypers] Python 1.5.2 Application (compiled on PA-RISC) crashes on Itanium

2011-01-12 Thread Vishal
never worked on PA-RISC or Itanium, only knew superficially about Itanium because I worked for Intel till recently. For more details you would have to wait from some more knowledgeable answers. take care, Vishal On Wed, Jan 12, 2011 at 2:00 PM, Wah Meng Wong wah_m...@yahoo.com wrote: Hi guys, I

Re: [BangPypers] PyCon India videos up

2010-12-21 Thread Vishal
Checked out a few ones. They are good. Nice effort guys. A few ones have low voice quality, one was this one.. day2_hall1_part2http://pyconindia.blip.tv/file/4533633/ Thanks and best regards, Vishal Sapre On Tue, Dec 21, 2010 at 1:57 PM, Noufal Ibrahim nou...@gmail.com wrote: Thanks

Re: [BangPypers] Co-operating threads

2010-10-25 Thread Vishal
Hi, I have greenlets on my system, but I dont see any info about gevent or eventlet on Windows. The websites all talk in terms of Linux, MacOsX etc... Do you know if the same are available on Windows too? or any kind of such framework for Windows. Thanks and best regards, Vishal Sapre On Sun

Re: [BangPypers] task tracker and issue manager

2010-10-25 Thread Vishal
Ok. Sorry about that. +1 for Trac then. Also, if you its possible to shell out some moneyplease do have a look at Altassian's JIRA. For $10 for 10 users, its the cheapest and indeed one of the best project management tools. Thanks and best regards, Vishal Sapre On Mon, Oct 25, 2010 at 12:40

Re: [BangPypers] Beginner help

2010-10-02 Thread Vishal
if you are on Windows, try out PyScripter. I am sure you'll like it. Thanks and best regards, Vishal Sapre On Sat, Oct 2, 2010 at 4:51 PM, Noufal Ibrahim nou...@gmail.com wrote: On Sat, Oct 02 2010, Dennis Varkey wrote: I heard about python and found that it was very simple to code. I

Re: [BangPypers] Clojure style multimethod functions in python

2010-08-25 Thread Vishal
Does anyone know of some speed performance comparison between multi-methods* vs* if-elif-else* vs* class based polymorphism ? Thanks and best regards, Vishal On Wed, Aug 25, 2010 at 11:15 AM, Baishampayan Ghose b.gh...@gmail.comwrote: Without making any change whatsoever to multi

[BangPypers] [JOB] [Python alongside Lex/Yacc/C] Staff Software Engineer @ National Semiconductor, bangalore, India

2010-08-13 Thread Vishal
Hi Friends, We have a position open at National Semiconductor. Please forward any references you may have, directly to me. Thanks and best regards, Vishal Sapre *Job *Description*: **Staff Software Engineer**.* * * ***Location** **Bangalore, KA* * * *Design Automation Group of NSC has CAD

[BangPypers] Do you think a more declarative RE syntax would make the world a better place ?

2010-08-09 Thread Vishal
Hello fellas, I am trying to create a python function that can take an plain english description of a regular expression and return the regular expression to the caller. Currently I am thinking of the description in YAML format. So, we can store the description as a raw string variable, which is

Re: [BangPypers] Do you think a more declarative RE syntax would make the world a better place ?

2010-08-09 Thread Vishal
. I do agree with you that as the regex becomes overly complex, this textual representation may also become equally complex..or more so. Here's a website to find out 'quickly' what a regular expression means: http://rick.measham.id.au/paste/explain.pl Best regards, Vishal

Re: [BangPypers] Do you think a more declarative RE syntax would make the world a better place ?

2010-08-09 Thread Vishal
Here are a couple more regular expression analyzers: http://xenon.stanford.edu/~xusch/regexp/analyzer.html http://xenon.stanford.edu/~xusch/regexp/analyzer.htmla tool you can download to your pc: http://www.ultrapico.com/Expresso.htm On Mon, Aug 9, 2010 at 9:42 PM, Vishal vsapr...@gmail.com

Re: [BangPypers] Do you think a more declarative RE syntax would make the world a better place ?

2010-08-09 Thread Vishal
a few times and that has clarified my understanding of the regular expressions in general. So now I can atleast look at a regex and successfully try to figure out what its trying to say. Thanks and best regards, Vishal On Tue, Aug 10, 2010 at 8:57 AM, Dhananjay Nene dhananjay.n...@gmail.comwrote

Re: [BangPypers] Regarding web framework in Python

2010-06-07 Thread Vishal
easily for you. Also added advantage is that the client that you create is both a command line utility and a GUI (if you want to draw it on screen). Enjoy, Vishal Sapre On Mon, Jun 7, 2010 at 11:32 AM, Kenneth Gonsalves law...@au-kbc.orgwrote: On Monday 07 June 2010 11:21:59 Gopalakrishnan S

Re: [BangPypers] Program_to_catch_changes_in_webpage

2010-05-27 Thread Vishal
, Vishal Sapre On Thu, May 27, 2010 at 1:53 PM, Noufal Ibrahim nou...@gmail.com wrote: On Thu, May 27, 2010 at 12:35 PM, nikunj badjatya nikunjbadja...@gmail.com wrote: Hi All, I am actually using a web interface for outlook mails. Pointing the link to my browser opens a page which shows me

Re: [BangPypers] python for parsing

2010-05-24 Thread Vishal
, and then adding other stuff over this can be continued in Python. Vishal On Mon, May 24, 2010 at 12:10 PM, Noufal Ibrahim nou...@gmail.com wrote: On Mon, May 24, 2010 at 12:06 PM, Rahul R rahul8...@gmail.com wrote: Thanks Kunal , i am happy as well as sad , happy because my job has become much

Re: [BangPypers] @dabeaz visiting b'lore

2010-05-10 Thread Vishal
___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers -- Thanks and best regards, Vishal Sapre --- So say...Day by day, in every way, I am getting better, better and better !!! A Strong and Positive

Re: [BangPypers] @dabeaz visiting b'lore

2010-04-30 Thread Vishal
performance in general..using dataflow optimizations to the bytecode itself. Also about packaging in Python, what are his thoughts on the ideal solution. And about his experience on concurrency approaches in Pythoncoroutines vs threads vs processes etc Thanks and best regards, Vishal Sapre

Re: [BangPypers] @dabeaz visiting b'lore

2010-04-01 Thread Vishal
As of now its a +1 for me. Just a suggestion: If we can have it at Thoughtworks and have pizza/coke delivered there, that should do it. Vishal On Thu, Apr 1, 2010 at 12:04 PM, Anand Balachandran Pillai abpil...@gmail.com wrote: On Thu, Apr 1, 2010 at 11:58 AM, स्वक्ष v...@svaksha.com wrote

Re: [BangPypers] @dabeaz visiting b'lore

2010-04-01 Thread Vishal
I think a hotel/restaurant etc is almost out, because it would take a lot to got to a place that provides conference room like atmosphere easily in a restaurant. I was presuming a Thoughtworks like setting :) Vishal On Thu, Apr 1, 2010 at 12:46 PM, Baiju M mba...@zeomega.com wrote: On Thu

Re: [BangPypers] @dabeaz visiting b'lore

2010-03-31 Thread Vishal
OK, saw your twitter posting and question to his twitter account. Some more info would be great though. This is the guy who explained the GIL to the majority of the python speaking world. On Wed, Mar 31, 2010 at 3:35 PM, Vishal vsapr...@gmail.com wrote: Any more details about this? On Wed

Re: [BangPypers] @dabeaz visiting b'lore

2010-03-31 Thread Vishal
mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers -- Thanks and best regards, Vishal Sapre --- So say...Day by day, in every way, I am getting better, better and better !!! A Strong and Positive attitude creates more miracles than anything else. Because

Re: [BangPypers] Query generation engine/library

2010-03-09 Thread Vishal
and best regards, Vishal Sapre --- So say...Day by day, in every way, I am getting better, better and better !!! A Strong and Positive attitude creates more miracles than anything else. Because...Life is 10% how you make it, and 90% how you take it Diamond is another piece of coal that did well under

Re: [BangPypers] January user group meeting

2010-01-19 Thread Vishal
+1 for Jan 24th -1 for Jan 23rd (personal work) I would be interested to know if someone has used/modified TRAC to fit their own project management requirements. Any kind of training on TRAC.. Thanks and best regards, Vishal Sapre On Wed, Jan 20, 2010 at 12:04 AM, Sriram Narayanan sriram

  1   2   >