Fwd: Issues in python 3.11.0 (64-bit) installation

2022-11-03 Thread Suresh Babu
-- Forwarded message - From: Suresh Babu Date: Thu, 3 Nov 2022, 16:37 Subject: Issues in python 3.11.0 (64-bit) installation To: Sir/ Madam, I downloaded the latest version of python i.e. python 3.11.0 ( 64-bit) in my laptop recently. But the " py launcher " and &

Re: python script to give a list of prime no.

2020-04-05 Thread Sathvik Babu Veligatla
On Sunday, April 5, 2020 at 8:03:19 PM UTC+5:30, inhahe wrote: > On Sun, Apr 5, 2020 at 8:26 AM Sathvik Babu Veligatla < > sathvikveliga...@gmail.com> wrote: > > > hi, > > I am new to python, and i am trying to output the prime numbers beginning > > from 3 and

Re: python script to give a list of prime no.

2020-04-05 Thread Sathvik Babu Veligatla
On Sunday, April 5, 2020 at 8:03:19 PM UTC+5:30, inhahe wrote: > On Sun, Apr 5, 2020 at 8:26 AM Sathvik Babu Veligatla < > sathvikveliga...@gmail.com> wrote: > > > hi, > > I am new to python, and i am trying to output the prime numbers beginning > > from 3 and

Re: python script to give a list of prime no.

2020-04-05 Thread Sathvik Babu Veligatla
On Sunday, April 5, 2020 at 6:09:04 PM UTC+5:30, Chris Angelico wrote: > On Sun, Apr 5, 2020 at 10:26 PM Sathvik Babu Veligatla > wrote: > > > > hi, > > I am new to python, and i am trying to output the prime numbers beginning > > from 3 and i cannot get the requi

Re: python script to give a list of prime no.

2020-04-05 Thread Sathvik Babu Veligatla
) > for i in range(2,int(math.ceil(math.sqrt(n: > if n%i==0: > return(False) > return(True) > > then: > > primes = [x for x in range(1,1000) if is_prime(x)] > > print(primes) > > Kind regards, > Orges > > Am So., 5. Ap

python script to give a list of prime no.

2020-04-05 Thread Sathvik Babu Veligatla
hi, I am new to python, and i am trying to output the prime numbers beginning from 3 and i cannot get the required output. It stops after giving the output "7" and that's it. CODE: a = 3 l = [] while True: for i in range(2,a): if a%i == 0: l.append(1) else:

RE: Python installation - fatal error

2018-04-24 Thread Nagendra Babu Thillaiappan
). Can I request your help in sorting this out? Thank you. Best Babu [1F98:1CE0][2018-04-24T16:37:10]i001: Burn v3.10.3.3007, Windows v6.1 (Build 7601: Service Pack 1), path: C:\Users\NAGEND~1.CWT\AppData\Local\Temp\{8DFCE3D6-3016-431A-9581-DA2071E8583E}\.cr\python-3.6.5-amd64.exe [1F98:1CE0

Re: How to program in Python to run system commands in 1000s of servers

2011-04-10 Thread Babu
On Apr 8, 5:40 am, Thomas Rachel wrote: > Am 07.04.2011 21:14, schrieb Anssi Saari: > > > Chris Angelico  writes: > > >> Depending on what exactly is needed, it might be easier to run a > >> separate daemon on the computers, one whose sole purpose is to do the > >> task / get the statistics needed

How to program in Python to run system commands in 1000s of servers

2011-04-05 Thread Babu
Here is my problem: Want to program in python to run sysadmin commands across 1000s of servers and gather the result in one place. Many times the commands need to be run as root. We cannot use ssh as root remote connectivity as well. What are the different ways of programming in python to achie

Re: my threaded program hangs after calling Queue.join()

2010-04-06 Thread Babu
On Apr 6, 9:32 pm, Peter Otten <__pete...@web.de> wrote: > Babu wrote: > > I am not an expert in python, so any help is my appreciated.  My > > threaded program consumed everything in the queue but is not > > exiting... What is the problem with this program? >

my threaded program hangs after calling Queue.join()

2010-04-06 Thread Babu
I am not an expert in python, so any help is my appreciated. My threaded program consumed everything in the queue but is not exiting... What is the problem with this program? #!/opt/gspython-2.5/bin/python """ Intention of this program: given a list of host names in a file, get the .rhosts file,

come and join www.pakdub.com a social network with full features like games, classifieds, forums, blogs and a lot more

2010-02-20 Thread babu lohar
come and join www.pakdub.com a social network with full features like games, classifieds, forums, blogs and a lot more -- http://mail.python.org/mailman/listinfo/python-list

Re: subprocess -popen - reading stdout from child - hangs

2007-09-22 Thread Suresh Babu Kolla
[EMAIL PROTECTED] wrote: > Let's say I have this Python file called loop.py: > > import sys > print 'hi' > sys.stdout.flush() > while 1: > pass > > And I want to call it from another Python process and read the value > 'hi'. How would I do it? > > So far I have tried this: > proc = su

Re: module: zipfile.writestr - line endings issue

2007-08-15 Thread Suresh Babu Kolla
Paul Carter wrote: > On Aug 14, 1:32 pm, towers <[EMAIL PROTECTED]> wrote: >> Thanks - your code works for me also. >> >> But I still get the issue when I read the file directly and add it to >> the archive. >> >> Say if I: >> >> 1. Use the test.csv file created with your code - currently the line