TypeError: only length-1 arrays can be converted to Python

2013-09-20 Thread D.YAN ESCOLAR RAMBAL
this the code, __ import math import numexpr as ne import matplotlib.pyplot as plt import numpy as np import numba as nb M = 10 A = 10 D = 0.1 xmin = -4 xmax = 4 n = 800 tfinal = 3 tinicial = 1 # GENERANDO VECTOR CON PUNTOS DE DISCRETIZ

Re: What minimum should a person know before saying "I know Python"

2013-09-20 Thread Gene Heskett
On Saturday 21 September 2013 01:34:50 Chris Angelico did opine: > On Sat, Sep 21, 2013 at 3:40 AM, Aseem Bansal wrote: > > On Friday, September 20, 2013 10:04:32 PM UTC+5:30, Chris Angelico wrote: > >> On Sat, Sep 21, 2013 at 2:28 AM, Aseem Bansal wrote: > >> > I hope that cleared some confu

Re: Why does it have red squiggly lines under it if it works perfectly fine and no errors happen when I run it?

2013-09-20 Thread William Bryant
On Saturday, September 21, 2013 1:39:41 AM UTC+12, Duncan Booth wrote: > William Bryant wrote: > > > > > Thanks a lot! I have one more question, is there any way I can make my > > > program work on android tablets and ipads? Because I'd like to use it > > > in school because we are learning s

Re: Why does it have red squiggly lines under it if it works perfectly fine and no errors happen when I run it?

2013-09-20 Thread William Bryant
On Saturday, September 21, 2013 1:39:41 AM UTC+12, Duncan Booth wrote: > William Bryant wrote: > > > > > Thanks a lot! I have one more question, is there any way I can make my > > > program work on android tablets and ipads? Because I'd like to use it > > > in school because we are learning s

Re: Print statement not printing as it suppose to

2013-09-20 Thread Dave Angel
On 20/9/2013 17:57, Sam wrote: > > print("\nThe total amount required is ", total ) > > > ('\nThe total amount required is ', 3534) > > ===> the problem is obviously on the last print statement that is supposed to > print the outut Others have pointed out the version discrepancy. But I'll also

Re: pyGTK Help Needed Please

2013-09-20 Thread Michael Torrie
On 09/20/2013 12:30 PM, bingefel...@gmail.com wrote: > Hi folks, > > I'm trying to run a program called Nicotine+ on my Mac which is running > 10.8.5. Nicotine+ requires GTK2, pyGTK2 and Python to run. I believe I have > all of these installed via Macports (please see here - > http://pastebin.c

Re: mutlifile inheritance problem

2013-09-20 Thread Chris Angelico
On Sat, Sep 21, 2013 at 10:17 AM, Peter Cacioppi wrote: > It's too bad, I really lean on reload(). It appears to be incompatible with > inheritance more than one level deep. Python's really not designed for reload of this nature. You can easily make a nasty mess of things. If you're working in t

Re: What minimum should a person know before saying "I know Python"

2013-09-20 Thread Chris Angelico
On Sat, Sep 21, 2013 at 12:31 PM, Roy Smith wrote: > In article , > Chris Angelico wrote: > >> On Sat, Sep 21, 2013 at 2:28 AM, Aseem Bansal wrote: >> > I hope that cleared some confusion about what I wanted to ask. I wanted to >> > gauge myself to find if I am progressing or not. >> >> Well, b

Re: Print statement not printing as it suppose to

2013-09-20 Thread Chris Angelico
On Sat, Sep 21, 2013 at 7:57 AM, Sam wrote: > car=int(input("Lamborghini tune-up:")) > print("\nThe total amount required is ", total ) > OUTPUT > ('\nThe total amount required is ', 3534) As others have said, this output indicates that you're running under a Python 2.x interpreter. I strongly re

Re: What minimum should a person know before saying "I know Python"

2013-09-20 Thread Roy Smith
In article , Chris Angelico wrote: > On Sat, Sep 21, 2013 at 2:28 AM, Aseem Bansal wrote: > > I hope that cleared some confusion about what I wanted to ask. I wanted to > > gauge myself to find if I am progressing or not. > > Well, based on my definition, that's easy to answer. Have you solve

Re: What minimum should a person know before saying "I know Python"

2013-09-20 Thread Chris Angelico
On Sat, Sep 21, 2013 at 3:40 AM, Aseem Bansal wrote: > On Friday, September 20, 2013 10:04:32 PM UTC+5:30, Chris Angelico wrote: >> On Sat, Sep 21, 2013 at 2:28 AM, Aseem Bansal wrote: >> > I hope that cleared some confusion about what I wanted to ask. I wanted to >> > gauge myself to find if I

Re: mutlifile inheritance problem

2013-09-20 Thread Peter Cacioppi
On Thursday, March 21, 2002 2:03:23 PM UTC-7, Marc wrote: > I have classes defined in different files and would like to inherit > from a class in file A.py for a class in file B.py but am running into > problems. I'm using Python 1.5.2 on Windows NT > > Here's a specific example: > > ***

Re: Python GUI?

2013-09-20 Thread Robert Kern
On 2013-09-20 19:34, Metallicow wrote: I prefer wx over qt for these reasons. Robin works for qt now. *Funny isn't it...* Lying about someone's employment is not very funny. Robin does not work for "Qt" or even Digia, the nearest thing to a corporate "owner" of Qt these days. https://www.

Re: building an online judge to evaluate Python programs

2013-09-20 Thread Dave Angel
On 20/9/2013 13:28, Jabba Laci wrote: > Hi, > > In our school I have an introductory Python course. I have collected a > large list of exercises for the students and I would like them to be > able to test their solutions with an online judge ( > http://en.wikipedia.org/wiki/Online_judge ). At the

Re: Iterate through a list of tuples for processing

2013-09-20 Thread Vlastimil Brom
2013/9/20 Shyam Parimal Katti : > I have a list of tuples where the number of rows in the list and the number > of columns in tuples of the list will not be constant. i.e. > > ...> i.e. > > list_value = [(‘name1’, 1234, ‘address1’ ), (‘name2’, 5678, ‘address2’), > (‘name3’, 1011, ‘addre”ss3’)] > >

Re: Python GUI?

2013-09-20 Thread Michael Torrie
On 09/20/2013 01:58 PM, Metallicow wrote: > Sorry about that, nokia is/was. qt was developed(IIRC) for phones. > Someone made money. And a lot of it. wx is a more or less a "free" > project. I don't use a phone anymore. If I had a touch screen phone > and was a developer, I still wouldn't use one.

Re: building an online judge to evaluate Python programs

2013-09-20 Thread Ned Batchelder
On 9/20/13 6:26 PM, Jabba Laci wrote: I just found Docker ( http://docs.docker.io/en/latest/faq/ ). It seems sandboxing could be done with this easily. At edX, I wrote CodeJail (https://github.com/edx/codejail) to use AppArmor to run Python securely. For grading Python programs, we use a uni

Re: building an online judge to evaluate Python programs

2013-09-20 Thread Jabba Laci
I just found Docker ( http://docs.docker.io/en/latest/faq/ ). It seems sandboxing could be done with this easily. Laszlo On Fri, Sep 20, 2013 at 10:08 PM, John Gordon wrote: > In Jabba Laci > writes: > >> There are several questions: >> * What is someone sends an infinite loop? There should b

Re: building an online judge to evaluate Python programs

2013-09-20 Thread Terry Reedy
On 9/20/2013 4:04 PM, Jabba Laci wrote: That last seems to me to be the biggie. Several times in the past few years, people in this mailing list have tried to build a safe sandbox. And each one was a big failure, for a hacker of sufficient interest. Some of them were spectacular failures. If yo

Re: What minimum should a person know before saying "I know Python"

2013-09-20 Thread Terry Reedy
On 9/20/2013 5:58 AM, Aseem Bansal wrote: I started Python 4 months ago. Largely self-study with use of Python documentation, stackoverflow and google. I was thinking what is the minimum that I must know before I can say that I know Python? I come from a C background which is comparatively small

Re: Print statement not printing as it suppose to

2013-09-20 Thread John Gordon
In <05bbf1a3-6480-48ee-8984-2482b90c7...@googlegroups.com> Sam writes: > print("\nThe total amount required is ", total ) > OUTPUT > ('\nThe total amount required is ', 3534) In older versions of python (like the one you are using), 'print' is a statement instead of a function. In other word

Re: Print statement not printing as it suppose to

2013-09-20 Thread Emiliano Carlos de Moraes Firmino
Remove both brackets in last line, You are creating a tuple in last statement not making a function call. 2013/9/20 Sam > hi everybody i am just starting to learn python, i was writing a simple > i/o program but my print statement is acting weird. here is my code i want > to know why it prints

Re: Print statement not printing as it suppose to

2013-09-20 Thread Tim Delaney
On 21 September 2013 07:57, Sam wrote: > hi everybody i am just starting to learn python, i was writing a simple > i/o program but my print statement is acting weird. here is my code i want > to know why it prints this way. thank you > > print("\nThe total amount required is ", total ) > > > OUTP

Print statement not printing as it suppose to

2013-09-20 Thread Sam
hi everybody i am just starting to learn python, i was writing a simple i/o program but my print statement is acting weird. here is my code i want to know why it prints this way. thank you car=int(input("Lamborghini tune-up:")) rent=int(input('\nManhatan apartment: ')) gifts=int(input('\nRand

Iterate through a list of tuples for processing

2013-09-20 Thread Shyam Parimal Katti
I have a list of tuples where the number of rows in the list and the number of columns in tuples of the list will not be constant. i.e. list = [(a1,b1, …z1), (a2,b2, …, z2),…. ,(am,bm, … , zm )]. It can be compared to the SQL results, as the number of columns change in the sql, the number of col

Re: building an online judge to evaluate Python programs

2013-09-20 Thread John Gordon
In Jabba Laci writes: > There are several questions: > * What is someone sends an infinite loop? There should be a time limit. You could run the judge as a background process, and kill it after ten seconds if it hasn't finished. > * What is someone sends a malicious code? The script should be

Re: building an online judge to evaluate Python programs

2013-09-20 Thread Jabba Laci
> That last seems to me to be the biggie. Several times in the past few > years, people in this mailing list have tried to build a safe sandbox. > And each one was a big failure, for a hacker of sufficient interest. > Some of them were spectacular failures. > > If you have to be safe from your use

Re: Python GUI?

2013-09-20 Thread Metallicow
Sorry about that, nokia is/was. qt was developed(IIRC) for phones. Someone made money. And a lot of it. wx is a more or less a "free" project. I don't use a phone anymore. If I had a touch screen phone and was a developer, I still wouldn't use one. I have my many reasons why... -- https://mail.py

Re: Python GUI?

2013-09-20 Thread Michael Torrie
On 09/20/2013 12:34 PM, Metallicow wrote: > I prefer wx over qt for these reasons. Robin works for qt now. *Funny > isn't it...* Basically, To change qt(PySide) you need to pretty much > need to be employed by qt, not the case with wx(is not a *For > profit*, but you can donate.). In my opinion, in

Re: building an online judge to evaluate Python programs

2013-09-20 Thread John Gordon
In Jabba Laci writes: > Let's take this simple exercise: > "Write a function that receives a list and decides whether the list is > sorted or not." > Here the output of the function is either True or False, so I cannot > test it with my current method. Make a master input file and a master o

Re: Antispam measures circumventing

2013-09-20 Thread Joel Goldstick
On Fri, Sep 20, 2013 at 12:45 PM, Jugurtha Hadjar wrote: > Chris, Vlastimil, great insights gentlemen! Thanks > > > Chris Angelico wrote: > > >Instead of matching the ones that are the same as their uppercase > >version, why not instead keep the ones that are the same as their > >lowercase? > > >

Re: building an online judge to evaluate Python programs

2013-09-20 Thread Jabba Laci
Let's take this simple exercise: "Write a function that receives a list and decides whether the list is sorted or not." Here the output of the function is either True or False, so I cannot test it with my current method. Laszlo On Fri, Sep 20, 2013 at 7:57 PM, Aseem Bansal wrote: >>However, it

Re: building an online judge to evaluate Python programs

2013-09-20 Thread Aseem Bansal
>However, it can only be used with programs that produce an output Just interested, what else are you thinking of checking? -- https://mail.python.org/mailman/listinfo/python-list

Re: Python GUI?

2013-09-20 Thread Metallicow
On Wednesday, September 11, 2013 3:55:59 PM UTC-5, Eamonn Rea wrote: > There are a few known GUI toolkits out there, and the main ones from what I > can tell are: > > > > Tkinter -- Simple to use, but limited > > PyQT -- You have a GUI designer, so I'm not going to count that > > PyGTK -- Gno

pyGTK Help Needed Please

2013-09-20 Thread bingefeller
Hi folks, I'm trying to run a program called Nicotine+ on my Mac which is running 10.8.5. Nicotine+ requires GTK2, pyGTK2 and Python to run. I believe I have all of these installed via Macports (please see here - http://pastebin.com/nwmrpp2Y ) When I try to run Nicotine+ I get this message: '/

Re: What minimum should a person know before saying "I know Python"

2013-09-20 Thread Aseem Bansal
I understand that being able to solve problems and knowing when to use something is the final measure of knowing something properly. But I wanted to find something quantitative that I can use to measure myself. Like the interview questions that Tim Chase posted. Measuring myself based on the p

Re: What minimum should a person know before saying "I know Python"

2013-09-20 Thread Aseem Bansal
On Friday, September 20, 2013 10:04:32 PM UTC+5:30, Chris Angelico wrote: > On Sat, Sep 21, 2013 at 2:28 AM, Aseem Bansal wrote: > > I hope that cleared some confusion about what I wanted to ask. I wanted to > > gauge myself to find if I am progressing or not. > > Well, based on my definition, t

building an online judge to evaluate Python programs

2013-09-20 Thread Jabba Laci
Hi, In our school I have an introductory Python course. I have collected a large list of exercises for the students and I would like them to be able to test their solutions with an online judge ( http://en.wikipedia.org/wiki/Online_judge ). At the moment I have a very simple web application that i

Re: What minimum should a person know before saying "I know Python"

2013-09-20 Thread Jugurtha Hadjar
I think it is a philosophical question. It's like saying "I know maths", which is a ridiculous phrase I was surprised to hear, let alone surprised to hear often. Can someone know everything there is to know about something ? I doubt it. The point, at least for me, isn't to know everything .. B

matplotlib question: OverflowError: Allocated too many blocks

2013-09-20 Thread Ray
hi, i'm using matplotlib to generate chart from audio wave file, and I had a problem with it. test code as: from scipy.io import wavfile import matplotlib.pyplot as plt rate, x = wavfile.read('test2.wav') plt.plot(x) plt.savefig('test2.png') the len of x= 19531840 (as len(x) ) matplotlib give e

Re: Antispam measures circumventing

2013-09-20 Thread Chris Angelico
On Sat, Sep 21, 2013 at 2:23 AM, Jussi Piitulainen wrote: > Something meaningful: make it john.doe...@hotmail.com with a note to > "remove the female deer" for john@hotmail.com, or "remove the drop > of golden sun" for "john@hotmail.com". This method can be quite effective. In fact, of al

Re: Making it a MultiThread!

2013-09-20 Thread stas poritskiy
On Friday, September 20, 2013 7:56:16 AM UTC-5, stas poritskiy wrote: > Hello All! > > > > I have a general question, > > i was posting here earlier while trying to troubleshoot a few things while > developing an application, i was able to hit all of my goals, and make things > work! Thank y

Re: dynamic function parameters for **kwargs

2013-09-20 Thread Rotwang
On 20/09/2013 16:51, bab mis wrote: Hi , I have a function as below: def func(**kwargs): ... ... args="a='b',c='d'" i want to call func(args) so that my function call will take a var as an parameter. it fails with an error "typeError: fun() takes exactly 0 arguments (1 given)

Re: Antispam measures circumventing

2013-09-20 Thread Jugurtha Hadjar
Chris, Vlastimil, great insights gentlemen! Thanks Chris Angelico wrote: >Instead of matching the ones that are the same as their uppercase >version, why not instead keep the ones that are the same as their >lowercase? That's why I started off doing, and then lost track a bit. It didn't cross

Re: What minimum should a person know before saying "I know Python"

2013-09-20 Thread Mark Janssen
> I started Python 4 months ago. Largely self-study with use of Python > documentation, stackoverflow and google. I was thinking what is the minimum > that I must know before I can say that I know Python? Interesting. I would say that you must know the keywords, how to make a Class, how to writ

Re: Antispam measures circumventing

2013-09-20 Thread Jussi Piitulainen
Jugurtha Hadjar writes: > Supposing my name is John Doe and the e-mail is john@hotmail.com, > my e-mail was written like this: > > removemejohn.dospames...@removemehotmail.com' > > With a note saying to remove the capital letters. > > Now, I wrote this : > > for character in my_string: > .

Re: dynamic function parameters for **kwargs

2013-09-20 Thread stas poritskiy
On Friday, September 20, 2013 10:51:46 AM UTC-5, bab mis wrote: > Hi , > > I have a function as below: > > > > def func(**kwargs): > > ... > > ... > > > > > > > > > > args="a='b',c='d'" > > > > i want to call func(args) so that my function call will take a var as an >

Re: lambda - strange behavior

2013-09-20 Thread Jussi Piitulainen
Kasper Guldmann writes: > I was playing around with lambda functions, but I cannot seem to > fully grasp them. I was running the script below in Python 2.7.5, > and it doesn't do what I want it to. Are lambda functions really > supposed to work that way. How do I make it work as I intend? > > f =

Re: What minimum should a person know before saying "I know Python"

2013-09-20 Thread Aseem Bansal
By C being smaller than Python I did not mean the scope of C is lesser than Python. I simply meant that the standard libraries are less in number compared to Python. By knowing Python I didn't imply an expert-level understanding. Minimum that so someone cannot say "Hey, you said you knew Python

Re: lambda - strange behavior

2013-09-20 Thread rusi
On Friday, September 20, 2013 8:51:20 PM UTC+5:30, Kasper Guldmann wrote: > I was playing around with lambda functions, but I cannot seem to fully grasp > them. I was running the script below in Python 2.7.5, and it doesn't do what > I want it to. Are lambda functions really supposed to work that w

Re: Antispam measures circumventing

2013-09-20 Thread Chris Angelico
On Sat, Sep 21, 2013 at 2:23 AM, Jussi Piitulainen wrote: > (Put .invalid at the end, maybe. But I wish spam was against the law, > effectively.) Against what law, exactly? In what jurisdiction will you seek to charge spammers? And who will track them down? ChrisA -- https://mail.python.org/mai

Re: What minimum should a person know before saying "I know Python"

2013-09-20 Thread Chris Angelico
On Sat, Sep 21, 2013 at 2:28 AM, Aseem Bansal wrote: > I hope that cleared some confusion about what I wanted to ask. I wanted to > gauge myself to find if I am progressing or not. Well, based on my definition, that's easy to answer. Have you solved problems using Python? If you have a bunch of

Re: lambda - strange behavior

2013-09-20 Thread Rotwang
On 20/09/2013 16:21, Kasper Guldmann wrote: I was playing around with lambda functions, but I cannot seem to fully grasp them. I was running the script below in Python 2.7.5, and it doesn't do what I want it to. Are lambda functions really supposed to work that way. How do I make it work as I int

dynamic function parameters for **kwargs

2013-09-20 Thread bab mis
Hi , I have a function as below: def func(**kwargs): ... ... args="a='b',c='d'" i want to call func(args) so that my function call will take a var as an parameter. it fails with an error "typeError: fun() takes exactly 0 arguments (1 given)" . Is there any other way to get the

Re: What minimum should a person know before saying "I know Python"

2013-09-20 Thread rusi
On Friday, September 20, 2013 7:09:13 PM UTC+5:30, Robert Kern wrote: > On 2013-09-20 12:43, rusi wrote: > > Stroustrup says he is still learning C++ and I know kids who have no qualms > > saying they know programming language L (for various values of L) after > > hardly an hour or two of mostly

Re: Antispam measures circumventing

2013-09-20 Thread Chris Angelico
On Sat, Sep 21, 2013 at 1:04 AM, Jugurtha Hadjar wrote: > Supposing my name is John Doe and the e-mail is john@hotmail.com, my > e-mail was written like this: > > removemejohn.dospames...@removemehotmail.com' > > With a note saying to remove the capital letters. > > Now, I wrote this : > > for

Re: lambda - strange behavior

2013-09-20 Thread Chris Angelico
On Sat, Sep 21, 2013 at 1:21 AM, Kasper Guldmann wrote: > f = [] > for n in range(5): > f.append( lambda x: x*n ) You're leaving n as a free variable here. The lambda function will happily look to an enclosing scope, so this doesn't work. But there is a neat trick you can do: f = [] for n in

Re: Antispam measures circumventing

2013-09-20 Thread Vlastimil Brom
2013/9/20 Jugurtha Hadjar : > Hello, > # I posted this on the tutor list, but my message wasn't displayed > I shared some assembly code (microcontrollers) and I had a comment wit my > e-mail address for contact purposes. > Supposing my name is John Doe and the e-mail is john@hotmail.com, my > e

Antispam measures circumventing

2013-09-20 Thread Jugurtha Hadjar
Hello, # I posted this on the tutor list, but my message wasn't displayed I shared some assembly code (microcontrollers) and I had a comment wit my e-mail address for contact purposes. Supposing my name is John Doe and the e-mail is john@hotmail.com, my e-mail was written like this:

lambda - strange behavior

2013-09-20 Thread Kasper Guldmann
I was playing around with lambda functions, but I cannot seem to fully grasp them. I was running the script below in Python 2.7.5, and it doesn't do what I want it to. Are lambda functions really supposed to work that way. How do I make it work as I intend? f = [] for n in range(5): f.append(

Re: What minimum should a person know before saying "I know Python"

2013-09-20 Thread Chris Angelico
On Fri, Sep 20, 2013 at 7:58 PM, Aseem Bansal wrote: > I started Python 4 months ago. Largely self-study with use of Python > documentation, stackoverflow and google. I was thinking what is the minimum > that I must know before I can say that I know Python? > > I come from a C background which i

Re: Why does it have red squiggly lines under it if it works perfectly fine and no errors happen when I run it?

2013-09-20 Thread Duncan Booth
William Bryant wrote: > Thanks a lot! I have one more question, is there any way I can make my > program work on android tablets and ipads? Because I'd like to use it > in school because we are learning statistics and we are allowed our > devices in school. > You can install SL4A on Android an

Re: What minimum should a person know before saying "I know Python"

2013-09-20 Thread Robert Kern
On 2013-09-20 12:43, rusi wrote: On Friday, September 20, 2013 3:28:00 PM UTC+5:30, Aseem Bansal wrote: I started Python 4 months ago. Largely self-study with use of Python documentation, stackoverflow and google. I was thinking what is the minimum that I must know before I can say that I know

Re: I want to print entry and exit message for functions , i have bunch of such function . How can i do it in decorator.

2013-09-20 Thread Peter Otten
bab mis wrote: > def fun: > print "entry" > . > . > print "exit" >>> def log(f): ... def g(*args, **kw): ... print "enter", f.__name__ ... try: ... return f(*args, **kw) ... finally: ... print "exit",

Re: Missing py2exe, needed 4 a gcode generator to engrave text in fancy ttf fonts in steel

2013-09-20 Thread Gene Heskett
On Friday 20 September 2013 08:48:44 Chris Angelico did opine: > On Fri, Sep 20, 2013 at 3:14 PM, Gene Heskett wrote: > > Can someone take a look at > > > > > e> > > > > Then this is what I get: > > gene@coyote:~/src/F-Eng

Re: Why does it have red squiggly lines under it if it works perfectly fine and no errors happen when I run it?

2013-09-20 Thread William Ray Wing
On Sep 20, 2013, at 3:01 AM, William Bryant wrote: [byte] > > Thanks a lot! I have one more question, is there any way I can make my > program work on android tablets and ipads? Because I'd like to use it in > school because we are learning statistics and we are allowed our devices in > scho

I want to print entry and exit message for functions , i have bunch of such function . How can i do it in decorator.

2013-09-20 Thread bab mis
def fun: print "entry" . . print "exit" -- https://mail.python.org/mailman/listinfo/python-list

Making it a MultiThread!

2013-09-20 Thread stas poritskiy
Hello All! I have a general question, i was posting here earlier while trying to troubleshoot a few things while developing an application, i was able to hit all of my goals, and make things work! Thank you all who contributed to my research, and again, sorry for poor formatting of the threads

Re: What minimum should a person know before saying "I know Python"

2013-09-20 Thread Tim Chase
On 2013-09-20 02:58, Aseem Bansal wrote: > I started Python 4 months ago. Largely self-study with use of > Python documentation, stackoverflow and google. I was thinking what > is the minimum that I must know before I can say that I know Python? It's a fuzzy line. A good while back, there was a t

Re: What minimum should a person know before saying "I know Python"

2013-09-20 Thread rusi
On Friday, September 20, 2013 3:28:00 PM UTC+5:30, Aseem Bansal wrote: > I started Python 4 months ago. Largely self-study with use of Python > documentation, stackoverflow and google. I was thinking what is the minimum > that I must know before I can say that I know Python? > > > > I come fro

Re: Tryign to send mail via a python script by using the local MTA

2013-09-20 Thread feedthetroll
Hi Jake! Am Freitag, 20. September 2013 05:56:57 UTC+2 schrieb Jake Angulo: > ... > I was waiting for smtplib to be mentioned... finally!  Instead people simply > answer philosophically.  I dont want to judge whether OP is a troll or not - As you do not seem to know the histrory of this topic I wi

What minimum should a person know before saying "I know Python"

2013-09-20 Thread Aseem Bansal
I started Python 4 months ago. Largely self-study with use of Python documentation, stackoverflow and google. I was thinking what is the minimum that I must know before I can say that I know Python? I come from a C background which is comparatively smaller. But as Python is comparatively much l

Re: Missing py2exe, needed 4 a gcode generator to engrave text in fancy ttf fonts in steel

2013-09-20 Thread Chris Angelico
On Fri, Sep 20, 2013 at 3:14 PM, Gene Heskett wrote: > Can someone take a look at > > > > Then this is what I get: > gene@coyote:~/src/F-Engrave-1.22_src$ python py2exe_setup.py > Traceback (most recent call last): > File "

Re: Tryign to send mail via a python script by using the local MTA

2013-09-20 Thread Robert Kern
On 2013-09-20 04:56, Jake Angulo wrote: Up Robert Kern's reply! I was waiting for smtplib to be mentioned... finally! Instead people simply answer philosophically. I dont want to judge whether OP is a troll or not - but i found a lot of arrogant repli

ANN: RPQueue 0.21

2013-09-20 Thread Josiah Carlson
Hello everyone, For those of you who didn't know, if you are interested in a Redis-backed time and/or fifo-queue with priorities, retries, etc., to be used with Python, one exists and is mature: it's called RPQueue, and it seeks to simplify your life of task execution. The recent changelog entries

Re: Why does it have red squiggly lines under it if it works perfectly fine and no errors happen when I run it?

2013-09-20 Thread William Bryant
On Friday, September 20, 2013 11:09:03 AM UTC+12, Ian wrote: > On Thu, Sep 19, 2013 at 1:22 PM, William Bryant wrote: > > > It was the other functions above it. Thanks. but I tried to do the while > > > loop - I don't think I did it right, I am novice in python and I am 13 years > > > old. > >