Re: regex tool in the python source tree

2014-12-19 Thread Rustom Mody
On Saturday, December 20, 2014 12:01:10 PM UTC+5:30, Rustom Mody wrote: > I remember seeing here (couple of weeks ago??) a mention of a regex > debugging/editing tool hidden away in the python source tree. > > Does someone remember the name/path? > > There are of course dozens of online ones...

regex tool in the python source tree

2014-12-19 Thread Rustom Mody
I remember seeing here (couple of weeks ago??) a mention of a regex debugging/editing tool hidden away in the python source tree. Does someone remember the name/path? There are of course dozens of online ones... Looking for a python native tool -- https://mail.python.org/mailman/listinfo/python

Re: Changing script's search path at install time

2014-12-19 Thread Ben Finney
Dave Angel writes: > On 12/19/2014 05:51 PM, Mitko Haralanov wrote: > > However, when the app gets installed, I would like to install the > > modules to /usr/lib64/pythonX.Y/site-packages/myapp. I know that I > > can do this by using the "package_dir" argument to the "setup()" > > function in dis

Re: Changing script's search path at install time

2014-12-19 Thread sohcahtoa82
On Friday, December 19, 2014 6:00:15 PM UTC-8, Mitko Haralanov wrote: > Hi all, > > > I have a question regarding installation of Python scripts and modules using > distutils that I can't find an answer to by searching through Google and the > Python website. Hopefully, someone on this list mig

Re: Changing script's search path at install time

2014-12-19 Thread Dave Angel
On 12/19/2014 05:51 PM, Mitko Haralanov wrote: Hi all, I have a question regarding installation of Python scripts and modules using distutils that I can't find an answer to by searching through Google and the Python website. Hopefully, someone on this list might have ideas? I am writing a Pytho

Re: Google Maps and Python: creating a map, embedding it, adding images, videos, markers, using python

2014-12-19 Thread Daniel da Silva
Kevin, that client library looks like it is for accessing Google Maps related services, not modifying maps themselves. On Fri, Dec 19, 2014 at 1:02 AM, Kev Dwyer wrote: > Veek M wrote: > > > I'm messing with Google-Maps. Is there a way I can create a map, embed it > > on a page (CSS/HTML/Javas

code python

2014-12-19 Thread Khetam Yassen
Hello all I Have problem about , How i can compute accuracy to unigram,bigram and trigram and how i can change the size to iteration separate from 1 to 10 in each stage from iteration train take 90% and training 10%. thank you to read my message import codecs import nltk from nltk import* outfile

Changing script's search path at install time

2014-12-19 Thread Mitko Haralanov
Hi all, I have a question regarding installation of Python scripts and modules using distutils that I can't find an answer to by searching through Google and the Python website. Hopefully, someone on this list might have ideas? I am writing a Python app, which I would eventually like to install u

resource based job queue manager

2014-12-19 Thread Parthiban Ramachandran
can someone suggest a resource based job queue manager. for eg i have 3 resources and 10 jobs based on the resource busy/free we should start running the jobs. I can write the code but want to know if there is any established scheduler which can run the jobs from different servers too. -- https

Advice needed - Choosing appropriate GUI (IDE) and Data Visualization software (3D also)

2014-12-19 Thread Ivan Evstegneev
Hello guys, Here is a brief description for my question: I'm currently dealing with my EE B.Sc. final project. This projects generally relates to the SDN Optical Networks. One of its goals is to build some GUI framework based on mininet software (http://mininet.org/) Mostly, I'll need expand its

Re: newbie: installing setuptools

2014-12-19 Thread Mark Lawrence
On 19/12/2014 04:43, Surbhi Gupta wrote: Hey, I am new to python and facing problem with installing packages. I am using VPython which requires Python 2.7.x from python.org; it will not work with versions of Python other than the one from python.org. So I need to install packages separately.

Re: Bug? Feature? setattr(foo, '3', 4) works!

2014-12-19 Thread random832
On Fri, Dec 19, 2014, at 07:23, Ben Finney wrote: > Cem Karan writes: > > I'd like to suggest that getattr(), setattr(), and hasattr() all be > > modified so that syntactically invalid statements raise SyntaxErrors. > > What syntactically invalid statements? The only syntactically invalid > state

Create New Comment In Xenforo

2014-12-19 Thread hungvuongjs
Hi, https://xenforo.com/community/threads/nbsp-nbsp-nbsp-nbsp-nbsp-nbsp-nbsp-nbsp-nbsp-nbsp-nbsp-nbsp-nbsp-nbsp.3864/ i want to add new comment "thanks" to above topic It can login but can not reply topic. Here my code, please help me fix. Thanks a lot import requests with requests.session() as

Re: Bug? Feature? setattr(foo, '3', 4) works!

2014-12-19 Thread Terry Reedy
On 12/19/2014 6:40 AM, Cem Karan wrote: I'm bringing this discussion over from the python-ideas mailing list to see what people think. I accidentally discovered that the following works, at least in Python 3.4.2: class foo(object): ... pass ... setattr(foo, '3', 4) dir(foo) ['3', '__clas

Re: Bug? Feature? setattr(foo, '3', 4) works!

2014-12-19 Thread Dave Angel
On 12/19/2014 06:40 AM, Cem Karan wrote: I'm bringing this discussion over from the python-ideas mailing list to see what people think. I accidentally discovered that the following works, at least in Python 3.4.2: class foo(object): ... pass ... setattr(foo, '3', 4) dir(foo) ['3', '__c

Re: Bug? Feature? setattr(foo, '3', 4) works!

2014-12-19 Thread Ned Batchelder
On 12/19/14 6:40 AM, Cem Karan wrote: I'm bringing this discussion over from the python-ideas mailing list to see what people think. I accidentally discovered that the following works, at least in Python 3.4.2: class foo(object): ... pass ... setattr(foo, '3', 4) dir(foo) ['3', '__clas

Re: Bug? Feature? setattr(foo, '3', 4) works!

2014-12-19 Thread Ben Finney
Cem Karan writes: > However, the following doesn't work: > > >>> foo.3 > File "", line 1 >foo.3 >^ > SyntaxError: invalid syntax > >>> bar.3 > File "", line 1 >bar.3 >^ > SyntaxError: invalid syntax > > I'd like to suggest that getattr(), setattr(), and hasattr() all be

Bug? Feature? setattr(foo, '3', 4) works!

2014-12-19 Thread Cem Karan
I'm bringing this discussion over from the python-ideas mailing list to see what people think. I accidentally discovered that the following works, at least in Python 3.4.2: >>> class foo(object): ... pass ... >>> setattr(foo, '3', 4) >>> dir(foo) ['3', '__class__', '__delattr__', '__dict__'

[RELEASE] ‘python-daemon’ version 1.5.7 released

2014-12-19 Thread Ben Finney
Howdy all, I am pleased to announce the release of version 1.5.7 of the ‘python-daemon’ library. The current release is always available at https://pypi.python.org/pypi/python-daemon/>. The project's forums and VCS are hosted at Alioth https://alioth.debian.org/projects/python-daemon/>. Signif

Re: how to generate a wsdl file for a web service in python

2014-12-19 Thread brice DORA
Le jeudi 18 décembre 2014 11:46:00 UTC, Burak Arslan a écrit : > On 12/18/14 11:58, brice DORA wrote: > > hi to all I am new to python and as part of my project I would like to > > create a SOAP web service. for now I've developed my python file with all > > the methods of my future web service,

Re: newbie: installing setuptools

2014-12-19 Thread Jean-Michel Pichavant
- Original Message - > From: "Surbhi Gupta" > OK, the problem is now resolved: I just found out that we need to > install from prompt instead of IDLE. > Setuptools is installed, but I am not able to use easy_install from > prompt. It says: > easy_install : The term 'easy_install' is not re