Everything is here.
"if not now, then when If not you, then who" Anyone can succeed in their life. This is your friend Ranjith and a useful info please visit www.tiketin.blogspot.com. You can get everything here. A to Z available here on your pc. Visit www.tiketin.blogspot.com -- http://mail.python.org/mailman/listinfo/python-list
Any speech to text conversation python library for Linux and mac box
Hello all, I'm looking for speech to text conversation python library for linux and mac box, I found few libraries but non of them supports any of these platform. I found following libraries speech, dragonfly and pyspeech supports only windows and sphinx for linux. Any suggestion? -- Cheers, Ranjith Kumar K, Chennai. http://ranjithtenz.wordpress.com -- http://mail.python.org/mailman/listinfo/python-list
Pymongo Error
Hi all,
I tried Django with Mongodb while running manage.py syncdb I endup with
this error
note : it works fine with sqlite and mysql db
(django-1.3)ranjith@ranjith:~/
sandbox/python-box/hukkster-core-site/hukk$ ./manage.py syncdb
/home/ranjith/virtualenvs/django-1.3/local/lib/python2.7/site-packages/pymongo/connection.py:385:
UserWarning: must provide a username and password to authenticate to
hukkster_testing
"to authenticate to %s" % (db,))
Creating tables ...
Traceback (most recent call last):
File "./manage.py", line 14, in
execute_manager(settings)
File
"/home/ranjith/virtualenvs/django-1.3/local/lib/python2.7/site-packages/django/core/management/__init__.py",
line 438, in execute_manager
utility.execute()
File
"/home/ranjith/virtualenvs/django-1.3/local/lib/python2.7/site-packages/django/core/management/__init__.py",
line 379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File
"/home/ranjith/virtualenvs/django-1.3/local/lib/python2.7/site-packages/django/core/management/base.py",
line 191, in run_from_argv
self.execute(*args, **options.__dict__)
File
"/home/ranjith/virtualenvs/django-1.3/local/lib/python2.7/site-packages/django/core/management/base.py",
line 220, in execute
output = self.handle(*args, **options)
File
"/home/ranjith/virtualenvs/django-1.3/local/lib/python2.7/site-packages/django/core/management/base.py",
line 351, in handle
return self.handle_noargs(**options)
File
"/home/ranjith/virtualenvs/django-1.3/local/lib/python2.7/site-packages/django/core/management/commands/syncdb.py",
line 109, in handle_noargs
emit_post_sync_signal(created_models, verbosity, interactive, db)
File
"/home/ranjith/virtualenvs/django-1.3/local/lib/python2.7/site-packages/django/core/management/sql.py",
line 190, in emit_post_sync_signal
interactive=interactive, db=db)
File
"/home/ranjith/virtualenvs/django-1.3/local/lib/python2.7/site-packages/django/dispatch/dispatcher.py",
line 172, in send
response = receiver(signal=self, sender=sender, **named)
File
"/home/ranjith/virtualenvs/django-1.3/local/lib/python2.7/site-packages/django/contrib/auth/management/__init__.py",
line 41, in create_permissions
"content_type", "codename"
File
"/home/ranjith/virtualenvs/django-1.3/local/lib/python2.7/site-packages/django/db/models/query.py",
line 107, in _result_iter
self._fill_cache()
File
"/home/ranjith/virtualenvs/django-1.3/local/lib/python2.7/site-packages/django/db/models/query.py",
line 772, in _fill_cache
self._result_cache.append(self._iter.next())
File
"/home/ranjith/virtualenvs/django-1.3/local/lib/python2.7/site-packages/django/db/models/query.py",
line 959, in iterator
for row in self.query.get_compiler(self.db).results_iter():
File
"/home/ranjith/virtualenvs/django-1.3/local/lib/python2.7/site-packages/djangotoolbox/db/basecompiler.py",
line 229, in results_iter
for entity in self.build_query(fields).fetch(low_mark, high_mark):
File
"/home/ranjith/virtualenvs/django-1.3/local/lib/python2.7/site-packages/djangotoolbox/db/basecompiler.py",
line 290, in build_query
query.order_by(self._get_ordering())
File
"/home/ranjith/virtualenvs/django-1.3/local/lib/python2.7/site-packages/djangotoolbox/db/basecompiler.py",
line 339, in _get_ordering
raise DatabaseError("Ordering can't span tables on non-relational
backends (%s)" % order)
django.db.utils.DatabaseError: Ordering can't span tables on non-relational
backends (content_type__app_label)
DB settings in settings.py
DATABASES = {
'default': {
'ENGINE': 'django_mongodb_engine',
'NAME': 'helloworld',
'USER': '',
'PASSWORD': '12424214',
'HOST': 'mongodb://staff.mongohq.com/',
'PORT': 'X',
},
}
my requirement packages,
Django==1.3
dictshield==0.4.4
django-mongodb-engine==0.4.0
django-social-auth==0.6.9
djangotoolbox==0.0.1
httplib2==0.7.4
mongoengine==0.6.10
mongokit==0.8
oauth2==1.5.211
pymongo==2.2
python-openid==2.2.5
simplejson==2.5.2
wsgiref==0.1.2
Please point me what i missed here...
--
Cheers,
Ranjith Kumar K,
Chennai.
http://ranjithtenz.wordpress.com
--
http://mail.python.org/mailman/listinfo/python-list
NLP
Hi all, Can anyone suggest me any best Natural Language Processing in python other than nltk. -- Cheers, Ranjith Kumar K, Chennai. http://ranjithtenz.wordpress.com -- http://mail.python.org/mailman/listinfo/python-list
Design a function that finds all positive numbers
A numeric array of length 'N' is given. you need to design a function that finds all positive numbers in the array that have their opposites in it swell. give the approach for solving the optimal average or best case performance. answer will be your obsolute. Array: -7,4,-3, 2, 2, -8, -2, 3, 3, 7, -2, 3, -2 sorted: -2, -2, -2 ,2 ,2, -3, 3, 3, 4, -7, 7, -8? can I solve any problems like this by learning python? if anybody knows this answer or any mistakes in this question, please explain to me in detail? I wanna practice more problems like this thank you. -- https://mail.python.org/mailman/listinfo/python-list
Openings for Release Management
Position: Build and Release Engineer Experience Required: 2 - 7 yrs Qualification: B.E/M.E/M.C.A/B.Tech Skills Required: 1) Working experience in distributed version control system like Mercurial / Bazar / GIT or Subversion 2) Experience in RBuilder 3) Working experience in creating software appliance. 4) Experience in Python 5) Working experience in Ant / Maven 6) Should posses good communication skills: excellent English, both written and spoken is a must. 7) High level of professionalism The Release Engineer function has the following key areas of responsibility: 1) Continuous improvement of Release processes, methodologies and tools to ensure best quality for both product lines: Community Edition and Professional Edition. 2) Track and support the whole Release cycle, coordinating teams involved in the Release processes: engineering, QA, Beta Testers and Community. 3) Keep people informed about status, contents, dates, etc. 4) Support Senior Management to define the guidelines of whole release product strategy. -- http://mail.python.org/mailman/listinfo/python-list
Openings for Release Management
Position: Build and Release Engineer Experience Required: 2 - 7 yrs Qualification: B.E/M.E/M.C.A/B.Tech Skills Required: 1) Working experience in distributed version control system like Mercurial / Bazar / GIT or Subversion 2) Experience in RBuilder 3) Working experience in creating software appliance. 4) Experience in Python 5) Working experience in Ant / Maven 6) Should posses good communication skills: excellent English, both written and spoken is a must. 7) High level of professionalism The Release Engineer function has the following key areas of responsibility: 1) Continuous improvement of Release processes, methodologies and tools to ensure best quality for both product lines: Community Edition and Professional Edition. 2) Track and support the whole Release cycle, coordinating teams involved in the Release processes: engineering, QA, Beta Testers and Community. 3) Keep people informed about status, contents, dates, etc. 4) Support Senior Management to define the guidelines of whole release product strategy. -- http://mail.python.org/mailman/listinfo/python-list
Openings for Release Management
Position: Build and Release Engineer Experience Required: 2 - 7 yrs Qualification: B.E/M.E/M.C.A/B.Tech Skills Required: 1) Working experience in distributed version control system like Mercurial / Bazar / GIT or Subversion 2) Experience in RBuilder 3) Working experience in creating software appliance. 4) Experience in Python 5) Working experience in Ant / Maven 6) Should posses good communication skills: excellent English, both written and spoken is a must. 7) High level of professionalism The Release Engineer function has the following key areas of responsibility: 1) Continuous improvement of Release processes, methodologies and tools to ensure best quality for both product lines: Community Edition and Professional Edition. 2) Track and support the whole Release cycle, coordinating teams involved in the Release processes: engineering, QA, Beta Testers and Community. 3) Keep people informed about status, contents, dates, etc. 4) Support Senior Management to define the guidelines of whole release product strategy. -- http://mail.python.org/mailman/listinfo/python-list
how to install all python plugins
Hi! I`m using ubuntu 10.04 I want to install all the python plugins at once or the python plugins list. thank you in advance -- Cheers Ranjith, http://ranjith10z.wordpress.com -- http://mail.python.org/mailman/listinfo/python-list
Python script to start, restart and stop the apache server
Hi,
I planned to write a python script to starts the apache server and when
the HTTPD goes down/drop it should auto restart and when user chooses stop
it should stop the apache server.
Here the start and stop should be user set but the restart when the server
goes down.
Similar to this program,
This is shell script,
#!/bin/bash
# Apache Process Monitor
# Restart Apache Web Server When It Goes Down
# -
# Copyright (c) 2003 nixCraft project <http://cyberciti.biz/fb/>
# This script is licensed under GNU GPL version 2.0 or above
# -
# This script is part of nixCraft shell script collection (NSSC)
# Visit http://bash.cyberciti.biz/ for more information.
# -
# RHEL / CentOS / Fedora Linux restart command
RESTART="/sbin/service httpd restart"
# uncomment if you are using Debian / Ubuntu Linux
#RESTART="/etc/init.d/apache2 restart"
#path to pgrep command
PGREP="/usr/bin/pgrep"
# Httpd daemon name,
# Under RHEL/CentOS/Fedora it is httpd
# Under Debian 4.x it is apache2
HTTPD="httpd"
# find httpd pid
$PGREP ${HTTPD}
if [ $? -ne 0 ] # if apache not running
then
# restart apache
$RESTART
fi
Johan Grönqvist and Daniel Fetchinson thanks for your reply.
--
Cheers
Ranjith,
http://ranjith10z.wordpress.com
--
http://mail.python.org/mailman/listinfo/python-list
How to pass the shell in Python
Hi Folks, Can anyone tell me how to run shell commands using python script. -- Cheers Ranjith, http://ranjith10z.wordpress.com -- http://mail.python.org/mailman/listinfo/python-list
Need a mentor
Hi all, I`m doing a python based project, I need a mentor who can guide me and help me to complete the project. the idea is fully based upon application programming. What I want is just suggest me how to implement so that I write the code and send it back to you. And there you can check the codes and find the better solution or giving me some other ideas so that we can optimize the code and bring a better solution. I`m glad to work on python if anyone interested in this please kindly let me know it. Awaiting for your reply. -- Cheers Ranjith, http://ranjith10z.wordpress.com http://ranjithtenz.wordpress.com -- http://mail.python.org/mailman/listinfo/python-list
Re:Need mentor
Hi all, I have described the theme of my project here, When the script is runned a configuring window has to be displayed where the user has to configure for there desired Web Browser, Audio Player, Video Player, Text Editor (Each Specified in separate SS Tab). Here the script should retrieve all installed Web Browser, Audio Player, Video Player and Text Editor and categorized and displayed in their corresponding tab`s. Here the user has to choose and set their preferred Web Browser, Video Player, Audio Player, Text Editor and update the configure file. note 1: configuring window should run automatically only first if the user wants to reconfigure the file again they should run configuring module alone note 2: This script is to start it on every login and stay running on background until i shut download the machine. For an example, this is complete real time behavior of the script. Let us consider I`m the user I downloaded the script and runned it, It should check for a configuring file if there is no configure file is created means it should automatically create a new configure file and displays a configuring window in that window I will be offered by whatever the web browsers, audio player, video player, text editor installed on my machine will has to be shown to me in their corresponding tab`s I have to set my desired web browser if I choose chrome has my prefered web browser and whenever I press the key "w" on desktop screen the chrome browser should be opened, I have to set my desired Audio player if I choose exaile has my preferred audio player and whenever I press the key "a" on desktop screen the Exaile audio player should be opened,I have to set my desired video player if I choose vlc has my prefered video player and whenever I press the key "v" on desktop screen the vlc player should be opened, I have to set my desired text editor if I choose gedit has my prefered text editor and whenever I press the key "t" on desktop screen the Gedit text editor should be opened, this just like creating hotkeys and all these configured details should be updated when I click on apply and exits the configuring windows and runs the script at the desktop background while i`m in desktop when i just hit "w" chrome browser should opened -- Cheers Ranjith, http://ranjith10z.wordpress.com http://ranjithtenz.wordpress.com -- http://mail.python.org/mailman/listinfo/python-list
Re: Python-list Digest, Vol 83, Issue 103
Hi Terry, > -- Forwarded message -- > From: Terry Reedy > To: [email protected] > Date: Mon, 09 Aug 2010 13:15:24 -0400 > Subject: Re: Need mentor > On 8/9/2010 2:31 AM, Ranjith Kumar wrote: > >> I have described the theme of my project here, >> > > Is this a class assignment or paid work? > I want to gain some scripting knowledge, so I asked my College senior student how to improvise the scripting knowledge he suggested me to start a new project and he himself gave me this idea. Its not paid work I just want to learn something. What i want my mentor to do is by suggesting me how to improve the coding standards and adding up some other features. Thanks for ur concerned Terry reedy. Awaiting for ur reply. -- Cheers Ranjith, http://ranjith10z.wordpress.com http://ranjithtenz.wordpress.com -- http://mail.python.org/mailman/listinfo/python-list
Re: Need mentor
Hi Carey, -- Forwarded message -- From: Carey Tilden To: [email protected] Date: Mon, 9 Aug 2010 11:27:40 -0700 Subject: Re: Need mentor On Sun, Aug 8, 2010 at 11:31 PM, Ranjith Kumar wrote: > I have described the theme of my project here, >>It appears all you did was describe your project. Did you ask a question or seek any specific guidance? Did I miss something? I just seeking for guidance so i could come up with better result like adding new features and improve the coding style. Thats all why I described my project completely so anyone could guide me. I have three questions, 1) When the user logins into system the script should automatically starts running and only terminates the script when the user shut down or log out the system. 2) How to make the script running at the background(on the desktop)? 3) How to get the installed web browser`s list from a system and print it? Thanks in advance -- Cheers Ranjith, http://ranjith10z.wordpress.com http://ranjithtenz.wordpress.com -- http://mail.python.org/mailman/listinfo/python-list
An interesting python problem using Zope 2.7.3
Greetings!!! I ran the following simple string commands in Linux + Python and the results are: [EMAIL PROTECTED] root]# python Python 2.2.2 (#1, Feb 24 2003, 19:13:11) [GCC 3.2.2 20030222 (Red Hat Linux 3.2.2-4)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> "A" 'A' >>> "A/" 'A/' >>> "A" 'A' >>> Now when the same is run from Zope273 + python + Linux or windows, the results are, 1. 'A' 2. A/ 3. A respectively. Any suggestions? thanx -- http://mail.python.org/mailman/listinfo/python-list
