Re: Python problem

2015-10-09 Thread Chris Angelico
On Sat, Oct 10, 2015 at 5:15 PM, Sébastien Pinsonneault wrote: > I've downloaded Python 3.5.0 64 bits, but I can't open it. It ask me each > time if I want to modify, repair or uninstall, but doesn't open. > > I have Windows 10 64 bits. "doesn't open"? Do you mean that it's refusing to install, o

Re: Error

2015-10-09 Thread Chris Angelico
On Sat, Oct 10, 2015 at 4:39 PM, Shreenivas Potnis wrote: > > I have 32 bit machine with XP service pack 3. > > I installed x86 version of python. > While running I get the following error: > > Python 3.5 does not run on XP. Instead, either use Python 3.4, or upgrade to a better operating system

Python problem

2015-10-09 Thread Sébastien Pinsonneault
Hi, I've downloaded Python 3.5.0 64 bits, but I can't open it. It ask me each time if I want to modify, repair or uninstall, but doesn't open. I have Windows 10 64 bits. Thx -- https://mail.python.org/mailman/listinfo/python-list

Strong typing implementation for Python

2015-10-09 Thread John Michael Lafayette
I would like Python to have a strong typing feature that can co-exist with the current dynamic typing system. Currently Python is like this: var animal = Factory.make("dog") #okay var dog = Factory.make("dog") #okay -- https://mail.python.org/mailman/listinfo/python-list

Strong typing implementation for Python

2015-10-09 Thread John Michael Lafayette
I would like Python to have a strong typing feature that can co-exist with the current dynamic typing system. Currently Python is like this: var animal = Factory.make("dog") # okay. var dog = Factory.make("dog") # okay. var cat = Factory.make("dog")# are you sure? I wou

Re: Recover data over the network

2015-10-09 Thread Michael Torrie
On 10/09/2015 09:44 PM, William Ray Wing wrote: > I hesitate to mention this, but there _may_ be a communication > problem here. When American-English speakers refer to data recovery, > they usually are discussing reading data from a disk that has > suffered some catastrophic event, say a head cras

Re: Recover data over the network

2015-10-09 Thread William Ray Wing
> On Oct 9, 2015, at 10:44 PM, Arshpreet Singh wrote: > >> On Saturday, 10 October 2015 04:40:27 UTC+5:30, Steven D'Aprano wrote: >> >> What do you mean, "recover data from a server"? What has happened to the >> server? Can it boot or is it in an unbootable state? Are the hard drives >> physic

Re: Recover data over the network

2015-10-09 Thread Michael Torrie
On 10/09/2015 08:47 PM, Arshpreet Singh wrote: > On Friday, 9 October 2015 22:51:16 UTC+5:30, Emile van Sebille wrote: > >> without extensive clues as to the nature of the data to be recovered >> you're not going to get much further with this. > > It is mostly /home partition data on disk. T

Re: Recover data over the network

2015-10-09 Thread Emile van Sebille
On 10/9/2015 7:47 PM, Arshpreet Singh wrote: On Friday, 9 October 2015 22:51:16 UTC+5:30, Emile van Sebille wrote: without extensive clues as to the nature of the data to be recovered you're not going to get much further with this. It is mostly /home partition data on disk. Those are user Co

Re: Recover data over the network

2015-10-09 Thread Arshpreet Singh
On Friday, 9 October 2015 22:51:16 UTC+5:30, Emile van Sebille wrote: > without extensive clues as to the nature of the data to be recovered > you're not going to get much further with this. It is mostly /home partition data on disk. Those are user Configuration files.(user accounts, settin

Re: Recover data over the network

2015-10-09 Thread Arshpreet Singh
On Saturday, 10 October 2015 04:40:27 UTC+5:30, Steven D'Aprano wrote: > What do you mean, "recover data from a server"? What has happened to the > server? Can it boot or is it in an unbootable state? Are the hard drives > physically damaged? What sort of hard drives? (Solid state, or magnetic >

Re: Recover data over the network

2015-10-09 Thread Arshpreet Singh
On Saturday, 10 October 2015 04:40:27 UTC+5:30, Steven D'Aprano wrote: > What do you mean, "recover data from a server"? What has happened to the > server? Can it boot or is it in an unbootable state? Are the hard drives > physically damaged? What sort of hard drives? (Solid state, or magnetic >

Re: win32com.client .Cells

2015-10-09 Thread Irmen de Jong
On 9-10-2015 20:45, gall.pavgal.g...@gmail.com wrote: > Hi Guys, > > i wrote small function : > > Excel = win32com.client.Dispatch("Excel.Application") [...] > com_error: (-2147221008, 'CoInitialize has not been called.', None, None) > > Please, help me! :) > First hit on google when search

Re: Recover data over the network

2015-10-09 Thread Steven D'Aprano
On Sat, 10 Oct 2015 04:12 am, Arshpreet Singh wrote: > Hello Python and People! > > I want to write a small Python application which will be able to 1.recover > data from server and 2.send it to another server. What do you mean, "recover data from a server"? What has happened to the server? Can

Re: Script To Remove Files Made Either By Python Or Git

2015-10-09 Thread Mark Lawrence
On 09/10/2015 16:44, Jason Swails wrote: On Fri, Oct 9, 2015 at 6:08 AM, Joshua Stokes mailto:joshua.sto...@icloud.com>> wrote: Hi Is there an available script to remove file created by either using the Python module or by using git? ​There's always this nugget: git clean -fxd

Re: Errors installing xmiparser with Python 3.4 and windows - any help?

2015-10-09 Thread Mark Lawrence
On 09/10/2015 18:24, Gary Hanyzewski wrote: I am trying to install xmiparser-1.5.dev-r124826 into python 3.4.0 on a windows machine. When I try and install (either with pip or setup.py install) I get a number of syntax errors in the code ( below) Has anyone managed to install and use the xmipa

win32com.client .Cells

2015-10-09 Thread gall . pavgal . gall
Hi Guys, i wrote small function : Excel = win32com.client.Dispatch("Excel.Application") excel_book=Excel.Workbooks.Open('D:\WebPython\Config3.xlsx') s_config=excel_book.Worksheets('VA Prices') def writtenCell(row,col,value): try: global s_config print "row --

Re: Script To Remove Files Made Either By Python Or Git

2015-10-09 Thread Tim Chase
On 2015-10-09 14:01, Grant Edwards wrote: > > Is there an available script to remove file created by either > > using the Python module or by using git? > > Yes. Execute the following at the bash prompt: > > $ rm $(find . ) If you've got GNU find, you can just $ find . -type f {find-options-

Re: Errors installing xmiparser with Python 3.4 and windows - any help?

2015-10-09 Thread Zachary Ware
On Fri, Oct 9, 2015 at 12:47 PM, Laura Creighton wrote: > In a message of Fri, 09 Oct 2015 10:24:34 -0700, Gary Hanyzewski writes: >>I am trying to install xmiparser-1.5.dev-r124826 into python 3.4.0 on a >>windows machine. >>When I try and install (either with pip or setup.py install) I get a nu

Re: Errors installing xmiparser with Python 3.4 and windows - any help?

2015-10-09 Thread Laura Creighton
In a message of Fri, 09 Oct 2015 10:24:34 -0700, Gary Hanyzewski writes: >I am trying to install xmiparser-1.5.dev-r124826 into python 3.4.0 on a >windows machine. >When I try and install (either with pip or setup.py install) I get a number of >syntax errors in the code ( below) > >Has anyone ma

Re: Errors installing xmiparser with Python 3.4 and windows - any help?

2015-10-09 Thread Laura Creighton
In a message of Fri, 09 Oct 2015 10:24:34 -0700, Gary Hanyzewski writes: >I am trying to install xmiparser-1.5.dev-r124826 into python 3.4.0 on a >windows machine. >When I try and install (either with pip or setup.py install) I get a number of >syntax errors in the code ( below) > >Has anyone ma

Errors installing xmiparser with Python 3.4 and windows - any help?

2015-10-09 Thread Gary Hanyzewski
I am trying to install xmiparser-1.5.dev-r124826 into python 3.4.0 on a windows machine. When I try and install (either with pip or setup.py install) I get a number of syntax errors in the code ( below) Has anyone managed to install and use the xmiparser module in python 3.4? If so what's the

Re: Recover data over the network

2015-10-09 Thread Emile van Sebille
On 10/9/2015 10:12 AM, Arshpreet Singh wrote: Hello Python and People! I want to write a small Python application which will be able to 1.recover data from server and 2.send it to another server. For the 2nd part I can use scp(secure copy), Please let me know if any data-recovery library is a

Recover data over the network

2015-10-09 Thread Arshpreet Singh
Hello Python and People! I want to write a small Python application which will be able to 1.recover data from server and 2.send it to another server. For the 2nd part I can use scp(secure copy), Please let me know if any data-recovery library is available in Python to do 1st task. -- https://m

Re: Script To Remove Files Made Either By Python Or Git

2015-10-09 Thread Laura Creighton
In a message of Fri, 09 Oct 2015 21:08:22 +1100, Joshua Stokes writes: >Hi > >Is there an available script to remove file created by either using the Python >module or by using git? > >Thanks > >>From Joshua P Stokes No. A file is a file. It doesn't know which program created it. I can use pyth

Re: Script To Remove Files Made Either By Python Or Git

2015-10-09 Thread Grant Edwards
On 2015-10-09, Marko Rauhamaa wrote: >>> $ rm $(find . ) > > This is not safe since find might return pathnames with spaces in > them. Good point. > Also, the command fails if find should produce no matches. I just tried, it with a pattern that produced no matches, and it removed no files. Th

Re: Script To Remove Files Made Either By Python Or Git

2015-10-09 Thread Jason Swails
On Fri, Oct 9, 2015 at 6:08 AM, Joshua Stokes wrote: > Hi > > Is there an available script to remove file created by either using the > Python module or by using git? > ​There's always this nugget: git clean -fxd This will get rid of *all* untracked files in the current directory of a git repo

Re: IPython Notebooks to Learn Python

2015-10-09 Thread Rémi Rampin
2015-10-08 13:49 EDT, Rajath Kumar : > I have written IPython Notebooks to learn Python interactively. I have > covered all the basic concepts and it is everything one needs to get > started with the language. > > Do check it out : https://github.com/rajathkumarmp/Python-Lectures > I only went ov

Re: Using pipe in a system call

2015-10-09 Thread Cecil Westerhof
On Friday 9 Oct 2015 15:12 CEST, Peter Otten wrote: > Dennis Lee Bieber wrote: > >> On Fri, 09 Oct 2015 08:56:18 +0200, Cecil Westerhof >> declaimed the following: >> >>> My bad, I intended to mention that ORDER BY gives the wrong order >>> (é comes after z and with sort it comes after e), so th

Re: Script To Remove Files Made Either By Python Or Git

2015-10-09 Thread Marko Rauhamaa
Chris Angelico : > On Sat, Oct 10, 2015 at 1:01 AM, Grant Edwards > wrote: >> $ rm $(find . ) This is not safe since find might return pathnames with spaces in them. Also, the command fails if find should produce no matches. > Or if you're using GNU find: > > $ find -delete This is safe. M

Re: Script To Remove Files Made Either By Python Or Git

2015-10-09 Thread Chris Angelico
On Sat, Oct 10, 2015 at 1:01 AM, Grant Edwards wrote: > Yes. Execute the following at the bash prompt: > > $ rm $(find . ) Or if you're using GNU find: $ find -delete ChrisA -- https://mail.python.org/mailman/listinfo/python-list

Re: Script To Remove Files Made Either By Python Or Git

2015-10-09 Thread Grant Edwards
On 2015-10-09, Joshua Stokes wrote: > Is there an available script to remove file created by either using > the Python module or by using git? Yes. Execute the following at the bash prompt: $ rm $(find . ) -- Grant Edwards grant.b.edwardsYow! Four thousand

Re: Script To Remove Files Made Either By Python Or Git

2015-10-09 Thread Chris Warrick
On 9 October 2015 at 12:08, Joshua Stokes wrote: > Hi > > Is there an available script to remove file created by either using the > Python module or by using git? There’s no such script, but we could help you write one. Now, what “Python module” do you mean? Unless it’s a git module, it’s impo

Re: Script To Remove Files Made Either By Python Or Git

2015-10-09 Thread Chris Angelico
On Fri, Oct 9, 2015 at 9:08 PM, Joshua Stokes wrote: > Hi > > Is there an available script to remove file created by either using the > Python module or by using git? > > Thanks I asked my advice device, and it said: Ask again later. Unsatisfied, I reworded the question, and asked again. It re

Re: Using pipe in a system call

2015-10-09 Thread Peter Otten
Dennis Lee Bieber wrote: > On Fri, 09 Oct 2015 08:56:18 +0200, Cecil Westerhof > declaimed the following: > >>My bad, I intended to mention that ORDER BY gives the wrong order (é >>comes after z and with sort it comes after e), so that is why I use >>the external sort command. >> > My books show

Re: change data in large excel file(more than 240 000 rows on sheet)

2015-10-09 Thread alister
On Fri, 09 Oct 2015 01:21:37 -0700, gall.pavgal.gall wrote: > Thanks Laura! > But i need to change existing excel file and if i use the optimised > reader, i can read data only, but i can't change data. I know it does not help but if you have this amount of data being stored in a spreadsheet you

Script To Remove Files Made Either By Python Or Git

2015-10-09 Thread Joshua Stokes
Hi Is there an available script to remove file created by either using the Python module or by using git? Thanks >From Joshua P Stokes -- https://mail.python.org/mailman/listinfo/python-list

Re: change data in large excel file(more than 240 000 rows on sheet)

2015-10-09 Thread harirammanohar159
On Wednesday, 7 October 2015 19:44:12 UTC+5:30, gall.pav...@gmail.com wrote: > Hi Guys, > I need to change data in large excel file(more than 240 000 rows on sheet), > it's possible through win32com.client, but i need use Linux OS ... > Please, could you advise some-thing suitable! > > best rega

Re: change data in large excel file(more than 240 000 rows on sheet)

2015-10-09 Thread Laura Creighton
In a message of Fri, 09 Oct 2015 01:21:37 -0700, gall.pavgal.g...@gmail.com wri tes: >Thanks Laura! >But i need to change existing excel file and if i use the optimised reader, i >can read data only, but i can't change data. Hmmm. When I have this problem I have other problems as well, and the

Re: reg multiple login python

2015-10-09 Thread harirammanohar159
On Thursday, 1 October 2015 12:35:01 UTC+5:30, hariramm...@gmail.com wrote: > Hi All, > > Is there anyway i can login to remote servers at once and do the activity, i > can do one by one using for loop.. > > Thanks in advance. any way is there ??? -- https://mail.python.org/mailman/listinfo/p

Re: change data in large excel file(more than 240 000 rows on sheet)

2015-10-09 Thread gall . pavgal . gall
Thanks Laura! But i need to change existing excel file and if i use the optimised reader, i can read data only, but i can't change data. -- https://mail.python.org/mailman/listinfo/python-list

Re: Is there a Windows Python SIG?

2015-10-09 Thread Chris Angelico
On Fri, Oct 9, 2015 at 1:41 PM, Christopher Reimer wrote: > On 10/7/2015 10:49 PM, Chris Angelico wrote: >> >> Awesome! Contributors are always welcome. > > > On a YouTube video from PyCon 2015, I think someone mentioned the need for > more people to look at Python on Windows. Does this mean that

Re: can't install Python 3.5 on windows

2015-10-09 Thread Oscar Benjamin
On Fri, 9 Oct 2015 08:48 Jay Brown wrote: Dear Python: I have been trying to install Python on my Windows computer. I tried both Python 2.7 and 3.5. No luck with either one. If I try to run Python I get a message asking me if I want to repair Python. The program never runs. Can you help? Hi

Re: Is there a Windows Python SIG?

2015-10-09 Thread Tim Golden
On 09/10/2015 03:41, Christopher Reimer wrote: > On 10/7/2015 10:49 PM, Chris Angelico wrote: >> Awesome! Contributors are always welcome. > > On a YouTube video from PyCon 2015, I think someone mentioned the need > for more people to look at Python on Windows. Does this mean that Python > on Linu

Re: can't install Python 3.5 on windows

2015-10-09 Thread alister
On Thu, 08 Oct 2015 13:01:24 -0400, Jay Brown wrote: > Dear Python: > > I have been trying to install Python on my Windows computer. I tried > both Python 2.7 and 3.5. No luck with either one. If I try to run Python > I get a message asking me if I want to repair Python. The program never > runs.

can't install Python 3.5 on windows

2015-10-09 Thread Jay Brown
Dear Python: I have been trying to install Python on my Windows computer. I tried both Python 2.7 and 3.5. No luck with either one. If I try to run Python I get a message asking me if I want to repair Python. The program never runs. Can you help? -Jay Brown Jay C. Brown Department of Micr

Re: Is there a Windows Python SIG?

2015-10-09 Thread Christopher Reimer
On 10/7/2015 10:49 PM, Chris Angelico wrote: Awesome! Contributors are always welcome. On a YouTube video from PyCon 2015, I think someone mentioned the need for more people to look at Python on Windows. Does this mean that Python on Linux and/or Mac get more love than Python on Windows? I

Re: Using pipe in a system call

2015-10-09 Thread Chris Angelico
On Fri, Oct 9, 2015 at 5:56 PM, Cecil Westerhof wrote: > My bad, I intended to mention that ORDER BY gives the wrong order (é > comes after z and with sort it comes after e), so that is why I use > the external sort command. Can you configure SQLite's locale? That ought to resolve that. Failing t

Re: Using pipe in a system call

2015-10-09 Thread Cecil Westerhof
On Friday 9 Oct 2015 02:11 CEST, Dennis Lee Bieber wrote: > On Fri, 09 Oct 2015 00:03:36 +0200, Cecil Westerhof > declaimed the following: > >> I want to do the following Bash command in Python: sqlite3 >> spreekwoorden.sqlite "SELECT spreekwoord FROM spreekwoorden;" | >> sort > spreekwoorden2.t

Re: Using pipe in a system call

2015-10-09 Thread Cecil Westerhof
On Friday 9 Oct 2015 00:26 CEST, Ian Kelly wrote: > On Thu, Oct 8, 2015 at 4:03 PM, Cecil Westerhof wrote: >> I want to do the following Bash command in Python: sqlite3 >> spreekwoorden.sqlite "SELECT spreekwoord FROM spreekwoorden;" | >> sort > spreekwoorden2.txt >> >> The following does this i