Re: The increasing disempowerment of the computer user

2013-12-13 Thread David Hutto
Three word response...Conglomerate business intelligence. On Thu, Dec 12, 2013 at 5:59 AM, Steven D'Aprano < steve+comp.lang.pyt...@pearwood.info> wrote: > On Thu, 12 Dec 2013 13:35:37 +1100, Ben Finney wrote: > > > Hmm, interesting Freudian slip there. I meant “cloud computing”, of > > course.

Re: request for guidance

2013-12-13 Thread Chris Angelico
On Sat, Dec 14, 2013 at 4:36 PM, rusi wrote: > For the young-n-enthu "Make haste slowly!" is usually good advice As the Ancient Romans said, "festina lente". ChrisA [1] http://math.boisestate.edu/gas/iolanthe/web_op/iol13.html -- https://mail.python.org/mailman/listinfo/python-list

Re: request for guidance

2013-12-13 Thread rusi
On Saturday, December 14, 2013 10:41:09 AM UTC+5:30, David Hutto wrote: > Don't get me wrong, I didn't mean reinventing the wheel is a bad thing, just > that once you get the hang of things, you need to display some creativity in > your work to set yourself apart from the rest. > Nowadays, everyo

Re: request for guidance

2013-12-13 Thread David Hutto
Don't get me wrong, I didn't mean reinventing the wheel is a bad thing, just that once you get the hang of things, you need to display some creativity in your work to set yourself apart from the rest. Nowadays, everyone's a programmer. If it weren't for reinventing the wheel, then we wouldn't hav

Re: request for guidance

2013-12-13 Thread Chris Angelico
On Sat, Dec 14, 2013 at 3:48 PM, David Hutto wrote: > In my opinion, a novice always tries to reinvent the wheel. Take for example > a simple text editor. Which isn't a bad thing. Especially in that particular case, it's good to try your hand at writing a text editor - most of the hard grunt-work

Re: request for guidance

2013-12-13 Thread David Hutto
In my opinion, a novice always tries to reinvent the wheel. Take for example a simple text editor. But I would go with something that shows your creativity...like a game. It's not just about code, but graphics/enhancements, and other evolutions of the open source nature of programming. On Fri,

Re: Using Python inside Programming Without Coding Technology (PWCT) environment.

2013-12-13 Thread Jason Friedman
> > http://www.codeproject.com/Articles/693408/Using-Python-inside-Programming-Without-Coding-Tec > That page references a license file at http://www.codeproject.com/info/cpol10.aspx but _that_ page would display for me. -- https://mail.python.org/mailman/listinfo/python-list

Re: Is it possible to mix python with php?

2013-12-13 Thread Roy Smith
In article , JL wrote: > Python is my favorite language. Very often, I am forced to use other > languages like php because of better library support for web applications. Is > it possible to write functions in python and then get php to call these > functions? At one time, Songza was half PH

Re: Is it possible to mix python with php?

2013-12-13 Thread Chris Angelico
On Sat, Dec 14, 2013 at 12:42 PM, JL wrote: > Python is my favorite language. Very often, I am forced to use other > languages like php because of better library support for web applications. Is > it possible to write functions in python and then get php to call these > functions? What sort of

Is it possible to mix python with php?

2013-12-13 Thread JL
Python is my favorite language. Very often, I am forced to use other languages like php because of better library support for web applications. Is it possible to write functions in python and then get php to call these functions? Thank you -- https://mail.python.org/mailman/listinfo/python-list

Re: Experiences/guidance on teaching Python as a first programming language

2013-12-13 Thread Mark Lawrence
On 13/12/2013 23:17, Ethan Furman wrote: On 12/13/2013 03:10 PM, Mark Lawrence wrote: Seems like we're now in the later stages of the 15, three minute rounds. The trainer won't throw in the towel, the referee won't stop the fight and the boxer himself won't quit. Is jmf actually trying to get

Re: Experiences/guidance on teaching Python as a first programming language

2013-12-13 Thread Ethan Furman
On 12/13/2013 03:10 PM, Mark Lawrence wrote: Seems like we're now in the later stages of the 15, three minute rounds. The trainer won't throw in the towel, the referee won't stop the fight and the boxer himself won't quit. Is jmf actually trying to get himself killed? His credibility with

Re: Experiences/guidance on teaching Python as a first programming language

2013-12-13 Thread Chris Angelico
On Sat, Dec 14, 2013 at 10:30 AM, Terry Reedy wrote: > Chris, I hardly think Jim's last statement (which I presume is your target) > is egregious enough to start another junk subthread of 9 (now 10) posts. > Certainly '[citation needed]' is a pretty senseless comment. 'Citation' to > what, for wha

Re: Experiences/guidance on teaching Python as a first programming language

2013-12-13 Thread Terry Reedy
On 12/13/2013 11:27 AM, Chris Angelico wrote: On Sat, Dec 14, 2013 at 3:15 AM, wrote: One should recognize, with win7, MS, finally, produce a full unicode system. Strangely, among all the "bashing" one can read about that system, this is rarely mentioned. (With an excellent unicode coding sche

Re: Experiences/guidance on teaching Python as a first programming language

2013-12-13 Thread Mark Lawrence
On 13/12/2013 22:49, Terry Reedy wrote: On 12/13/2013 11:15 AM, wxjmfa...@gmail.com wrote: Le jeudi 12 décembre 2013 18:55:15 UTC+1, Terry Reedy a écrit : If you mean cp65xxx (I forget exact numbers), MS Command Prompt fails, not Python. One should not use any other code page, but only other

Re: Filtering and blocking (was Re: Islam is the spammiest subject line on python-list)

2013-12-13 Thread Terry Reedy
On 12/13/2013 11:45 AM, Chris Angelico wrote: On Sat, Dec 14, 2013 at 3:40 AM, Tim Golden wrote: However, we've recently implemented filtering via the gateway, and I've just added bv4 to the list of banned addresses. (I'm not 100% sure I've got it right, so let's see if they make it in again).

Re: Tree library - multiple children

2013-12-13 Thread Ricardo Aráoz
El 13/12/13 18:05, bucha...@gmail.com escribió: I have this simple/stupid tree module: https://github.com/abuchanan/bolts/blob/master/bolts/tree.py Thanks, I'll check it. -- https://mail.python.org/mailman/listinfo/python-list

Re: Experiences/guidance on teaching Python as a first programming language

2013-12-13 Thread Terry Reedy
On 12/13/2013 11:15 AM, wxjmfa...@gmail.com wrote: Le jeudi 12 décembre 2013 18:55:15 UTC+1, Terry Reedy a écrit : If you mean cp65xxx (I forget exact numbers), MS Command Prompt fails, not Python. One should not use any other code page, but only other code pages work. Please, do not exagge

Re: Tree library - multiple children

2013-12-13 Thread buchanae
I have this simple/stupid tree module: https://github.com/abuchanan/bolts/blob/master/bolts/tree.py On Thursday, December 12, 2013 10:14:34 AM UTC-8, Ricardo Aráoz wrote: > I need to use a tree structure. Is there a good and known library? > > Doesn't have to be binary tree, I need to have multi

Re: Using pythons smtp server

2013-12-13 Thread Grant Edwards
On 2013-12-13, Vincent Davis wrote: > Grant, Chris > Thanks !!! > I guess in the end this is a bad idea, (for my purposes) I should just use > my gmail account smtp server. If you're going to claim the mail is from @gmail.com, then yes you should definitly send it via Gmail's SMTP server. Doing

Re: Experiences/guidance on teaching Python as a first programming language

2013-12-13 Thread wxjmfauth
Le vendredi 13 décembre 2013 19:32:58 UTC+1, Chris Angelico a écrit : > On Sat, Dec 14, 2013 at 5:27 AM, wrote: > > > My guess is that you are referring to that > > > sentence "(With an excellent unicode coding scheme!)". > > > I do not need to cite anything. That's my opinion. > > > > Just

Re: Experiences/guidance on teaching Python as a first programming language

2013-12-13 Thread Chris Angelico
On Sat, Dec 14, 2013 at 5:27 AM, wrote: > My guess is that you are referring to that > sentence "(With an excellent unicode coding scheme!)". > I do not need to cite anything. That's my opinion. Just as much to what's above it, where you state that MS has produced "a full unicode system". Is tha

Re: Using pythons smtp server

2013-12-13 Thread Chris Angelico
On Sat, Dec 14, 2013 at 5:27 AM, Vincent Davis wrote: > Grant, Chris > Thanks !!! > I guess in the end this is a bad idea, (for my purposes) I should just use > my gmail account smtp server. If you're sending from gmail, use whatever gmail specifies for sending. Otherwise your mail will be seen a

Re: Experiences/guidance on teaching Python as a first programming language

2013-12-13 Thread wxjmfauth
Le vendredi 13 décembre 2013 17:27:35 UTC+1, Chris Angelico a écrit : > On Sat, Dec 14, 2013 at 3:15 AM, wrote: > > > One should recognize, with win7, MS, finally, produce > > > a full unicode system. Strangely, among all the "bashing" > > > one can read about that system, this is rarely menti

Re: Using pythons smtp server

2013-12-13 Thread Vincent Davis
Grant, Chris Thanks !!! I guess in the end this is a bad idea, (for my purposes) I should just use my gmail account smtp server. Vincent Davis 720-301-3003 On Fri, Dec 13, 2013 at 11:15 AM, Chris Angelico wrote: > On Sat, Dec 14, 2013 at 4:13 AM, Vincent Davis > wrote: > > Let me rephrase my

Re: Using pythons smtp server

2013-12-13 Thread Chris Angelico
On Sat, Dec 14, 2013 at 4:13 AM, Vincent Davis wrote: > Let me rephrase my question. I want to send an email using python but do not > want to use an external service. Does python have the ability to send emails > without installing additional software or using an external server/service? Any SMT

Re: Using pythons smtp server

2013-12-13 Thread Grant Edwards
On 2013-12-13, Vincent Davis wrote: > Obviously I don't really know how this works. I have used python to > send email using "my" smtp server (whatever that may be gmail, > postfix..) But I don't want to do that. After a little more research > I think what I need to do is lookup the MX address of

Re: min max from tuples in list

2013-12-13 Thread rusi
On Friday, December 13, 2013 11:58:51 AM UTC+5:30, Robert Voigtländer wrote: > >I've heard the term used often. It means something like, "performs > >well" or "runs fast". It may or may not be an English word, but that > >doesn't stop people from using it :-) > > If "google" can be used to me

Re: request for guidance

2013-12-13 Thread jennifer stone
hello! thanks a ton for your warm response. I know the basics of python with some modules like pickle, urllib, re. Its kind of basic I know. but it gotta start somewhere and I really want to have real world experience. thanks jennifer On Fri, Dec 13, 2013 at 10:45 AM, jennifer stone wrote: > gre

Re: Using pythons smtp server

2013-12-13 Thread Vincent Davis
Obviously I don't really know how this works. I have used python to send email using "my" smtp server (whatever that may be gmail, postfix..) But I don't want to do that. After a little more research I think what I need to do is lookup the MX address of the address I want to send the email too. The

Re: Using pythons smtp server

2013-12-13 Thread Vincent Davis
> > "You don't send mail using an SMTP server. You receive mail using an > SMTP server. > ​"​ > Um maybe, I guess it is a matter of perspective. Let me rephrase my question. ​​I want to send an email using python but do not want to use an external service. Does python have the ability to send em

Re: Islam is the fastest growing religion in the world especially since sept. 11.

2013-12-13 Thread Chris “Kwpolska” Warrick
On Fri, Dec 13, 2013 at 5:32 PM, Amirouche Boubekki wrote: > Why is bv4bv4...@gmail.com still not banned? Because they’re posting via Usenet. Google Groups, to be exact — if someone feels like it, go bug . > 2013/12/13 > >> Islam is the fastest growing religion in the world especially since se

Re: Experiences/guidance on teaching Python as a first programming language

2013-12-13 Thread Chris Angelico
On Sat, Dec 14, 2013 at 3:54 AM, rusi wrote: >> I don't know that it's a matter of not being smart enough. It's just >> as likely to be a deliberate choice, as that method of posting ensures >> that the quality of the style matches the quality of the substance. > > Correlates? Ok > Ensures?? Cit

Re: [newbie] trying socket as a replacement for nc

2013-12-13 Thread rusi
On Friday, December 13, 2013 5:50:03 PM UTC+5:30, Jean Dubois wrote: > to make the script check itself whether pyhon2 or python3 should be used? As far as I know both (2 and 3) worked Do you have some reason to suspect one works and other not? -- https://mail.python.org/mailman/listinfo/python-li

Re: [newbie] trying socket as a replacement for nc

2013-12-13 Thread Chris Angelico
On Sat, Dec 14, 2013 at 3:57 AM, Grant Edwards wrote: > On 2013-12-13, Chris Angelico wrote: >> On Sat, Dec 14, 2013 at 3:10 AM, Grant Edwards >> wrote: >>> Adding boundaries to a TCP stream achieves the same goal (and isn't >>> that hard to do), but since there's no standard for it, people kee

Re: [newbie] trying socket as a replacement for nc

2013-12-13 Thread rusi
On Friday, December 13, 2013 5:50:03 PM UTC+5:30, Jean Dubois wrote: > Op vrijdag 13 december 2013 09:35:18 UTC+1 schreef Mark Lawrence: > > Would you please read and action this > > https://wiki.python.org/moin/GoogleGroupsPython to prevent us seeing the > > double line spacing that accompanied

Re: Experiences/guidance on teaching Python as a first programming language

2013-12-13 Thread Mark Lawrence
On 13/12/2013 16:43, Chris Angelico wrote: On Sat, Dec 14, 2013 at 3:39 AM, Mark Lawrence wrote: On 13/12/2013 16:27, Chris Angelico wrote: On Sat, Dec 14, 2013 at 3:15 AM, wrote: One should recognize, with win7, MS, finally, produce a full unicode system. Strangely, among all the "bashin

Re: [newbie] trying socket as a replacement for nc

2013-12-13 Thread Grant Edwards
On 2013-12-13, Chris Angelico wrote: > On Sat, Dec 14, 2013 at 3:10 AM, Grant Edwards > wrote: >> Adding boundaries to a TCP stream achieves the same goal (and isn't >> that hard to do), but since there's no standard for it, people keep >> having to reinvent it (often badly and always incompaibl

Filtering and blocking (was Re: Islam is the spammiest subject line on python-list)

2013-12-13 Thread Chris Angelico
On Sat, Dec 14, 2013 at 3:40 AM, Tim Golden wrote: > However, we've recently implemented filtering via the gateway, and I've > just added bv4 to the list of banned addresses. (I'm not 100% sure I've > got it right, so let's see if they make it in again). What happens if someone else trips the fil

Re: Experiences/guidance on teaching Python as a first programming language

2013-12-13 Thread rusi
On Friday, December 13, 2013 10:13:11 PM UTC+5:30, Chris Angelico wrote: > On Sat, Dec 14, 2013 at 3:39 AM, Mark Lawrence wrote: > > You'll have to wait until the cows come home on two counts. One, he's never > > yet provided any evidence to support any statement that he's ever made here. > > Sec

Re: Experiences/guidance on teaching Python as a first programming language

2013-12-13 Thread Chris Angelico
On Sat, Dec 14, 2013 at 3:39 AM, Mark Lawrence wrote: > On 13/12/2013 16:27, Chris Angelico wrote: >> >> On Sat, Dec 14, 2013 at 3:15 AM, wrote: >>> >>> One should recognize, with win7, MS, finally, produce >>> a full unicode system. Strangely, among all the "bashing" >>> one can read about that

Re: want to run proxy in python

2013-12-13 Thread Denis McMahon
On Fri, 13 Dec 2013 03:39:44 -0800, Jai wrote: > hey , will u guide me how to run proxies from python http://lmgtfy.com/?q=ip+address+spoofing -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list

Re: request for guidance

2013-12-13 Thread rusi
On Friday, December 13, 2013 10:45:22 AM UTC+5:30, jennifer stone wrote: > greetings > I am a novice who is really interested in contributing to Python > projects. How and where do I begin? Good to see new names! How much python do you know/studied/coded? -- https://mail.python.org/mailman/list

Re: accessing a page which request an openID authentication

2013-12-13 Thread Denis McMahon
On Fri, 13 Dec 2013 02:32:49 -0800, uni.mail.2014 wrote: > I have a page that request an openID authentication And your Python question is? -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Islam is the fastest growing religion in the world especially since sept. 11.

2013-12-13 Thread Chris Angelico
On Sat, Dec 14, 2013 at 3:32 AM, Amirouche Boubekki wrote: > Why is bv4bv4...@gmail.com still not banned? > > > 2013/12/13 >> [ a whole lot of quoted text, including the URL ] Why do you quote all the text, including the web link? I didn't see the original, thanks to good spam filtering, but you

Re: Islam is the fastest growing religion in the world especially since sept. 11.

2013-12-13 Thread Tim Golden
On 13/12/2013 16:32, Amirouche Boubekki wrote: > Why is bv4bv4...@gmail.com still not banned? [... snip long spiel from bv4 etc. ...] Before recently, the answer would have been: because they're coming in through the Usenet gateway so there's no mailing list subscript

Re: Using pythons smtp server

2013-12-13 Thread Grant Edwards
On 2013-12-13, Vincent Davis wrote: > I have an app that generates a file one a day and would like to email it > using pythons SMTP server. You don't send mail using an SMTP server. You receive mail using an SMTP server. > http://docs.python.org/2/library/smtpd.html#smtpd.SMTPServer > The docu

Re: Experiences/guidance on teaching Python as a first programming language

2013-12-13 Thread Mark Lawrence
On 13/12/2013 16:27, Chris Angelico wrote: On Sat, Dec 14, 2013 at 3:15 AM, wrote: One should recognize, with win7, MS, finally, produce a full unicode system. Strangely, among all the "bashing" one can read about that system, this is rarely mentioned. (With an excellent unicode coding scheme!

Re: Islam is the fastest growing religion in the world especially since sept. 11.

2013-12-13 Thread Amirouche Boubekki
Why is bv4bv4...@gmail.com still not banned? 2013/12/13 > Islam is the fastest growing religion in the world especially since sept. > 11. > > An important article shows that every child is born on the "fitrah" > (natural inclination) of "Islam", the spread of Islam after September > eleventh an

Re: Experiences/guidance on teaching Python as a first programming language

2013-12-13 Thread Chris Angelico
On Sat, Dec 14, 2013 at 3:15 AM, wrote: > One should recognize, with win7, MS, finally, produce > a full unicode system. Strangely, among all the "bashing" > one can read about that system, this is rarely mentioned. > (With an excellent unicode coding scheme!) [citation needed] ChrisA -- https

Re: Experiences/guidance on teaching Python as a first programming language

2013-12-13 Thread Frank Miles
On Thu, 12 Dec 2013 16:18:22 -0500, Larry Martell wrote: > On Thu, Dec 12, 2013 at 11:51 AM, bob gailer wrote: >> On 12/11/2013 9:07 PM, Larry Martell wrote: >> >>> Nope. Long before that I was working on computers that didn't boot when >>> you powered them up, You had to manually key in a bootst

Re: [newbie] trying socket as a replacement for nc

2013-12-13 Thread Chris Angelico
On Sat, Dec 14, 2013 at 3:10 AM, Grant Edwards wrote: > Adding boundaries to a TCP stream achieves the same goal (and isn't > that hard to do), but since there's no standard for it, people keep > having to reinvent it (often badly and always incompaibly). Nearest to a standard would be the way he

Re: Experiences/guidance on teaching Python as a first programming language

2013-12-13 Thread wxjmfauth
Le jeudi 12 décembre 2013 18:55:15 UTC+1, Terry Reedy a écrit : > > > > > > If you mean cp65xxx (I forget exact numbers), MS Command Prompt fails, > > not Python. One should not use any other code page, but only other code > > pages work. > > > - Please, do not exaggerate too much

Re: [newbie] trying socket as a replacement for nc

2013-12-13 Thread Grant Edwards
On 2013-12-12, Chris Angelico wrote: > Now, if you want reliability AND datagrams, it's a lot easier to add > boundaries to a TCP stream (sentinel or length prefixes) than to add > reliability to UDP... It's unfortunate that there's no standardized reliable connection-oriented datagram protocol.

Re: [newbie] trying socket as a replacement for nc

2013-12-13 Thread Grant Edwards
On 2013-12-12, Dan Stromberg wrote: > On Thu, Dec 12, 2013 at 6:16 AM, Grant Edwards > wrote: > >>> Sockets reserve the right to split one socket.send() into multiple >>> socket.recv()'s on the other end of the communication, or to aggregate >>> multiple socket.send()'s into a single socket.recv

Re: Need help with file object

2013-12-13 Thread bob gailer
On 12/12/2013 11:29 PM, Unix SA wrote: ... With above prog I am getting error TypeError: coercing to Unicode: need sting or buffer, file found In future please copy and paste the entire traceback. It appears that you typed in just one line of it. In this case the line raising the exception w

Re: [newbie] trying socket as a replacement for nc

2013-12-13 Thread Jean-Michel Pichavant
- Original Message - > I have an ethernet-rs232 adapter which allows me to connect to a > measurement instrument by means of netcat on a linux system. > e.g. entering nc 10.128.59.63 7000 > allows me to enter e.g. > *IDN? > after which I get an identification string of the measurement > ins

Re: accessing a page which request an openID authentication

2013-12-13 Thread Mark Lawrence
On 13/12/2013 10:32, uni.mail.2...@gmail.com wrote: I have a page that request an openID authentication "google ID" before you are able to download any file from it. this is the website "http://oc.gtisc.gatech.edu:8080/search.cgi?search=sality"; and I tried a lot but it dose not seem that the o

Re: TypeError: not all arguments converted during string formatting

2013-12-13 Thread Peter Otten
Jai wrote: > my code : > sql = """insert into > fashion(GENDER,links,category,item_content,price,seller) > VAlUES('%s','%s','%s','%s','%s','s')""" > cursor.execute(sql,(gender,main_link,cat,item_content,price,seller)) This looks very much like your previous mi

Re: TypeError: not all arguments converted during string formatting

2013-12-13 Thread Ervin Hegedüs
hello, On Fri, Dec 13, 2013 at 05:18:59AM -0800, Jai wrote: > sql = """insert into > fashion(GENDER,links,category,item_content,price,seller) \ > VAlUES('%s','%s','%s','%s','%s','s')""" may be you miss a "%" sign? > query = query %

Re: request for guidance

2013-12-13 Thread Zachary Ware
On Thu, Dec 12, 2013 at 11:15 PM, jennifer stone wrote: > greetings > I am a novice who is really interested in contributing to Python projects. > How and where do I begin? > thanking you in anticipation If you're interested in contributing to Python itself, you can consult the Python devguide [1

TypeError: not all arguments converted during string formatting

2013-12-13 Thread Jai
my code : #!/usr/bin/env python from bs4 import BeautifulSoup import re,urllib2,urlparse, MySQLdb def get_domain(url): return urlparse.urlparse(url).netloc def men_tshirts2(main_link, cat_link,db,cursor): #print main_link for cat,link in cat_link.iteritems(): cat = str(cat

Islam is the fastest growing religion in the world especially since sept. 11.

2013-12-13 Thread bv4bv4bv4
Islam is the fastest growing religion in the world especially since sept. 11. An important article shows that every child is born on the "fitrah" (natural inclination) of "Islam", the spread of Islam after September eleventh and that it’s necessary to make an open communication between Muslims &

Re: request for guidance

2013-12-13 Thread Veritatem Ignotam
I read 'Beginning Python 2.6 and 3.1' by James Payne. It was pretty good. Code Academy has a python course. http://www.codecademy.com/tracks/python I've never done it but it might be good Cheers, V.I. On 12/12/2013 11:15 PM, jennifer stone wrote: > greetings > I am a novice who is really intere

Re: [newbie] trying socket as a replacement for nc

2013-12-13 Thread Jean Dubois
Op vrijdag 13 december 2013 09:35:18 UTC+1 schreef Mark Lawrence: > Would you please read and action this > https://wiki.python.org/moin/GoogleGroupsPython to prevent us seeing the > double line spacing that accompanied the above, thanks. > > -- > > Mark Lawrence Dear Mark, I'm sorry for the

Re: request for guidance

2013-12-13 Thread Ned Batchelder
On Friday, December 13, 2013 12:15:22 AM UTC-5, jennifer stone wrote: > greetings > I am a novice who is really interested in contributing to Python projects. > How and where do I begin? > > thanking you in anticipation Jennifer, hi, welcome! If you are looking for help with the mechanics of op

Re: smart splitting - how to

2013-12-13 Thread Helmut Jarausch
On Fri, 13 Dec 2013 11:39:57 +, Chris Angelico and Robert Kern wrote: > On 2013-12-13 11:28, Helmut Jarausch wrote: >> Hi, >> >> I'd like to read several strings by using 'input'. >> These strings are separated by white space but I'd like to allow for >> some quoting, e.g. >> >> "Guido van" Ro

Re: [newbie] trying socket as a replacement for nc

2013-12-13 Thread Jean Dubois
Op vrijdag 13 december 2013 04:32:30 UTC+1 schreef Dan Stromberg: > On Thu, Dec 12, 2013 at 7:23 PM, Jean Dubois wrote: > > > Op donderdag 12 december 2013 22:23:22 UTC+1 schreef Dan Stromberg: > > >> On Thu, Dec 12, 2013 at 12:28 AM, Jean Dubois > >> wrote: > > >> > > >> > On Thursday, Dece

Re: smart splitting - how to

2013-12-13 Thread Joel Goldstick
On Fri, Dec 13, 2013 at 6:28 AM, Helmut Jarausch < jarau...@igpm.rwth-aachen.de> wrote: > Hi, > > I'd like to read several strings by using 'input'. > These strings are separated by white space but I'd like to allow for > some quoting, e.g. > > "Guido van" Rossum > > should be split into 2 strings

Re: smart splitting - how to

2013-12-13 Thread Robert Kern
On 2013-12-13 11:28, Helmut Jarausch wrote: Hi, I'd like to read several strings by using 'input'. These strings are separated by white space but I'd like to allow for some quoting, e.g. "Guido van" Rossum should be split into 2 strings only Now, a simple split doesn't work since it splits th

want to run proxy in python

2013-12-13 Thread Jai
hey , will u guide me how to run proxies from python i have tested lots of code but my ip show always constant on when i see it online plz help . -- https://mail.python.org/mailman/listinfo/python-list

Re: smart splitting - how to

2013-12-13 Thread Chris Angelico
On Fri, Dec 13, 2013 at 10:28 PM, Helmut Jarausch wrote: > Now, a simple split doesn't work since it splits the quoted text as well. > Is there a simple way to do so? > It would be nice if it could handle embedded quotes which are escaped > by a backslash, too. Sounds like you want shell-style sp

smart splitting - how to

2013-12-13 Thread Helmut Jarausch
Hi, I'd like to read several strings by using 'input'. These strings are separated by white space but I'd like to allow for some quoting, e.g. "Guido van" Rossum should be split into 2 strings only Now, a simple split doesn't work since it splits the quoted text as well. Is there a simple way

Re: Knapsack Problem Without Value

2013-12-13 Thread Ian Kelly
On Thu, Dec 12, 2013 at 7:08 PM, wrote: > Hi, > > I wanna ask about Knapsack. I do understand what Knapsack is about. But this > one i faced is a different problem. There is no value. I mean, it's like > this, for example. > > I have 4 beams [X0, X1, X2, X3]. Each 1, 2, 2, 3 cm long. I want to

Re: [newbie] trying socket as a replacement for nc

2013-12-13 Thread Jean Dubois
Op vrijdag 13 december 2013 04:32:30 UTC+1 schreef Dan Stromberg: > On Thu, Dec 12, 2013 at 7:23 PM, Jean Dubois wrote: > > > Op donderdag 12 december 2013 22:23:22 UTC+1 schreef Dan Stromberg: > > >> On Thu, Dec 12, 2013 at 12:28 AM, Jean Dubois > >> wrote: > > >> > > >> > On Thursday, Dece

accessing a page which request an openID authentication

2013-12-13 Thread uni . mail . 2014
I have a page that request an openID authentication "google ID" before you are able to download any file from it. this is the website "http://oc.gtisc.gatech.edu:8080/search.cgi?search=sality"; and I tried a lot but it dose not seem that the ordinary login using session or requests work on this

Re: Code suggestion - List comprehension

2013-12-13 Thread Mark Lawrence
On 13/12/2013 09:43, Peter Otten wrote: Shyam Parimal Katti wrote: Hello, I have a list of sql queries, some which are split across multiple list elements e.x. ['drop table sample_table;', 'create table sample_test', '(col1 int);', 'select col1 from', ' sample_test;'] A semi-colon in the stri

Re: Knapsack Problem Without Value

2013-12-13 Thread Mark Lawrence
On 13/12/2013 09:38, geezl...@gmail.com wrote: On Friday, December 13, 2013 9:08:56 AM UTC+7, geez...@gmail.com wrote: Hi, I wanna ask about Knapsack. I do understand what Knapsack is about. But this one i faced is a different problem. There is no value. I mean, it's like this, for example.

Re: Code suggestion - List comprehension

2013-12-13 Thread Peter Otten
Shyam Parimal Katti wrote: > Hello, > > I have a list of sql queries, some which are split across multiple list > elements e.x. > ['drop table sample_table;', 'create table sample_test', '(col1 int);', > 'select col1 from', ' sample_test;'] > > A semi-colon in the string value indicates the ter

Re: Knapsack Problem Without Value

2013-12-13 Thread geezle86
On Friday, December 13, 2013 9:08:56 AM UTC+7, geez...@gmail.com wrote: > Hi, > > > > I wanna ask about Knapsack. I do understand what Knapsack is about. But this > one i faced is a different problem. There is no value. I mean, it's like > this, for example. > > > > I have 4 beams [X0, X1,

Re: Python Script

2013-12-13 Thread Mark Lawrence
On 13/12/2013 06:21, Amimo Benja wrote: On Thursday, December 12, 2013 9:35:23 PM UTC+3, Gary Herron wrote: On 12/12/2013 10:05 AM, Amimo Benja wrote: I have an issue with a Python script that I will show as follows: http://codepad.org/G8Z2ConI Assume that you have three (well define

Re: [newbie] trying socket as a replacement for nc

2013-12-13 Thread Mark Lawrence
On 13/12/2013 03:23, Jean Dubois wrote: kind regards, jean p.s. I'm using Linux/Kubuntu 11.04 Would you please read and action this https://wiki.python.org/moin/GoogleGroupsPython to prevent us seeing the double line spacing that accompanied the above, thanks. -- My fellow Pythonistas, as