Python's Plugins for NetBeans 16

2023-04-04 Thread Carlos Fulqueris
sue that I should do differently. Thank you very much in advance. Best to all. Carlos Fulqueris +54 911 2251 9302 -- https://mail.python.org/mailman/listinfo/python-list

Re: FTP without username and password

2022-12-07 Thread Carlos Bermúdez
El 6/12/2022 a las 9:32 p. m., Dennis Lee Bieber escribió: On Tue, 6 Dec 2022 20:42:42 +0100, ^Bart declaimed the following: I tried the written Python code but it needs to insert a username and password so it's a different service than TFTP but maybe there's also a code to do it in Python! ;

SSL/TLS certificate verification suddenly broken, Python 3 on Windows 10

2021-02-16 Thread Carlos Andrews
t appearing. I then uninstalled Python completely, rebooted and installed Python 3.9.1, downloaded from python.org. The first to commands to issue were: C:\Users\Carlos>python -V Python 3.9.1 C:\Users\Carlos>pip list PackageVersion -- --- pip20.2.3 setuptools 49.2.1 Could

Re: subprocess check_output

2016-01-02 Thread Carlos Barera
Turns out it wasn't running against the server I thought it was. Apologies for the spam. -carlos On Wed, Dec 30, 2015 at 11:02 PM Cameron Simpson wrote: > On 30Dec2015 21:14, Carlos Barera wrote: > >Trying to run a specific command (ibstat) installed in /usr/sbin on an &

subprocess check_output

2015-12-30 Thread Carlos Barera
table=bash - running with (['/bin/bash', '-c' , "/usr/sbin/ibstat"]) Nothing worked ... Any idea? -carlos -- https://mail.python.org/mailman/listinfo/python-list

My last message(...)

2014-06-11 Thread Carlos Anselmo Dias
e capable of doing is integrated in one team of Python programmers to organize, manage, develop, implement everything related with ... My messages are with the subject 'python team(...)' + 'First time I looked at Python was(...)' (...) Best regards, Carlos -- https://mail.python.org/mailman/listinfo/python-list

Re: First time I looked at Python was(...)

2014-06-11 Thread Carlos Anselmo Dias
On 06/11/2014 05:42 AM, Michael Torrie wrote: On 06/10/2014 03:15 PM, Carlos Anselmo Dias wrote: Hi... I don't understand the 'problem' of several people ... I created one post because I've several projects, I'm looking for one team of experienced experts in Pyth

Re: First time I looked at Python was(...)

2014-06-11 Thread Carlos Anselmo Dias
On 06/11/2014 09:34 AM, alister wrote: On Tue, 10 Jun 2014 22:15:29 +0100, Carlos Anselmo Dias wrote: Hi... I don't understand the 'problem' of several people ... I created one post because I've several projects, I'm looking for one team of experienced expert

Re: First time I looked at Python was(...)

2014-06-10 Thread Carlos Anselmo Dias
ffic from search engines ... it will be possible to think in other main sections, organize everything,etc ... (...) Best regards, Carlos -- https://mail.python.org/mailman/listinfo/python-list

Re: First time I looked at Python was(...)

2014-06-10 Thread Carlos Anselmo Dias
asoning ... not like someone absurd who is not capable of and tries to demonstrate that is the greatest ... these people should get real ... Regards, Carlos On 06/10/2014 09:53 PM, Larry Martell wrote: On Tue, Jun 10, 2014 at 4:51 PM, Mark Lawrence wrote: On 10/06/2014 21:41, leo kirotawa

Re: First time I looked at Python was(...)

2014-06-10 Thread Carlos Anselmo Dias
Troll is you ... Get real ... On 06/10/2014 09:41 PM, leo kirotawa wrote: Gzz, Guys I'm from Brazil too, and I'm ashamed for this troll. And sorry by his terrible taste in music. Wondering now about moderation , have we one? []'s On Tue, Jun 10, 2014 at 5:07 PM, Carlos Anse

Re: First time I looked at Python was(...)

2014-06-10 Thread Carlos Anselmo Dias
o answered like this ... I can't wait to see your capacity to determine if your brains make sense or not ... As far as I'm concerned ... and when you read what I wrote ... I'm certainly less worried than you ... Best regards, Carlos On 06/10/2014 09:07 PM, Carlos Anselm

Re: First time I looked at Python was(...)

2014-06-10 Thread Carlos Anselmo Dias
Terry Jan Reedy ... https://www.youtube.com/watch?v=HbGHq2aUXDU (yhis one is portuguese ... I'm someone who did very probably more webpages than you in your entire life ... Do you exist? On 06/10/2014 08:57 PM, Terry Reedy wrote: On 6/10/2014 1:19 PM, Carlos Anselmo Dias wrote:

Re: First time I looked at Python was(...)

2014-06-10 Thread Carlos Anselmo Dias
sed/imported ... with 20 millions of new thumbs every month ... 1 million of records are +- 20 million of thumbs ... (...) Best regards, Carlos On 06/10/2014 04:34 PM, Carlos Anselmo Dias wrote: On 06/10/2014 03:57 PM, Søren wrote: Hi ... That's great and you're one p

Re: First time I looked at Python was(...)

2014-06-10 Thread Carlos Anselmo Dias
s!" I'm not writing more ... I have been on this mail group for a relatively short time and I'm chocked to see the amount of needless posts in general. Is it too much to ask for some mail-group discipline? Carlos and some others, please phrase your questions or requests c

Re: First time I looked at Python was(...)

2014-06-10 Thread Carlos Anselmo Dias
On 06/10/2014 02:38 PM, Rustom Mody wrote: On Tuesday, June 10, 2014 6:55:27 PM UTC+5:30, Carlos Anselmo Dias wrote: https://www.youtube.com/watch?v=N1EwYpfUFQU (...) http://huntingtonleadership.com/blog/entry/communication-is-a-two-way-street.html Making part of the team ... https

Re: First time I looked at Python was(...)

2014-06-10 Thread Carlos Anselmo Dias
On 06/10/2014 03:39 PM, Mark H Harris wrote: On 6/9/14 3:54 PM, Carlos Anselmo Dias wrote: Hi ... I'm finishing my messages with this ... The first time I looked into Python was +- 10 years ago ... and in the last 10 years I did not spent more than 30 minutes looking at ... but I li

Re: First time I looked at Python was(...)

2014-06-10 Thread Carlos Anselmo Dias
On 06/10/2014 04:09 PM, Shiyao Ma wrote: I wonder if it's opensourced. I am kinda interested in its implementation. On the whole, the performance is rather good. 2014-06-10 22:39 GMT+08:00 Mark H Harris <mailto:harrismh...@gmail.com>>: On 6/9/14 3:54 PM, Carlos Anse

Re: First time I looked at Python was(...)

2014-06-10 Thread Carlos Anselmo Dias
On 06/10/2014 03:24 PM, Rustom Mody wrote: On Tuesday, June 10, 2014 7:48:05 PM UTC+5:30, Carlos Anselmo Dias wrote: On 06/10/2014 03:07 PM, Ned Batchelder wrote: On 6/10/14 9:59 AM, Carlos Anselmo Dias wrote: On 06/10/2014 02:47 PM, Grant Edwards wrote: On 2014-06-10, Carlos Anselmo Dias

Re: First time I looked at Python was(...)

2014-06-10 Thread Carlos Anselmo Dias
On 06/10/2014 03:07 PM, Ned Batchelder wrote: On 6/10/14 9:59 AM, Carlos Anselmo Dias wrote: On 06/10/2014 02:47 PM, Grant Edwards wrote: On 2014-06-10, Carlos Anselmo Dias wrote: English is not my maternal language ... And stringing together a bunch of phrases with elipses without every

Re: First time I looked at Python was(...)

2014-06-10 Thread Carlos Anselmo Dias
On 06/10/2014 02:47 PM, Grant Edwards wrote: On 2014-06-10, Carlos Anselmo Dias wrote: English is not my maternal language ... And stringing together a bunch of phrases with elipses without every completing a sentence is the way things are done in your native language? I doubt it. Hi

Re: First time I looked at Python was(...)

2014-06-10 Thread Carlos Anselmo Dias
On 06/10/2014 02:16 PM, alister wrote: On Tue, 10 Jun 2014 14:09:52 +0100, Carlos Anselmo Dias wrote: Hi ... English is not my maternal language ... I wrote what I consider the most appropriated taking in consideration that the summary of the description might be enough to help people think

Re: First time I looked at Python was(...)

2014-06-10 Thread Carlos Anselmo Dias
On 06/10/2014 01:47 PM, alister wrote: On Tue, 10 Jun 2014 13:39:50 +0100, Carlos Anselmo Dias wrote: On 06/10/2014 01:10 PM, Ben Finney wrote: Carlos Anselmo Dias writes: Following my post Copy/paste of python team(...) + script attachment(...) I find those screeds very difficult to

Re: First time I looked at Python was(...)

2014-06-10 Thread Carlos Anselmo Dias
On 06/10/2014 01:10 PM, Ben Finney wrote: Carlos Anselmo Dias writes: Following my post Copy/paste of python team(...) + script attachment(...) I find those screeds very difficult to read. One significant improvement would be to write sentences *as* sentences, without trailing them away

Re: First time I looked at Python was(...)

2014-06-10 Thread Carlos Anselmo Dias
On 06/10/2014 11:14 AM, alister wrote: On Mon, 09 Jun 2014 21:54:25 +0100, Carlos Anselmo Dias wrote: Hi ... I'm finishing my messages with this ... The first time I looked into Python was +- 10 years ago ... and in the last 10 years I did not spent more than 30 minutes looking at ...

First time I looked at Python was(...)

2014-06-09 Thread Carlos Anselmo Dias
is, etc ... you're very probably very capable of ... (...) Best regards, Carlos -- https://mail.python.org/mailman/listinfo/python-list

Re: embedding ipython kernel in a thread

2014-06-09 Thread Carlos Anselmo Dias
On 06/09/2014 04:07 PM, Carlos Anselmo Dias wrote: On 06/09/2014 03:55 PM, Gelonida N wrote: Not sure what you are trying to tell me with attached PHP code. Hi ... Nothing important I'd write for what you're seeking ... I'm not one Python expert ... just reading fast

Re: embedding ipython kernel in a thread

2014-06-09 Thread Carlos Anselmo Dias
ing issue if you can control that looking at n machines (...) ... depending on the scope and 'return back' to execute what should be executed I'd write ... Instead of looking to one single machine look at n machines(...) Regards, Carlos -- https://mail.python.org/mailman/listinfo/python-list

Re: embedding ipython kernel in a thread

2014-06-09 Thread Carlos Anselmo Dias
ng.Thread(target=other_thread).start() main_thread() Whatever you're trying to do(...) ... if you look at the script I provide you in attach and if you can think how usefull it would be to control exponencially what you need ... that's certainly one best approach ... https://www.y

Re: OT: This Swift thing

2014-06-08 Thread Carlos Anselmo Dias
the post with the subject 'python team(...)' To put this working and optimized is really fascinating (...) Regards, Carlos -- https://mail.python.org/mailman/listinfo/python-list

Python Team(...)

2014-06-08 Thread Carlos Anselmo Dias
ocus in n millions of people to determine the particularity of each person/group of people/enterprise(s)/etc ... and this can lead to solutions of advertisement(...) the SA of consulting will work in this issue too ... and I see advertisement as another SA ... and we'll develop our so

Looking for Django/Python programmer in Jakarta

2014-01-08 Thread carlos
For working in a startup environment. Immediate incorporation. Please send your CV to tal...@zocko.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Error connecting to MySQL from Python

2013-10-12 Thread Carlos Ortiz
On Saturday, October 12, 2013 12:13:05 PM UTC-5, MRAB wrote: > On 12/10/2013 17:09, carlos.o...@gmail.com wrote: > > > Hello guys I am currently working in a python project at my school. First I > > want to make clear that I'm not a python programmer (I was just called to > > put out the flames

Re: Error connecting to MySQL from Python

2013-10-12 Thread Carlos Ortiz
On Saturday, October 12, 2013 11:46:49 AM UTC-5, Jussi Piitulainen wrote: > carlos.o...@gmail.com writes: > > > > > So I wrote my method like this: > > ... > > > cnxOMC = mysql.connector.connect(user, > > >password, > > >

Error connecting to MySQL from Python

2013-10-12 Thread carlos . ortiz . asm
Hello guys I am currently working in a python project at my school. First I want to make clear that I'm not a python programmer (I was just called to put out the flames in this project because no one else would and I was brave enough to say yes). I have the following problem here. I have to wri

Re: Print statement not printing as it suppose to

2013-09-20 Thread Emiliano Carlos de Moraes Firmino
s ", total ) > > > OUTPUT > > Lamborghini tune-up:1000 > > Manhatan apartment: 2300 > > Random Gifts: 234 > ('\nThe total amount required is ', 3534) > > > > ===> the problem is obviously on the last print statement that is supposed > t

RE: Changing filenames from Greeklish => Greek (subprocess complain)

2013-06-12 Thread Carlos Nepomuceno
' Server: ApacheBooster/1.6' isn't a signature of httpd. I think you are really running something different. > From: nob...@nowhere.com > Subject: Re: Changing filenames from Greeklish => Greek (subprocess complain) > Date: Tue, 4 Jun 2013 14:01:48 +0100 > To: python-list@python.org > > On Tue,

RE: Short-circuit Logic

2013-06-12 Thread Carlos Nepomuceno
> From: oscar.j.benja...@gmail.com > Date: Thu, 30 May 2013 23:57:28 +0100 > Subject: Re: Short-circuit Logic > To: carlosnepomuc...@outlook.com > CC: python-list@python.org > > On 30 May 2013 22:03, Carlos Nepomuceno wrote: &

RE: Python #ifdef

2013-06-12 Thread Carlos Nepomuceno
> Date: Mon, 3 Jun 2013 12:05:49 +1000 > Subject: Re: Python #ifdef > From: ros...@gmail.com > To: python-list@python.org [...] > Ah. I actually wasn't aware of m4's use with sendmail. I first met it > as the aforementioned PHP preprocessor, simply by Googli

RE: Changing filenames from Greeklish => Greek (subprocess complain)

2013-06-12 Thread Carlos Nepomuceno
> To: python-list@python.org > From: breamore...@yahoo.co.uk > Subject: Re: Changing filenames from Greeklish => Greek (subprocess complain) > Date: Sun, 2 Jun 2013 15:51:31 +0100 [...] > "Steve is going for the pink ball - and for those of you who are > wat

RE: Total Beginner - Extracting Data from a Database Online (Screenshot)

2013-06-12 Thread Carlos Nepomuceno
> Date: Tue, 28 May 2013 07:40:07 +0100 > Subject: RE: Total Beginner - Extracting Data from a Database Online > (Screenshot) > From: pconn...@gmail.com [...] > > > > c11 = [tables[0][r][10] for r in range(len(tables[0]))] > > Or rather: > > c11 = [row[1

RE: How to: Setuptools

2013-06-12 Thread Carlos Nepomuceno
> Date: Mon, 27 May 2013 21:26:21 -0700 > Subject: Re: How to: Setuptools > From: rustompm...@gmail.com > To: python-list@python.org > > On May 28, 9:09 am, Carlos Nepomuceno > wrote: >> --

RE: Encodign issue in Python 3.3.1 (once again)

2013-06-12 Thread Carlos Nepomuceno
> Date: Tue, 28 May 2013 08:18:06 +1000 > Subject: Re: Encodign issue in Python 3.3.1 (once again) > From: ros...@gmail.com > To: python-list@python.org [...] > > This is something that's utterly trivial, yet a window to your mind. > It's like boarding an ai

RE: Cutting a deck of cards

2013-06-12 Thread Carlos Nepomuceno
> To: python-list@python.org > From: breamore...@yahoo.co.uk [...] > See this > http://docs.python.org/3/whatsnew/3.3.html#pep-397-python-launcher-for-windows > > -- > If you're using GoogleCrap™ please read this > http://wiki.python.org/moin/GoogleGroupsPyt

RE: Cutting a deck of cards

2013-06-12 Thread Carlos Nepomuceno
> From: usenetm...@solar-empire.de > Subject: Re: Cutting a deck of cards > Date: Sun, 26 May 2013 22:13:55 +0200 > To: python-list@python.org > > Carlos Nepomuceno wrote: >> >>>

RE: Python Magazine

2013-06-12 Thread Carlos Nepomuceno
> Date: Sun, 26 May 2013 15:17:11 +1000 > Subject: Re: Python Magazine > From: ros...@gmail.com [...] >> Blocking a whole network (/65) is totally undesirable and may even become >> illegal. > > Blocking a /64 is exactly the same as blocking a /32 with NAT

RE: Simple algorithm question - how to reorder a sequence economically

2013-06-12 Thread Carlos Nepomuceno
> Date: Fri, 24 May 2013 17:28:07 -0700 > Subject: Re: Simple algorithm question - how to reorder a sequence > economically > From: peter.h.m.bro...@gmail.com > To: python-list@python.org [...] > If the scenario could be modelled mathematically, then there'

RE: Python Magazine

2013-06-12 Thread Carlos Nepomuceno
I don't think IPv6 will change anything about NAPT usage. In fact, I guess, it will probably will make NAPT usage even more important and needed. -- http://mail.python.org/mailman/listinfo/python-list

RE: how to detect the character encoding in a web page ?

2013-06-09 Thread Carlos Nepomuceno
Try this: ### get_charset.py ### import re import urllib2 def get_charset(url): resp = urllib2.urlopen(url) #retrieve charset from header headers = ''.join(resp.headers.headers) charset_from_header_list = re.findall('charset=(.*)', headers) charset_from_header = charset_from_

RE: Listing modules from all installed packages

2013-06-08 Thread Carlos Nepomuceno
Just realized that you've asked for installed packages. Perhaps the following will do the trick. I don't know why the 'lib-tk' isn't included. Why not? toplevel_packages = ['%s\\%s'%(ml.path,name)for ml,name,ispkg in pkgutil.iter_modules() if ispkg] print '\n'.join(toplevel_packages) > Date: Sa

RE: Listing modules from all installed packages

2013-06-08 Thread Carlos Nepomuceno
print '\n'.join([re.findall("from '(.*)'",str(v))[0] for k,v in sys.modules.items() if str(v).find('from')>-1]) > Date: Sat, 8 Jun 2013 21:30:48 -0700 > Subject: Listing modules from all installed packages > From: jpha...@gmail.com > To: python-list@python.org > > Hi, > > I'm trying to write a

RE: Idiomatic Python for incrementing pairs

2013-06-07 Thread Carlos Nepomuceno
:16:22 -0500 > From: python.l...@tim.thechases.com > To: carlosnepomuc...@outlook.com > CC: python-list@python.org > Subject: Re: Idiomatic Python for incrementing pairs > > On 2013-06-08 07:04, Carlos Nepomuceno wrote: > > alpha, beta = (1 if some_calcu

RE: Idiomatic Python for incrementing pairs

2013-06-07 Thread Carlos Nepomuceno
alpha, beta = (1 if some_calculation(params) else 0, 1 if other_calculation(params) else 0) > Date: Fri, 7 Jun 2013 21:32:39 -0500 > From: python.l...@tim.thechases.com > To: python-list@python.org > Subject: Idiomatic Python for incrementing pairs > > Playing around, I've been trying to figure

RE: Source code to identify user through browser?

2013-06-05 Thread Carlos Nepomuceno
> Date: Wed, 5 Jun 2013 08:18:56 -0700 > Subject: Re: Source code to identify user through browser? > From: rustompm...@gmail.com [...] > > What do you mean by user? > > Ha! Nice question. Not in direct answer but here's E.W Dijkstra > defining 'user': > > [from http://www.cs.utexas.edu/~EWD/tra

RE: Source code to identify user through browser?

2013-06-05 Thread Carlos Nepomuceno
> From: nos...@nospam.com > Subject: Source code to identify user through browser? > Date: Wed, 5 Jun 2013 15:08:54 +0200 > To: python-list@python.org > > Hello > > I was wondering if some Python module were available to identify a > user through their browser, like it's done on the Panopticlick

RE: I just wrote my first Python program a guessing game and it exits with an error I get this.

2013-06-05 Thread Carlos Nepomuceno
> Date: Wed, 5 Jun 2013 07:40:52 -0700 > Subject: I just wrote my first Python program a guessing game and it exits > with an error I get this. > From: armandomontesdeoca...@gmail.com > To: python-list@python.org > > Traceback (most recent call last): > File "Guessing_Game.py", line 32, in

RE: Python Magazine

2013-06-05 Thread Carlos Nepomuceno
> Date: Wed, 5 Jun 2013 00:37:53 -0700 > Subject: Re: Python Magazine > From: rama29...@gmail.com [...] > > Do you have sponsors? Advertisers? What's the plan? > Thanks Carlos, > Right now we haven't engaged with sponsors or advertisers. Thinking > whether

RE: Changing filenames from Greeklish => Greek (subprocess complain)

2013-06-04 Thread Carlos Nepomuceno
> Date: Tue, 4 Jun 2013 18:28:17 -0700 > Subject: Re: Changing filenames from Greeklish => Greek (subprocess complain) > From: wuwe...@gmail.com [...] > Just a reminder to everyone that the OP originally went by the name of > Ferrous Cranus: > http://redwing.hutman.net/~mreed/warriorshtm/ferouscran

RE: Do you consider Python a 4GL? Why (not)?

2013-06-04 Thread Carlos Nepomuceno
I don't have an opinion yet, but I've found contradictory evidence from many sources, such as: "A domain-specific language (DSL) is a type of programming language or specification language in software development and domain engineering dedicated to a particular problem domain, [...] The opposit

Do you consider Python a 4GL? Why (not)?

2013-06-04 Thread Carlos Nepomuceno
Do you consider Python a 4GL? Why (not)? -- http://mail.python.org/mailman/listinfo/python-list

RE: How to increment date by week?

2013-06-04 Thread Carlos Nepomuceno
> Date: Tue, 4 Jun 2013 14:31:07 -0700 > Subject: How to increment date by week? > From: r90...@gmail.com > To: python-list@python.org > >Starting on any day/date, I would like to create a one year list, by week > (start date could be any day of week). Having a numerical week index in > fro

RE: create new python file

2013-06-04 Thread Carlos Nepomuceno
> Date: Tue, 4 Jun 2013 11:54:52 -0700 > Subject: Re: create new python file > From: kakararunachalserv...@gmail.com [...] > > > > > So, can i program within just by the print statement? Or do i have to do > > > something else. > > > > > > > > it is completely indecipherable (to me at least)

RE: Source code as text/plain

2013-06-04 Thread Carlos Nepomuceno
Thank you! > Date: Tue, 4 Jun 2013 17:51:08 +0200 > From: andiper...@gmail.com > To: python-list@python.org > Subject: Re: Source code as text/plain > > On 04.06.2013 00:34, Carlos Nepomuceno wrote: > > > >> Date: Mon, 3

RE: How to get an integer from a sequence of bytes

2013-06-04 Thread Carlos Nepomuceno
> From: invalid@invalid.invalid > Subject: Re: How to get an integer from a sequence of bytes > Date: Tue, 4 Jun 2013 13:42:46 + > To: python-list@python.org [...] > VN designs are still very common in smaller CPUs (embedded stuff). DSPs perhaps... not CPUs. Even ARMs are Harvard variants.

RE: Apache and suexec issue that wont let me run my python script

2013-06-04 Thread Carlos Nepomuceno
> Date: Tue, 4 Jun 2013 05:57:54 -0700 > Subject: Re: Apache and suexec issue that wont let me run my python script > From: nikos.gr...@gmail.com > To: python-list@python.org > > root@nikos [~]# nano /usr/local/apache/conf/httpd.conf > > and altering user nobody to user root. > > root@nikos [~

RE: Beginner question

2013-06-04 Thread Carlos Nepomuceno
> From: steve+comp.lang.pyt...@pearwood.info > Subject: Re: Beginner question > Date: Tue, 4 Jun 2013 12:35:59 + > To: python-list@python.org > > On Tue, 04 Jun 2013 14:23:39 +0300, Carlos Nepomuceno wrote: > > > Started answering... now I'm asking! lol >

RE: Beginner question

2013-06-04 Thread Carlos Nepomuceno
> From: steve+comp.lang.pyt...@pearwood.info > Subject: Re: Beginner question > Date: Tue, 4 Jun 2013 12:25:27 + > To: python-list@python.org > > On Tue, 04 Jun 2013 14:53:29 +0300, Carlos Nepomuceno wrote: > > > That's exactly the same! > >&g

RE: Apache and suexec issue that wont let me run my python script

2013-06-04 Thread Carlos Nepomuceno
> Date: Tue, 4 Jun 2013 04:48:34 -0700 > Subject: Re: Apache and suexec issue that wont let me run my python script > From: nikos.gr...@gmail.com > To: python-list@python.org > > Τη Τρίτη, 4 Ιουνίου 2013 2:42:52 μ.μ. UTC+3, ο χρήστης Carlos Nepomuceno > έγραψε: > &

RE: Apache and suexec issue that wont let me run my python script

2013-06-04 Thread Carlos Nepomuceno
> Date: Tue, 4 Jun 2013 04:36:06 -0700 > Subject: Re: Apache and suexec issue that wont let me run my python script > From: nikos.gr...@gmail.com > To: python-list@python.org > > Τη Τρίτη, 4 Ιουνίου 2013 2:27:25 μ.μ. UTC+3, ο χρήστης Carlos Nepomuceno > έγραψε: > >

RE: Apache and suexec issue that wont let me run my python script

2013-06-04 Thread Carlos Nepomuceno
Post your httpd.conf to pastebin and send us the link... > Date: Tue, 4 Jun 2013 04:38:44 -0700 > Subject: Re: Apache and suexec issue that wont let me run my python script > From: nikos.gr...@gmail.com > To: python-list@python.org > > root@nikos [/home/nikos/www/data/apps]# ls -l /usr/local/apa

RE: Beginner question

2013-06-04 Thread Carlos Nepomuceno
>On 4 Jun 2013 12:28, "Carlos Nepomuceno" wrote: [...] >> What's going on? Is there a way to make dict() to resolve the variables? >Well yes. >dict(**{a:0,b:1}) >The dict() constructor makes a dictionary from keyword arguments. So you just >have to feed it

RE: Apache and suexec issue that wont let me run my python script

2013-06-04 Thread Carlos Nepomuceno
: Re: Apache and suexec issue that wont let me run my python script > From: nikos.gr...@gmail.com > To: python-list@python.org > > Τη Τρίτη, 4 Ιουνίου 2013 2:04:36 μ.μ. UTC+3, ο χρήστης Carlos Nepomuceno > έγραψε: > > send the output of the following command: > > ps aux|

RE: Beginner question

2013-06-04 Thread Carlos Nepomuceno
Started answering... now I'm asking! lol I've tried to use dict() to create a dictionary to use like the switch statement providing variable names instead of literals, such as: >>> a='A' >>> b='B' >>> {a:0,b:1}#here the variables are resolved {'A': 0, 'B': 1} That's ok! But if I use dict()

RE: Apache and suexec issue that wont let me run my python script

2013-06-04 Thread Carlos Nepomuceno
send the output of the following command: ps aux|grep httpd > Date: Tue, 4 Jun 2013 03:56:19 -0700 > Subject: Re: Apache and suexec issue that wont let me run my python script > From: nikos.gr...@gmail.com > To: python-list@python.org > > root@nikos [/home/nikos/www/cgi-bin]# chmod 755 /var/log

RE: Beginner question

2013-06-04 Thread Carlos Nepomuceno
> Date: Tue, 4 Jun 2013 00:53:04 -0700 > Subject: Re: Beginner question > From: john_lada...@sbcglobal.net > To: python-list@python.org > > On Monday, June 3, 2013 11:46:03 PM UTC-7, Carlos Nepomuceno wrote: > > That doesn't even works because input() is the same

RE: Beginner question

2013-06-03 Thread Carlos Nepomuceno
That doesn't even works because input() is the same as eval(raw_input()). So you'll get a NameError exception. I think you know that. Perhaps you mean raw_input() instead of input(). In that case the answer is yes, it can be more 'efficient' because the if-then-else clause always breaks the whil

RE: Apache and suexec issue that wont let me run my python script

2013-06-03 Thread Carlos Nepomuceno
> Date: Mon, 3 Jun 2013 17:23:16 -0600 > From: torr...@gmail.com > To: python-list@python.org > Subject: Re: Apache and suexec issue that wont let me run my python script > > On 06/03/2013 04:13 PM, Carlos Nepomuceno wrote: >>

RE: [RELEASED] Python 2.7.5

2013-06-03 Thread Carlos Nepomuceno
Thank you! :) > To: python-list@python.org > From: breamore...@yahoo.co.uk [...] >> What still doesn't work in Python 3? > > http://python3wos.appspot.com/ > >> >> Is Python 2.7.5 last (final, never to be updated) revision or will it still >> be supported?

RE: How to get an integer from a sequence of bytes

2013-06-03 Thread Carlos Nepomuceno
> Date: Mon, 3 Jun 2013 15:41:41 -0700 > Subject: Re: How to get an integer from a sequence of bytes > From: drsali...@gmail.com > To: python-list@python.org [...] > Today though, it would be difficult to sell a conventional (Von > Neumann) computer that didn'

RE: [RELEASED] Python 2.7.5

2013-06-03 Thread Carlos Nepomuceno
> From: na...@animats.com > Subject: Re: [RELEASED] Python 2.7.5 > Date: Mon, 3 Jun 2013 12:20:43 -0700 [...] > 3.x is a different language, with different libraries, and lots of > things that still don't work. Many old applications will never > be converted

RE: Source code as text/plain

2013-06-03 Thread Carlos Nepomuceno
> Date: Mon, 3 Jun 2013 09:06:46 +1000 > From: c...@zip.com.au > To: c...@rebertia.com [...] > http://hg.python.org/cpython/raw-file/tip/Lib/string.py What's the 'tip' tag? -- http://mail.python.org/mailman/listinfo/pyt

RE: Apache and suexec issue that wont let me run my python script

2013-06-03 Thread Carlos Nepomuceno
> From: a...@sci.fi > Subject: Re: Apache and suexec issue that wont let me run my python script > Date: Mon, 3 Jun 2013 18:20:00 +0300 > To: python-list@python.org > > Νικόλαος Κούρας writes: > >> [code] >> root@nikos [/home/nikos/www/cgi-bin]# chmod g+w /

RE: [Python-Dev] New FreeBSD 10.0-CURRENT buildbot

2013-06-03 Thread Carlos Nepomuceno
> Date: Sun, 2 Jun 2013 13:43:24 -0700 > Subject: Re: [Python-Dev] New FreeBSD 10.0-CURRENT buildbot > From: drsali...@gmail.com > To: carlosnepomuc...@outlook.com > CC: python-...@python.org > > > On Sun, Jun 2, 2013 at 12:

RE: Changing filenames from Greeklish => Greek (subprocess complain)

2013-06-02 Thread Carlos Nepomuceno
Hey guys! Come on!!! Repeat with me: "Googsfraba!" http://www.youtube.com/watch?v=Fscuv4PIjws lol > To: python-list@python.org > From: breamore...@yahoo.co.uk > Subject: Re: Changing filenames from Greeklish => Greek (subprocess complain) > Date: Sun, 2

RE: Python Magazine

2013-06-01 Thread Carlos Nepomuceno
> Date: Fri, 31 May 2013 04:11:06 -0700 > Subject: Re: Python Magazine > From: rama29...@gmail.com > To: python-list@python.org > > Hello all, > Was busy with work. Finally finished the job of registering the domain name. > Will be live soon. The url is http

RE: Short-circuit Logic

2013-06-01 Thread Carlos Nepomuceno
> From: steve+comp.lang.pyt...@pearwood.info > Subject: Re: Short-circuit Logic > Date: Fri, 31 May 2013 08:45:13 + > To: python-list@python.org > > On Fri, 31 May 2013 17:09:01 +1000, Chris Angelico wrote: > >> On Fri, May 31, 2013 at 3:13 PM, Steven D'

RE: Short-circuit Logic

2013-05-30 Thread Carlos Nepomuceno
> From: steve+comp.lang.pyt...@pearwood.info > Subject: Re: Short-circuit Logic > Date: Fri, 31 May 2013 05:13:51 + > To: python-list@python.org > > On Fri, 31 May 2013 00:03:13 +0300, Carlo

RE: Short-circuit Logic

2013-05-30 Thread Carlos Nepomuceno
> To: python-list@python.org > From: wlfr...@ix.netcom.com > Subject: Re: Short-circuit Logic > Date: Thu, 30 May 2013 19:38:31 -0400 > > On Thu, 30 May 2013 08:48:59 -0400, Roy Smith declaimed > the following in gmane.comp.python.general: > >> >> Analysis

RE: Building a HPC data assimilation system using Python?

2013-05-30 Thread Carlos Nepomuceno
Hi Matthew! I'm on a similar quest! I'm still learning the basics of Python so I may not be a good source of information. I'm reading a lot of stuff about how to use Python for the parallelization of code and data and found BSP[1] to be very interesting and perhaps worth the time to learn it!

RE: Python toplevel in a Web page

2013-05-30 Thread Carlos Nepomuceno
> From: nob...@nowhere.org > Subject: Python toplevel in a Web page > Date: Thu, 30 May 2013 14:20:18 +0200 > To: python-list@python.org > > Hello, > I wonder if I can find some source code example > of a Python 3 toplevel box in a Web page. > Something simp

RE: Short-circuit Logic

2013-05-30 Thread Carlos Nepomuceno
> From: steve+comp.lang.pyt...@pearwood.info > Subject: Re: Short-circuit Logic > Date: Thu, 30 May 2013 05:42:17 + > To: python-list@python.org [...] > Here's another way, mathematically equivalent (although not necessarily > equivalent using floating p

RE: Piping processes works with 'shell = True' but not otherwise.

2013-05-29 Thread Carlos Nepomuceno
Am 27.05.2013 02:14 schrieb Carlos Nepomuceno: >> pipes usually consumes disk storage at '/tmp'. > > Good that my pipes don't know about that. > > Why should that happen? > > > Thomas > -- > http://mail.python.org/mailman/listinfo/python-list Ooops!

RE: Python #ifdef

2013-05-28 Thread Carlos Nepomuceno
> Date: Tue, 28 May 2013 18:25:59 -0400 > Subject: Re: Python #ifdef > From: joel.goldst...@gmail.com > To: breamore...@yahoo.co.uk > CC: python-list@python.org [...] > > my original response was from cell phone. I just answered that you > can't do ifdefs,

RE: Future standard GUI library

2013-05-28 Thread Carlos Nepomuceno
> From: felip...@gmx.net > Subject: Re: Future standard GUI library > Date: Tue, 28 May 2013 19:26:55 +0200 > To: python-list@python.org > >> Please give me an example of a "suitable transport layer for a RPC >> protocol". > > I won't give you an example, bu

RE: Python #ifdef

2013-05-28 Thread Carlos Nepomuceno
> From: invalid@invalid.invalid > Subject: Re: Python #ifdef > Date: Tue, 28 May 2013 20:42:34 + > To: python-list@python.org [...] > Here's the important lesson from this thread: > > Instead of asking "how do I write X in Python" where yoy've assumed X

RE: Python #ifdef

2013-05-28 Thread Carlos Nepomuceno
> Date: Tue, 28 May 2013 21:34:36 +0100 > Subject: RE: Python #ifdef > From: fabiosantos...@gmail.com > To: carlosnepomuc...@outlook.com > CC: python-list@python.org > > > On 28 May 2013 21:26, "Carlos Nepomuceno" >

RE: Python #ifdef

2013-05-28 Thread Carlos Nepomuceno
> From: invalid@invalid.invalid > Subject: Re: Python #ifdef [...] > You're trying to make this a lot harder than it really is: > > if sys.version_info[0] == 3: > def original(n): > m = 0 > for b in n.to_bytes(6, 'big'): > m = 256*m + b > return m > else: >

RE: Python #ifdef

2013-05-28 Thread Carlos Nepomuceno
Thank you! I made it run like the following. What do you think about that? IS there a better way? #The following runs on Python 2.7 sc3=''' # Python 3 def original(n):     m = 0     for b in n.to_bytes(6, 'big'):     m = 256*m + b     return m ''' if sys.version_info[0] == 3:     exec(sc3)

Python #ifdef

2013-05-28 Thread Carlos Nepomuceno
Are there Python 'preprocessor directives'? I'd like to have something like '#ifdef' to mix code from Python 2 and 3 in a single file. Is that possible? How? -- http://mail.python.org/mailman/listinfo/python-list

RE: Short-circuit Logic

2013-05-28 Thread Carlos Nepomuceno
> Date: Tue, 28 May 2013 01:39:09 -0700 > Subject: Re: Short-circuit Logic > From: abdulsh...@gmail.com [...] >> What Steven wrote is entirely correct: sys.float_info.epsilon is the >> >> smallest value x such that 1.0 and 1.0+x have distinct floating-point

  1   2   3   >