Re: daemon thread cleanup approach

2014-05-28 Thread Cameron Simpson
On 28May2014 18:20, Carl Banks wrote: Here's the solution I came up with: in the library's init function, it will start a non-daemon thread that simply joins the main thread, and then asks all existing worker threads to exit gracefully before timing out and leaving them to be killed. So if a

Re: daemon thread cleanup approach

2014-05-28 Thread Miki Tebeka
Greetings, > Ok, so I have an issue with cleaning up threads upon a unexpected exit. What do you mean by "unexpected exit"? Uncaught exception? SIGTERM? ... > Using atexit doesn't work because it's called after the daemon threads are > killed. I don't follow. Who is killing the daemon threads?

Re: passing Python assignment value to shell

2014-05-28 Thread Cameron Simpson
On 28May2014 21:48, Satish Muthali wrote: This is what I went about doing: reecalc = [s.split() for s in os.Popen("free -ht").read().splitlines()] I think you dropped an "f" in your cut/paste. Try to be precise. freecalc_total = freecalc[4] freecalc_total = freecalc_total[3] fre

Re: Python alternative to Google Groups

2014-05-28 Thread Tim Golden
On 28/05/2014 22:54, Steven Clift wrote: If you are looking for an open source alternative between Google Groups and Mailman, I wanted to share: http://groupserver.org It has recent release and new design. Aargh. I hate it when someone does that: posts something so interesting that I wa

Re: passing Python assignment value to shell

2014-05-28 Thread Satish Muthali
Hello Experts, I was able to figure this out after spending time reading the Python help docs. This is what I went about doing: > reecalc = [s.split() for s in os.Popen("free -ht").read().splitlines()] > freecalc_total = freecalc[4] > freecalc_total = freecalc_total[3] > freecalc_total = freeca

Re: Python 3 is killing Python

2014-05-28 Thread Paul Rubin
Steven D'Aprano writes: > The Python core developers have recent committed to providing security > updates for 2.7 until 2020. And Redhat have paid support for 2.7 until > 2023. So there's no rush. Perhaps Python 4 will be out by then and the Python 2 holdouts can skip over Python 3. > - over

Re: Python 3 is killing Python

2014-05-28 Thread Steven D'Aprano
On Wed, 28 May 2014 20:41:53 -0400, Terry Reedy wrote: > Claim: Another great strength of Python 2 was that programs written in > it would almost always run on the next version of Python without much > alteration. > > True. True, but only because of the weasel-words "almost always", and "withou

Re: Python 3 is killing Python

2014-05-28 Thread Stefan Behnel
Terry Reedy, 29.05.2014 02:41: > On 5/28/2014 3:23 PM, Larry Martell wrote: >> Somthing I came across in my travels through the ether: >> >> https://medium.com/@deliciousrobots/5d2ad703365d/ > > Claim: "Python 3 languishes in disuse." > > Fact: in 2013, there were around 14 million downloads of w

Re: Python 3 is killing Python

2014-05-28 Thread Steven D'Aprano
On Wed, 28 May 2014 14:58:05 -0500, Larry Martell wrote: > On Wed, May 28, 2014 at 2:49 PM, Paul Rubin > wrote: > >> Larry Martell writes: >> > Somthing I came across in my travels through the ether: >> > [1]https://medium.com/@deliciousrobots/5d2ad703365d/ >> >> "Python 3 can revive Python" ht

Re: How to run script from interpreter?

2014-05-28 Thread Steven D'Aprano
On Wed, 28 May 2014 11:39:23 -0500, Mark H Harris wrote: > On 5/28/14 2:44 AM, onlyvin...@gmail.com wrote: >> On Friday, January 19, 2001 1:22:23 AM UTC+5:30, Rolander, Dan wrote: >>> What is the best way to run a python script from within the . >>> interpre

Programmer's text editor, for Python and everything else (was: IDE for python)

2014-05-28 Thread Ben Finney
Greg Schroeder writes: > Any gripes against vim with some tweaks? None from me; Vim is a fine programming (and programmable) editor. It is free software, like Python. This is vital for any tool in which one expects to sink an amount of effort. It means no party has privileged access to change i

Re: Forking PyPI package

2014-05-28 Thread Terry Reedy
On 5/28/2014 8:31 PM, Wiktor wrote: Hello. There's script pwdhash https://pypi.python.org/pypi/pwdhash.py/0.1.1, which I always* wanted to port to Python 3. (* - well, i.e. 6 months ;-)) I'm using this hashing algorithm quite often for years in my browser (Opera plugin), so I thought that

Re: Python 3 is killing Python

2014-05-28 Thread Terry Reedy
On 5/28/2014 3:49 PM, Paul Rubin wrote: Larry Martell writes: Somthing I came across in my travels through the ether: [1]https://medium.com/@deliciousrobots/5d2ad703365d/ "Python 3 can revive Python" https://medium.com/p/2a7af4788b10 This makes the same false claim "It’s not like anyone is

daemon thread cleanup approach

2014-05-28 Thread Carl Banks
Ok, so I have an issue with cleaning up threads upon a unexpected exit. I came up with a solution but I wanted to ask if anyone has any advice or warnings. Basically I am writing a Python library to run certain tasks. All of the calls in the library start worker threads to do the actual work,

Re: IDE for python

2014-05-28 Thread Greg Schroeder
On Wed, 2014-05-28 at 22:55 +1000, Chris Angelico wrote: > On Wed, May 28, 2014 at 9:46 PM, Greg Schroeder wrote: > >> > Please suggest, if we have any free ide for python development. > > > > Anything that writes text is fine. > > I recommend the standard text editor for your OS (Notepad if you u

Re: Python 3 is killing Python

2014-05-28 Thread Terry Reedy
On 5/28/2014 3:23 PM, Larry Martell wrote: Somthing I came across in my travels through the ether: https://medium.com/@deliciousrobots/5d2ad703365d/ Claim: "Python 3 languishes in disuse." Fact: in 2013, there were around 14 million downloads of windows installers for each of 2.7.x and 3.3.x

Forking PyPI package

2014-05-28 Thread Wiktor
Hello. There's script pwdhash https://pypi.python.org/pypi/pwdhash.py/0.1.1, which I always* wanted to port to Python 3. (* - well, i.e. 6 months ;-)) I'm using this hashing algorithm quite often for years in my browser (Opera plugin), so I thought that it would be cool to have it as python sc

Re: Python alternative to Google Groups

2014-05-28 Thread Ben Finney
Steven Clift writes: > If you are looking for an open source alternative between Google > Groups and Mailman, I wanted to share: > > http://groupserver.org > > It has recent release and new design. Thanks. For many of us, an important service is NNTP, offered by GMane and others. I think I'

Re: passing Python assignment value to shell

2014-05-28 Thread Ben Finney
Satish Muthali writes: > so, this is what I have so far: Thank you for presenting your code. Please ensure that you post in text only, without transforming the characters from what you typed. Something in your message composition process is currently converting some ‘"’ (U+0022 QUOTATION MARK)

Re: Python 3 is killing Python

2014-05-28 Thread Paul Rubin
Ben Finney writes: > There are many large companies still using FORTRAN and COBOL because of > a large investment in those languages, which are far more outdated than > Python 2. What's your point? I think some of us see Python 2 as perfectly fine--we've looked into Python 3 and found some minor

Re: IDE for python

2014-05-28 Thread Rhodri James
On Wed, 28 May 2014 14:04:55 +0100, Steven D'Aprano wrote: My IDE is to have three GUI windows open: * A web browser for searching the Internet. Any browser will do, but I prefer Firefox. * A tabbed editor. I prefer kate (KDE 3 version, not KDE 4), but geany is also good. At a pinch gedit w

Re: Python box (home-use smart router)

2014-05-28 Thread Rhodri James
On Tue, 27 May 2014 08:33:42 +0100, animalize81 wrote: Home-use smart router is more and more popular. If embeds Python into such router, and develops a framework that has the following features: 1, allow power-down at any time 2, dynamic domain name 3, local storage support (SD cards o

Re: Python 3 is killing Python

2014-05-28 Thread Ben Finney
Larry Martell writes: > No company that I work for is using python 3 - they just have too much > of an investment in a python 2 code base to switch. There are many large companies still using FORTRAN and COBOL because of a large investment in those languages, which are far more outdated than Pyt

Re: Python alternative to Google Groups

2014-05-28 Thread Andrew Berg
On 2014.05.28 16:54, Steven Clift wrote: > If you are looking for an open source alternative between Google > Groups and Mailman, I wanted to share: > > http://groupserver.org > > It has recent release and new design. > > Key is the assumption that any user can publish/reply via email or the

Re: IDE for python

2014-05-28 Thread Ben Finney
Sameer Rathoud writes: > I am new to python. > I am currently using python 3.3 Welcome! You're off to a good start, using Python 3 :-) > With python I got IDLE, but I am not very comfortable with this. > Please suggest, if we have any free ide for python development. What other programming lan

Python alternative to Google Groups

2014-05-28 Thread Steven Clift
If you are looking for an open source alternative between Google Groups and Mailman, I wanted to share: http://groupserver.org It has recent release and new design. Key is the assumption that any user can publish/reply via email or the web, not just receive email alerts for posting via the w

Re: passing Python assignment value to shell

2014-05-28 Thread John Gordon
In Satish Muthali writes: > Now I want to feed the value for 'freecalc_total' as an argument to > a command executed by the shell. > For example: > devnull = open(os.devnull, 'w') > runCommand = subprocess.call(['stressapptest', ' the value of freecalc_total here>'], stdout=devnull,stderr=sub

Re: need help with this code please fix it or at least tell me what im doing wrong

2014-05-28 Thread Mark H Harris
On 5/28/14 12:32 PM, funky wrote: import pygame <== a very good place to start import random import time import sys http://www.pygame.org/wiki/tutorials My hourly rate is $295.00 /hour, w/2hour minimum, happy to send you a contract of engagement and a copy of my document of unde

ANN: PyQt v5.3 Released

2014-05-28 Thread Phil Thompson
PyQt5 v5.3 has been released and is available from http://www.riverbankcomputing.com/software/pyqt/download5. PyQt5 is a comprehensive set of bindings for v5 of Digia's Qt cross-platform application framework. It supports Python v3, v2.7 and v2.6. The highlights of this release include support

passing Python assignment value to shell

2014-05-28 Thread Satish Muthali
Hello Experts, I am trying to extract the available userspace+swap memory and then want to feed this value as an argument to a tool that is executed in the shell. so, this is what I have so far: reecalc = [s.split() for s in os.Popen("free -ht").read().splitlines()] freecalc_total = freecalc[4]

Re: Command prompt not shown when running Python script with subprocess on Windows

2014-05-28 Thread ps16thypresenceisfullnessofjoy
Thank you for your replies. I tried what you suggested in your second post and it worked. That was actually a mistake in the app_list.xml file. As you said: %ProgramFiles%\LibreOffice 4\program\swriter.exe "C:\Users\Timothy\Documents\myfile.odt" should instead be: "%ProgramFiles%\LibreOffice

Re: need help with this code please fix it or at least tell me what im doing wrong

2014-05-28 Thread Ian Kelly
On Wed, May 28, 2014 at 11:32 AM, funky wrote: > while done == False: > for event in pygame.event.get(): > if event.type == pygame.QUIT: > done == True Here is one fairly obvious bug; you used "==" where you presumably intended to do an assignment. As it stands it will ju

Re: Command prompt not shown when running Python script with subprocess on Windows

2014-05-28 Thread ps16thypresenceisfullnessofjoy
Thank you for your reply. I think I'll use PyWin32 if it's available on the user's system, and otherwise fall back to using subprocess.Popen, since I want my script to be cross-platform. os.startfile won't work for me because you can't pass arguments to the file being started. (When I first ask

Re: Python 3 is killing Python

2014-05-28 Thread Mark Lawrence
On 28/05/2014 20:58, Larry Martell wrote: On Wed, May 28, 2014 at 2:49 PM, Paul Rubin mailto:no.email@nospam.invalid>> wrote: Larry Martell mailto:larry.mart...@gmail.com>> writes: > Somthing I came across in my travels through the ether: > [1]https://medium.com/@deliciousrobots/5d

Re: Python 3 is killing Python

2014-05-28 Thread Chris Angelico
On Thu, May 29, 2014 at 5:58 AM, Larry Martell wrote: > No company that I work for is using python 3 - they just have too much of an > investment in a python 2 code base to switch. I'm just saying. And that's not a problem. Every whinging blog author seems to forget that Python 2.7 support is goi

Re: Python 3 is killing Python

2014-05-28 Thread Larry Martell
On Wed, May 28, 2014 at 2:49 PM, Paul Rubin wrote: > Larry Martell writes: > > Somthing I came across in my travels through the ether: > > [1]https://medium.com/@deliciousrobots/5d2ad703365d/ > > "Python 3 can revive Python" https://medium.com/p/2a7af4788b10 > long HN comment thread: https://n

Re: Python 3 is killing Python

2014-05-28 Thread Paul Rubin
Larry Martell writes: > Somthing I came across in my travels through the ether: > [1]https://medium.com/@deliciousrobots/5d2ad703365d/ "Python 3 can revive Python" https://medium.com/p/2a7af4788b10 long HN comment thread: https://news.ycombinator.com/item?id=7801834 "Python 3 is fine" http://s

Re: Command prompt not shown when running Python script with subprocess on Windows

2014-05-28 Thread Tim Golden
On 28/05/2014 06:08, Tim Golden wrote: On 28/05/2014 00:01, ps16thypresenceisfullnessof...@gmail.com wrote: I want users to be able to enter paths in the XML file exactly the way they would be entered in a Windows shortcut. Since it is possible to make a Windows shortcut for path-to-script.py w

Re: Python 3 is killing Python

2014-05-28 Thread Marko Rauhamaa
I agree that Py3 made a grave error in breaking backward-compatibility. However, that's the reality and the transition will take place over time, possibly even before IPv6 overtakes IPv4 in popularity. But then, I was never really beholden to third-party libraries and frameworks. Instead, the bat

Re: Python 3 is killing Python

2014-05-28 Thread Johannes Bauer
On 28.05.2014 21:23, Larry Martell wrote: > Somthing I came across in my travels through the ether: > > https://medium.com/@deliciousrobots/5d2ad703365d/ Sub-headline "The Python community should fork Python 2". Which could also read "Someone else should REALLY fork Py2 because I'm mad about Py3

Python 3 is killing Python

2014-05-28 Thread Larry Martell
Somthing I came across in my travels through the ether: https://medium.com/@deliciousrobots/5d2ad703365d/ -- https://mail.python.org/mailman/listinfo/python-list

Re: IDE for python

2014-05-28 Thread Rustom Mody
On Wednesday, May 28, 2014 4:13:29 PM UTC+5:30, Sameer Rathoud wrote: > Hello everyone, > I am new to python. > I am currently using python 3.3 > With python I got IDLE, but I am not very comfortable with this. > Please suggest, if we have any free ide for python development. Im not going to a

Re: need help with this code please fix it or at least tell me what im doing wrong

2014-05-28 Thread Grant Edwards
On 2014-05-28, funky wrote: [program that apparently doesn't work] I'll fix it for you. My rates are $150/hour with a 4-hour minimum paid up-front. -- Grant Edwards grant.b.edwardsYow! PUNK ROCK!! DISCO at DUCK!! BIRTH CO

Re: how avoid delay while returning from C-python api?

2014-05-28 Thread Stefan Behnel
Lakshmipathi.G, 28.05.2014 12:22: > I have C-Python api like below. It works fine, but the problem is > while invoking this method > from python script say > > #cat script.py > > offset=0 > size=4 > write_object(offset,size) > > > > This calls write_this_c() C api and returns quickly to next

Re: need help with this code please fix it or at least tell me what im doing wrong

2014-05-28 Thread John Gordon
In <8bc01036-ee9e-4de9-b569-7039dcc05...@googlegroups.com> funky writes: What do you want the program to do? What is it doing instead? Do you get any error messages? Don't just throw code at us and ask us to fix it... -- John Gordon Imagine what it must be like for a real medical doct

Re: need help with this code please fix it or at least tell me what im doing wrong

2014-05-28 Thread Gary Herron
On 05/28/2014 10:32 AM, funky wrote: <100+ lines of code removed.> No way. This is not a paid service, but rather a community of Python users. You can get lots of help here, but you have to put in some work. Please take the time to tell us: What this code should do. What it actually d

Re: IDE for python

2014-05-28 Thread Deb Wyatt
>> On 05/28/2014 01:43 PM, Sameer Rathoud wrote: >> >>> Please suggest, if we have any free ide for python development. >> > But first time I am trying python. I was trying some UI with python. I > have installed wingide. But i didn't liked it because for licenses > messages even in trial v

need help with this code please fix it or at least tell me what im doing wrong

2014-05-28 Thread funky
import pygame import random import time import sys black = (0, 0, 0) white = (255, 255, 255) red = (255, 0, 0) class Block(pygame.sprite.Sprite): def __init__(self, color, width, height): pygame.sprite.Sprite.__init__(self) self.image = pygame.Surface([width, height]) s

Re: IDE for python

2014-05-28 Thread Ernest Bonat, Ph.D.
I believe in IDE with a complete project structure development and debugging tool. I have to time for a lot of typing. Mi option is Eclipse IDE with PyDev plugin. Thanks On Wed, May 28, 2014 at 9:24 AM, Wolfgang Keller wrote: > > With python I got IDLE, but I am not very comfortable with this.

Re: How to run script from interpreter?

2014-05-28 Thread Mark H Harris
On 5/28/14 2:44 AM, onlyvin...@gmail.com wrote: On Friday, January 19, 2001 1:22:23 AM UTC+5:30, Rolander, Dan wrote: What is the best way to run a python script from within the interpreter? What command should I use? try using execfile(filename) What type of script? python? bash? tcl?

Re: IDE for python

2014-05-28 Thread Wolfgang Keller
> With python I got IDLE, but I am not very comfortable with this. > > Please suggest, if we have any free ide for python development. There are a lot of IDEs for Python. One classic is WingIDE. Available for free is a "101" edition. Runs on all major operating systems. Implemented itself in Pyt

Re: How to run script from interpreter?

2014-05-28 Thread Terry Reedy
On 5/28/2014 3:44 AM, onlyvin...@gmail.com wrote: On Friday, January 19, 2001 1:22:23 AM UTC+5:30, Rolander, Dan wrote: What is the best way to run a python script from within the interpreter? What command should I use? Thanks, Dan try using execfile(filename) or in 3.x with open(filename) a

Re: IDE for python

2014-05-28 Thread Mark Lawrence
On 28/05/2014 14:01, Sameer Rathoud wrote: I've had to snip umpteen lines that gg has added so *please* use the mailing list https://mail.python.org/mailman/listinfo/python-list or read and action this https://wiki.python.org/moin/GoogleGroupsPython to prevent us seeing double line spacing and

Re: Unable to figure out ' invalid matrix input type -- ', u'1'

2014-05-28 Thread Mark Lawrence
On 28/05/2014 13:41, varun...@gmail.com wrote: Hello Everyone, I am currently working on Cplex using Python API. I have a problem when I run the code. I keep getting this error about the invalid matrix input but I'm not able to figure out what it is. I would be grateful if any of you could hel

Re: IDE for python

2014-05-28 Thread Mark H Harris
On 5/28/14 5:43 AM, Sameer Rathoud wrote: I am currently using python 3.3 With python I got IDLE, but I am not very comfortable with this. Please suggest, if we have any free ide for python development. I tend to agree with Chris & Steven on this... a good gnu/linux desktop is the best IDE (d

Re: IDE for python

2014-05-28 Thread William Ray Wing
On May 28, 2014, at 6:43 AM, Sameer Rathoud wrote: > Hello everyone, > > I am new to python. > > I am currently using python 3.3 > > With python I got IDLE, but I am not very comfortable with this. > > Please suggest, if we have any free ide for python development. > -- > https://mail.python

Re: IDE for python

2014-05-28 Thread Sameer Rathoud
On Wednesday, May 28, 2014 6:05:08 PM UTC+5:30, Mark Lawrence wrote: > On 28/05/2014 12:31, Sameer Rathoud wrote: > > > On Wednesday, May 28, 2014 4:21:22 PM UTC+5:30, Mihamina Rakotomandimby > > wrote: > > >> On 05/28/2014 01:43 PM, Sameer Rathoud wrote: > > >> > > >>> Please suggest, if we h

Re: IDE for python

2014-05-28 Thread Steven D'Aprano
On Wed, 28 May 2014 03:43:29 -0700, Sameer Rathoud wrote: > Hello everyone, > > I am new to python. > > I am currently using python 3.3 > > With python I got IDLE, but I am not very comfortable with this. > > Please suggest, if we have any free ide for python development. What operating syste

Re: IDE for python

2014-05-28 Thread Sameer Rathoud
On Wednesday, May 28, 2014 6:26:46 PM UTC+5:30, Sameer Rathoud wrote: > On Wednesday, May 28, 2014 5:16:41 PM UTC+5:30, Greg Schroeder wrote: > > > > > Please suggest, if we have any free ide for python development. > > > > > > > > > > > > Anything that writes text is fine. > > > > > > I

Re: IDE for python

2014-05-28 Thread Sameer Rathoud
On Wednesday, May 28, 2014 5:16:41 PM UTC+5:30, Greg Schroeder wrote: > > > Please suggest, if we have any free ide for python development. > > > > Anything that writes text is fine. > > I recommend the standard text editor for your OS (Notepad if you use > > Windows, Textedit on Mac, whatever

Re: IDE for python

2014-05-28 Thread Chris Angelico
On Wed, May 28, 2014 at 9:46 PM, Greg Schroeder wrote: >> > Please suggest, if we have any free ide for python development. > > Anything that writes text is fine. > I recommend the standard text editor for your OS (Notepad if you use > Windows, Textedit on Mac, whatever is on your GNU/Linux distro

Unable to figure out ' invalid matrix input type -- ', u'1'

2014-05-28 Thread varun7rs
Hello Everyone, I am currently working on Cplex using Python API. I have a problem when I run the code. I keep getting this error about the invalid matrix input but I'm not able to figure out what it is. I would be grateful if any of you could help. My function is as below def add_constraint(

Re: IDE for python

2014-05-28 Thread Greg Schroeder
> > Please suggest, if we have any free ide for python development. Anything that writes text is fine. I recommend the standard text editor for your OS (Notepad if you use Windows, Textedit on Mac, whatever is on your GNU/Linux distro by default) unless you know exactly what you don't like about

Re: IDE for python

2014-05-28 Thread Mark Lawrence
On 28/05/2014 12:31, Sameer Rathoud wrote: On Wednesday, May 28, 2014 4:21:22 PM UTC+5:30, Mihamina Rakotomandimby wrote: On 05/28/2014 01:43 PM, Sameer Rathoud wrote: Please suggest, if we have any free ide for python development. I think major IDEs in the place have their Python integrat

Re: IDE for python

2014-05-28 Thread prashanth B.G
Hi Sameer, Try pycharm, ninja ide, wings ide .. These are light and will help you to get started. Later on you can switch to vim which has many plugins for python. Also feel free to take a look at this link on stackoverflow comparing different features . http://stackoverflo

Re: IDE for python

2014-05-28 Thread Chris Angelico
On Wed, May 28, 2014 at 9:31 PM, Sameer Rathoud wrote: > for C++ and C# development I prefer visual studio and for C++ try outs even > codeblock is ok > > For Java I use eclipse. > > But first time I am trying python. I was trying some UI with python. I have > installed wingide. But i didn't li

Re: IDE for python

2014-05-28 Thread Sameer Rathoud
On Wednesday, May 28, 2014 4:21:22 PM UTC+5:30, Mihamina Rakotomandimby wrote: > On 05/28/2014 01:43 PM, Sameer Rathoud wrote: > > > Please suggest, if we have any free ide for python development. > > > > I think major IDEs in the place have their Python integration. > > Did you make some sear

Re: IDE for python

2014-05-28 Thread Chris Angelico
On Wed, May 28, 2014 at 8:43 PM, Sameer Rathoud wrote: > I am currently using python 3.3 > > With python I got IDLE, but I am not very comfortable with this. > > Please suggest, if we have any free ide for python development. You don't really need an IDE, generally. A good text editor - I use Sci

Re: how avoid delay while returning from C-python api?

2014-05-28 Thread Lakshmipathi.G
The statement "after call" printed to stdout and the script waits there for few seconds. So I was assuming something delaying the return value. Just found out there is core-dump "segmentation fault (core dumped) python" ..Probably fixing core dump should resolve the issue. Thanks! Cheers, La

Re: IDE for python

2014-05-28 Thread Mihamina Rakotomandimby
On 05/28/2014 01:43 PM, Sameer Rathoud wrote: Please suggest, if we have any free ide for python development. I think major IDEs in the place have their Python integration. Did you make some search and tried each one? With just the information you provided, every existing IDE is OK. - What di

Re: IDE for python

2014-05-28 Thread alister
On Wed, 28 May 2014 03:43:29 -0700, Sameer Rathoud wrote: > Hello everyone, > > I am new to python. > > I am currently using python 3.3 > > With python I got IDLE, but I am not very comfortable with this. > > Please suggest, if we have any free ide for python development. there Are plenty I u

Re: how avoid delay while returning from C-python api?

2014-05-28 Thread Ned Batchelder
On 5/28/14 6:22 AM, Lakshmipathi.G wrote: Hi - I have C-Python api like below. It works fine, but the problem is while invoking this method from python script say #cat script.py offset=0 size=4 write_object(offset,size) This calls write_this_c() C api and returns quickly to next printf sta

Re: IDE for python

2014-05-28 Thread Marko Rauhamaa
Sameer Rathoud : > Please suggest, if we have any free ide for python development. emacs Marko -- https://mail.python.org/mailman/listinfo/python-list

答复: IDE for python

2014-05-28 Thread cheng.li
IPython for interactive testing. Aptana or PyDev + eclipse as IDE -邮件原件- 发件人: Python-list [mailto:python-list-bounces+scrappedprince.li=gmail@python.org] 代表 Sameer Rathoud 发送时间: 2014年5月28日 18:43 收件人: python-list@python.org 主题: IDE for python Hello everyone, I am new to python. I am

IDE for python

2014-05-28 Thread Sameer Rathoud
Hello everyone, I am new to python. I am currently using python 3.3 With python I got IDLE, but I am not very comfortable with this. Please suggest, if we have any free ide for python development. -- https://mail.python.org/mailman/listinfo/python-list

how avoid delay while returning from C-python api?

2014-05-28 Thread Lakshmipathi.G
Hi - I have C-Python api like below. It works fine, but the problem is while invoking this method from python script say #cat script.py offset=0 size=4 write_object(offset,size) This calls write_this_c() C api and returns quickly to next printf statement. But the return call (Py_RETURN_NONE)

Re: python #13

2014-05-28 Thread himanshulkce
Thank you sir -- https://mail.python.org/mailman/listinfo/python-list

Re: is there a list/group for beginners?

2014-05-28 Thread alister
On Tue, 27 May 2014 13:38:36 -0800, Deb Wyatt wrote: >> -Original Message- >> From: john_lada...@sbcglobal.net Sent: Tue, 27 May 2014 11:38:39 -0700 >> (PDT) >> To: python-list@python.org Subject: Re: is there a list/group for >> beginners? >> >> Hi, Deb. >> >> Ten years ago (or eleven?)

ANN: eGenix mxODBC Connect 2.1.0 - Python ODBC Database Interface

2014-05-28 Thread eGenix Team: M.-A. Lemburg
ANNOUNCING eGenix.com mxODBC Connect Python ODBC Database Interface Version 2.1.0 mxODBC Connect is our commercially supported client-server product fo

Re: How to run script from interpreter?

2014-05-28 Thread onlyvinish
On Friday, January 19, 2001 1:22:23 AM UTC+5:30, Rolander, Dan wrote: > What is the best way to run a python script from within the interpreter? > What command should I use? > > Thanks, > Dan try using execfile(filename) -- https://mail.python.org/mailman/listinfo/python-list