Re: psss...I want to move from Perl to Python

2016-02-02 Thread paul.hermeneutic
On Jan 29, 2016 6:51 AM, "Dennis Lee Bieber" wrote: > > http://www.barnesandnoble.com/w/perl-to-python-migration-martin-c-brown/1004847881?ean=9780201734881 Given that this was published in 2001, surely it is time for a second edition. --

Re: "x == None" vs "x is None"

2016-01-17 Thread paul.hermeneutic
I prefer (x is None) and (x is not None). This matches the SQL concept of NULL. (X = NULL) is not valid since NULL is not a value and cannot be compared with anything. -- https://mail.python.org/mailman/listinfo/python-list

Re: Stop writing Python 4 incompatible code

2016-01-14 Thread paul.hermeneutic
I am confident that in a few years there will be sufficient new developments in language design that some degree of backward compatibility would be worth dropping in order to provide greater capabilities. If it needs to fork and become another language, that's OK. --

Re:

2016-01-09 Thread paul.hermeneutic
On Jan 9, 2016 7:56 AM, "tommy roberts" wrote: > > It will not allow my to run python 3.5.1 Python 3.4 is the last version that will run on Windows XP. If this is not your problem, please provide more information. -- https://mail.python.org/mailman/listinfo/python-list

RE: Windows 10 and PYODBC

2015-12-16 Thread paul.hermeneutic
On Dec 15, 2015 1:32 PM, "William Abdo" wrote: > > issue 25875 created > I put it in the wrong area the first time. > First time bug tracker user errors. My apologies, William. I thought bugs.python.org would be the right place to put it. I was wrong. --

RE: Windows 10 and PYODBC

2015-12-15 Thread paul.hermeneutic
On Dec 15, 2015 9:22 AM, "William Abdo" wrote: > > So I started a search for an Oracle based ODBC client since PYODBC is still working with the Microsoft DB’s, I tried cx_Oracle and it worked perfectly after I managed to get the parameters correct on the call, It sounds like

RE: Windows 10 and PYODBC

2015-12-15 Thread paul.hermeneutic
On Dec 15, 2015 12:00 PM, "William Abdo" wrote: > > As you wish, > > [issue577] PYODBC will not talk to Oracle under Windows 10. Where is this issue filed? I do not see it on http://bugs.python.org/ -- https://mail.python.org/mailman/listinfo/python-list

RE: Windows 10 and PYODBC

2015-12-15 Thread paul.hermeneutic
On Dec 15, 2015 10:34 AM, "William Abdo" wrote: > > Yes Paul Hermeneutic , that is correct. > > I tried everything I could however, I was unable to make PYODBC talk to Oracle under Windows 10. It would be of help to everyone if you would file a bug report on the issue

RE: Windows 10 and PYODBC

2015-12-15 Thread paul.hermeneutic
On Dec 13, 2015 7:20 AM, "William Abdo" wrote: > > Problem Resolved. > I have fixed the Oracle connection issue under Windows 10 with cx_Oracle . > PYODBC was only failing on the Oracle connection and worked fine on MS SQL under Windows 10. Please tell us what the fix is.

Re: fexit: file transfer of ANY size

2015-11-27 Thread paul.hermeneutic
> And what is F*EX? > ==> Frams' Fast File EXchange, a service for transfering files of ANY size > from any user A to any user B in the internet. > For details see: http://fex.rus.uni-stuttgart.de/ > > I am now looking for beta testers. If you are interested, send me a mail. Can you tell us a git

Re: What meaning is of '#!python'?

2015-11-15 Thread paul.hermeneutic
The installer of some applications will replace the shebang to refer to a specific version of Python. By doing so, it avoids problems when someone upgrades the default Python version in the PATH. On Nov 14, 2015 11:00 PM, "eryksun" wrote: > On Sat, Nov 14, 2015 at 8:26 PM,

Re: new to python, help please !!

2015-11-12 Thread paul.hermeneutic
Would some form of subprocess.Popen() on cmp or fc /b be easier? On Nov 12, 2015 7:13 AM, "Tim Chase" wrote: > On 2015-11-12 08:21, Marko Rauhamaa wrote: > > And if you really wanted to compare two files that are known to > > contain MD5 checksums, the simplest way

Re: Python 2 vs Python 3 for teaching

2015-11-01 Thread paul.hermeneutic
On Nov 1, 2015 2:45 AM, "Chris Angelico" wrote: > > I'm proud to say that a Python tutoring company has just converted its > course over from teaching Python 2.7 to teaching 3.x. For the > naysayers out there, it actually wasn't much of a transition; This would make an

Re: Execute Python Scripts

2015-10-14 Thread paul.hermeneutic
> Where do I find the "command line" ? Welcome to Python. Starting a command shell depends on which operating system you are running. If you are on Microsoft Windows, choose the Start button, then type "cmd" into the edit control, then press Enter. --

Re: Installed 3.5.0 successfully on Windows 10, but where is DDLs, Doc, Lib, etc?

2015-10-14 Thread paul.hermeneutic
> Where can I find that folder? Or can I just ignore it for now (and get the documentation elsewhere)? If the install was done for "all users" on the machine, then the Python installation directory will be under " %SystemRoot%\Program Files\" for 64-bit or "%SystemRoot%\Program Files (x86)\" for

Re: request

2015-10-13 Thread paul.hermeneutic
On Oct 13, 2015 1:16 PM, "Uday Pethakamsetty" wrote: > The problem is that when I installed python 3.5, all the pip installs are directing to python 3.5, instead of my native python 2.7. > Probably, this is because the Python 3 directories appears first in the PATH

Re: Installation problem

2015-10-08 Thread paul.hermeneutic
On Oct 8, 2015 7:31 AM, "MICHAEL" wrote: > > Hello, > > Please forgive a new user's ignorance. > > I am trying to install Python 3.5.0 on my laptop (Windows 10). The default installation directory is shown as c:\Users\(my user name)\AppData\Local\Programs\Python\Python35-32.

Re: Newbie: Designer Looking to Build Graphics Editor (PS/AI)

2015-10-02 Thread paul.hermeneutic
On Oct 2, 2015 12:31 PM, "Kenneth L" wrote: > I'm not sure about the plugin route. I'm not looking to build a plug, lol. Just a finger to point me where to go/start. Writing a plug-in for an existing open source project would be a good starting point to see how others have

Re: reg multiple login python

2015-10-01 Thread paul.hermeneutic
On Oct 1, 2015 1:06 AM, 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.. > If you want to start them all at the same time, look into subprocess and popen. --

Re: The Nikola project is deprecating Python 2.7 (+2.x/3.x user survey results)

2015-10-01 Thread paul.hermeneutic
Python 3 has venv in the kit. Is there a reason users should get the virtualenv add-on? On Oct 1, 2015 10:28 AM, "Chris Warrick" wrote: > The Nikola developers decided to deprecate Python 2.7 support. > Starting with v7.7.2, Nikola will display a warning if Python 2.7 is >

Re: Idiosyncratic python

2015-09-24 Thread paul.hermeneutic
> A lot of our in base weird python comes from heavily C-wired people: > > The classic > for i in range(len(alist)): > print alist[i] > > with its twin brother > > i=0 > while i < len(alist): > print alist[i] > i += 1 > > And the even more annoying > > result = Result() > getResult(result) >

Re: Python, convert an integer into an index?

2015-09-24 Thread paul.hermeneutic
>> I'm suprised. Why not just: >> >> list(str(results)) >> >> In other words, is there something else the list constructor should do >> with a string other than convert it to a list? >> > The OP wanted the result to be a list of ints, not a list of strings. [int(x) for x in list(str(results))] --

Re: Python, convert an integer into an index?

2015-09-24 Thread paul.hermeneutic
Good idea. >>> [int(x) for x in str(results)] [1, 2, 3] -- https://mail.python.org/mailman/listinfo/python-list

Re: broken install?

2015-09-16 Thread paul.hermeneutic
The installer should detect that it is being run on an unsupported system and do something helpful. -- https://mail.python.org/mailman/listinfo/python-list

Re: Packaging and deployment of standalone Python applications?

2015-09-15 Thread paul.hermeneutic
This might be helpful. https://docs.python.org/3/distributing/index.html See also https://docs.python.org/3/library/venv.html?highlight=venv#module-venv Folks; coming from a server-sided Java background, I'm recently exploring frameworks such as cherrypy or webpy for building RESTful services,