Python Training in Chennai

2018-07-17 Thread sandy star
Python Training in Chennai with expert guidance and fully hands-on classes. Python is a high-level programming language sometimes it also denoted as the scripting language as it provides rapid & fast development and easy of use. url : https://www.besanttechnologies.com/training-courses/python-t

Python Training in Bangalore

2018-06-19 Thread sandy star
Python Training in Bangalore Best Python Training Courses in Bangalore – Marathahalli, BTM Layout, Rajajinagar & Jaya Nagar. We train the students from basic level to advanced concepts with a real-time environment. We are the Best Python Training Institute in bangalore. URL : https://www.be

os.stat UnicodeEncodeError:

2011-03-22 Thread Sandy Oz
through the application I developed. Shouldn't os module not be using the system locale in both cases? I tried setting the locale to en_US.UTF-8 but to no avail. Thank you, Sandy -- http://mail.python.org/mailman/listinfo/python-list

Help with python-twain module

2011-02-01 Thread Sandy Oz
ith python-imaging-sane module, but ran into problems when switching to windows. Any help will be greatly appreciated, Thanks, Sandy -- http://mail.python.org/mailman/listinfo/python-list

Re: How to find free resident memory in Linux using python

2010-10-03 Thread Sandy
On Oct 2, 10:08 pm, Seebs wrote: > On 2010-10-02, Sandy wrote: > > > I want to find how much free memory (RAM) is available in my system > > using python. > > The question is essentially incoherent on modern systems.  You'd have to > define terms.  Consider th

How to find free resident memory in Linux using python

2010-10-02 Thread Sandy
Hi all, I want to find how much free memory (RAM) is available in my system using python. I tried psutil, parsing /proc/meminfo, top output etc but not satisfied. For example my gnome-system-monitor gui shows I am using 1GB (25%) of my RAM while /proc/meminfo, top, psutil says around 2GB is used. I

Re: example of multi threads

2010-06-24 Thread Sandy
On Jun 23, 11:58 am, Stefan Behnel wrote: > Mag Gam, 23.06.2010 12:24: > > > I am looking for a simple multi threaded  example. > > > Lets say I have to ssh to 20 servers and I would like to that in > > parallel. Can someone please provide a an example for that? > > Sounds like you want to run bac

RE: where are the program that are written in python?

2010-05-31 Thread Sandy Ydnas
http://en.wikipedia.org/wiki/List_of_Python_software List of Python software >From Wikipedia, the free encyclopedia Jump to:navigation, search This article needs additional citations for verification. Please help improve this article by adding reliable references

to prevent reveres engineering for Python

2010-05-25 Thread Sandy Ydnas
Python code??? Regards Sandy > From: pmau...@gmail.com > Subject: Re: where are the program that are written in python? > Date: Fri, 21 May 2010 23:29:37 -0700 > To: python-list@python.org > > On May 21, 9:12 pm, Ben Finney wrote: > > a...@pythoncraft.com (Aahz)

RE: Multi-Threading in Python

2010-05-18 Thread Sandy Ydnas
good thanks a lot Sandy > Subject: RE: Multi-Threading in Python > From: awill...@whitemice.org > To: python-list@python.org > Date: Tue, 18 May 2010 12:45:37 -0400 > > On Tue, 2010-05-18 at 20:29 +0500, Sandy Ydnas wrote: > > great > > can help to find so

RE: Multi-Threading in Python

2010-05-18 Thread Sandy Ydnas
great can help to find some examples of multiprocessing Sandy > Subject: Re: Multi-Threading in Python > From: awill...@whitemice.org > To: python-list@python.org > Date: Tue, 18 May 2010 10:45:11 -0400 > > On Tue, 2010-05-18 at 07:35 -0700, Lou wrote: > > Can anyon

python and GNU plot

2010-05-18 Thread Sandy Ydnas
pls pls help how to use Gnuplot Gnuplot runs from Python under Vista downloaded Gnuplot, but what they suggest only Run wgnuplot.exe Thank you very much in advance!!! Sandy

RE: Do any debuggers support "edit and continue?"

2010-05-12 Thread Sandy Sandy
maybe ipython? http://showmedo.com/videos/video?name=120&fromSeriesID=100 > From: zapwiredashgro...@yahoo.com > Subject: Do any debuggers support "edit and continue?" > Date: Wed, 12 May 2010 10:42:31 -0700 > To: python-list@python.org > > Just curious... in Microsoft's Visual Studio (a

RE: Do any debuggers support "edit and continue?"

2010-05-12 Thread Sandy Sandy
) but it is not working, bug?? Sandy > From: zapwiredashgro...@yahoo.com > Subject: Do any debuggers support "edit and continue?" > Date: Wed, 12 May 2010 10:42:31 -0700 > To: python-list@python.org > > Just curious... in Microsoft's Visual Studio (and I would

graphs in Python during debugging

2010-05-11 Thread Sandy Sandy
. In Windows, if you’re working from interactive Python, you need only issue show() once; close the figures (or figures) to return to the shell. Subsequent plots will be drawn automatically without issuing show(), and you’ll be able to plot graphs interactively. Best Regards Sandy

plot debugging problem

2010-05-11 Thread Sandy Sandy
show() once; close the figures (or figures) to return to the shell. Subsequent plots will be drawn automatically without issuing show(), and you’ll be able to plot graphs interactively. Best Regards Sandy

Re: deleting objects present in a list

2010-04-22 Thread Sandy
On Apr 21, 10:48 am, Dave Angel wrote: > (For some reason you posted your response before the message you were > replying to.  That's called Top-posting, and is bad form on these > mailing lists) > > > > Sandy wrote: > > Thanks for the replies. > > > Terry

Re: deleting objects present in a list

2010-04-20 Thread Sandy
js: 2516L After creating objs: 2418L Before deleting: 2418L After deleting: 2430L In my original case the memory is not getting released even after long time. - dksr On Apr 20, 8:44 pm, Terry Reedy wrote: > On 4/20/2010 3:21 PM, Sandy wrote: > > > Hi all, > > I have large num

deleting objects present in a list

2010-04-20 Thread Sandy
Hi all, I have large number of objects created and to handle them properly, I store them in a list. How can I delete all of these objects (delete I mean here is to remove the object from memory not just from list)? I cannot use the list to iterate through the objects to delete them. Because 'del' o

Re: cxfreeze on ubuntu 9.10

2010-03-25 Thread Sandy
I used cxFreeze without any problem on Ubuntu 9.10 32 bit version. I tried it on a wxPython gui script and it works fine though I did'n use any setup file. Just try cxFreeze executable (should be in /usr/bin/) instead of setup file. $/usr/bin/cxFreeze my_script.py --target-dir=/what_ever_dir/ wha

Re: Looking for crossfold validation code

2010-02-20 Thread Sandy
Following is the code I use. I got it from web, but forgot the link. def k_fold_cross_validation(X, K, randomise = False): """ Generates K (training, validation) pairs from the items in X. Each pair is a partition of X, where validation is an iterable of length len

Re: Python 2.6.4 - Urllib2 - Windows XP - Reading streaming HTTP source kills network card ... (believe it or not)

2010-01-12 Thread Sandy Walsh
I've also run this under IronPython 2.6 and, while it takes longer (about 5 minutes), I get the same results. And this too takes down the NIC on the PC. It's gotta be something with my PC, so don't sweat it ... time for an upgrade I think. -S <>-- http://mail.python.org/mailman/listinfo/py

Python 2.6.4 - Urllib2 - Windows XP - Reading streaming HTTP source kills network card ... (believe it or not)

2010-01-12 Thread Sandy Walsh
e, or established connection failed because connected host has failed to respond> At which point all connectivity on the PC is dead. This is truly bizarre. Anyone have any insights as to what might be happening. Or is there something blatantly wrong with my code? Help! -Sandy <>-- http://mail.python.org/mailman/listinfo/python-list

Re: prolog with python

2009-12-03 Thread Sandy
you can also look at swi-prolog and python bridge: pyswip. I am using it and its very nice though it has some issues with 64-bit os. http://code.google.com/p/pyswip/ - dksr On Dec 3, 2:56 am, Chris Rebert wrote: > On Wed, Dec 2, 2009 at 6:47 PM, William Heath wrote: > > Hi All, > > > I have t

confused with os.fork()

2009-11-25 Thread Sandy
Hi all, I am a little bit confused about os.fork(). Say I have the following code. import os a = ['a','b','c','d','e'] for i in xrange(len(a)): pid = os.fork() if not pid: print a[i] os._exit(0) >From most of the tuts and examples I saw online, I expect it to print a,b,c,

Re: logging from several independent classes

2009-10-29 Thread Sandy
> All named loggers (including "A", "B" etc.) inherit from the root logger, > obtained by doing > > root_logger = logging.getLogger() > > or > > root_logger = logging.getLogger("") Somehow I missed this in the docs. Thanks Vinay. -- http://mail.python.org/mailman/listinfo/python-list

logging from several independent classes

2009-10-28 Thread Sandy
Hi all, I was going through the last example in logging docs: http://docs.python.org/library/logging.html#using-logging-in-multiple-modules It explains how to log from multiple classes. The example works fine as long as the logger names are in a heirarchy (spam_application.auxiliary.Auxiliary, spa

Re: Strangeness: Cannot write to a file from a process created by Windows Task Scheduler ...

2009-10-26 Thread Sandy Walsh
Thanks Marco & Al, Yes it seems to be a flush problem. Strange how it doesn't require the explicit flush() when the console window appears, but does otherwise. Either way, it gives me a good direction to chase after. Thanks again for your quick help guys! -Sandy Marco Bizzarri wr

Strangeness: Cannot write to a file from a process created by Windows Task Scheduler ...

2009-10-26 Thread Sandy Walsh
t it's blocking on something, but I can't imagine where. There is no stderr/stdout output anywhere in the program so it's not blocking on anything stdio related (that I can imagine) Thoughts? -Sandy <>-- http://mail.python.org/mailman/listinfo/python-list

Simple if-else question

2009-09-29 Thread Sandy
Hi all, A simple and silly if-else question. I saw some code that has the following structure. My question is why else is used there though removing else has the same result. More important, is it not syntactically wrong :-( for i in xrange(8): if i < 4: print i else: print i Chee

all possible matchings of elements of two lists

2009-08-26 Thread Sandy
select any combination and use zip to get the tuples. Repeat this for all possible combinations. Any other ideas? Sandy -- http://mail.python.org/mailman/listinfo/python-list

How to get a window ID in linux using python?

2009-06-03 Thread Sandy
can get window info by executing 'xwininfo' and then selecting the desired window manually. Can this be done automatically in python? Thanks, Sandy -- http://mail.python.org/mailman/listinfo/python-list

=?UTF-8?Q?=E2=96=BA=E2=96=BA=E2=96=BA_Earn_MILLIONS_online, _working_One_Hour_a_D?= AY ◄◄◄

2007-12-23 Thread sandy
Would you like a side-income of 1000's of Dollars a month? YES, This is possible if you have the skills to trade Forex. AND you can do all this without monitoring the market constantly. The Website listed below is tailored to both the new as well as the intermediate trader. In it, you will lear

Re: Socket communication problem

2007-10-24 Thread Sandy Dunlop
solution here: http://sorn.net/~sandyd/python/solution I'll have a look at Twisted - sounds good. Thanks, Sandy -- http://mail.python.org/mailman/listinfo/python-list

Re: Socket communication problem

2007-10-24 Thread Sandy Dunlop
Sandy Dunlop wrote: > Hi, > I'm new here, and fairly new to Python. I have been playing around with > Python and started having a look at socket IO. I have written a script > that communicates over a network to a server which is written in C. > While trying to get this

Socket communication problem

2007-10-24 Thread Sandy Dunlop
http://www.sorn.net/~sandyd/python/problem/ Or all together in a zip file here: http://www.sorn.net/~sandyd/python/problem.zip Thanks in advance, Sandy -- http://mail.python.org/mailman/listinfo/python-list

New Python opportunity in Boston

2007-07-19 Thread Sandy Kontos
Hello, My name is Sandy Kontos and I have a Python/Jython role here in Boston for 3-6 months. Should you have any interest in the Boston area please give either myself and/or Mo Bitahi a call at 781 449 0600 Thank you Sandy Sandy Kontos Overture Partners, LLC 75

Python Parallel Paradigm

2006-11-11 Thread Sandy
e design.) I know that there's a package for an Erlang system for Python, somewhere ("Parnassus" probably). There's probably a Py-CSP somewhere too. Lots of trees, but where's the Wood? Where are concurrency/distributed models compared and discussed? With kind reg

Re: SciTE: Printing in Black & White

2006-05-03 Thread Sandy
Alexander Anderson: > ...I like to study large files of (hobby) code on paper. I have a > black and white bubble-jet printer. However, my (Win NT4) screen > syntax-highlighting setup has a couple of problems when it comes to > doing print-outs. > > The _chief_ problem is that my on-scree

SciTE: Printing in Black & White

2006-05-01 Thread Sandy
tly at this prospect, if there's a simpler (but more plodding) way. (I've already noticed that exporting as say RTF, and then changing the RTF styles for printing with a regular-expression script, is one possible, messy and very kludgey solution.) With kind regards, Sandy -- Alexa

I've started new blog

2006-01-14 Thread sandy
Hi all, I've started a new blog for discussion about the help can be provided to freshers. visit following URL: http://forfreshers.blogspot.com/ please visit and let the frshers get benifit from our discussion. thank you in advance. sandeep. -- http://mail.python.org/mailman/listi

Performance Issues of MySQL with Python

2005-02-09 Thread sandy
Hi All, I am a newbie to MySQL and Python. At the first place, I would like to know what are the general performance issues (if any) of using MySQL with Python. By performance, I wanted to know how will the speed be, what is the memory overhead involved, etc during database specific operations (r