Re: Python and Math

2014-05-18 Thread Mark Lawrence
d the tight integration of graphing/plotting libraries is awesome. Big +1 from me. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is ac

Re: [RELEASED] Python 2.7.7 release candidate 1

2014-05-19 Thread Mark Lawrence
r our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Bug in Decimal??

2014-05-19 Thread Mark Dickinson
imal import Decimal >>> x = Decimal('1e-15') >>> y = (1 - 2 * x) / (1 - x) >>> 2 * x + (y - 1) * (1 - x) # Mathematically, expect to get 'x' back. Decimal('1.001E-15') >>> x Decimal('1E-15') -- Mark -- https://mail.python.org/mailman/listinfo/python-list

Re: 'Swampy' installation through 'pip'

2014-05-20 Thread Mark Lawrence
t should be python.exe, not pythonw.exe. I'd recommend reinstalling and use the default settings, putting Python at the top level of the disk and not in "Program Files", that's another set of potential set of problems eliminated straight away. -- My fellow Pythonistas,

Re: Putting Py 3.4.1 to work.

2014-05-20 Thread Mark Lawrence
strikes me that it has to work, or am I missing something? -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com -- https://mail.python.org/mailman/listinfo/python-list

How keep Python 3 moving forward

2014-05-23 Thread Mark Lawrence
An article by Brett Cannon that I thought might be of interest http://nothingbutsnark.svbtle.com/my-view-on-the-current-state-of-python-3 -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from

Re: How keep Python 3 moving forward

2014-05-24 Thread Mark Lawrence
ython Wall of Shame, or something like that). What makes you think that they're not being ported? -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus

Re: is there a list/group for beginners?

2014-05-24 Thread Mark Lawrence
omatically. <http://backup.pcrx.com/mail> Welcome :) See https://mail.python.org/mailman/listinfo/tutor also available as gmane.comp.python.tutor. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This em

Re: Run pip

2014-05-24 Thread Mark Lawrence
ults. What am I missing? Thank you. a) set up pip on your windows path. b) cd to (say) c:\python27\scripts pip install PyOpenGL c) c:\python27\scripts\pip install PyOpenGL -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark

Re: Run pip

2014-05-24 Thread Mark Lawrence
On 24/05/2014 23:47, Igor Korot wrote: Mark, On Sat, May 24, 2014 at 3:34 PM, Mark Lawrence wrote: On 24/05/2014 23:12, Igor Korot wrote: Hi, ALL, I'm running Windows XP SP3 with python 2.7. According to https://pip.pypa.io/en/latest/installing.html all I need is to download get-pip.p

Re: Make Python Compilable, convert to Python source to Go

2014-05-25 Thread Mark Lawrence
On 25/05/2014 09:17, bookaa bookaa wrote: Maybe I will work on Python 3 later. That's good to know, it'll save me wasting my time looking at it now. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- Thi

Re: Make Python Compilable, convert to Python source to Go

2014-05-25 Thread Mark Lawrence
On 25/05/2014 12:02, mm0fmf wrote: On 25/05/2014 11:24, Mark Lawrence wrote: On 25/05/2014 09:17, bookaa bookaa wrote: Maybe I will work on Python 3 later. That's good to know, it'll save me wasting my time looking at it now. OT: Mark, you've been pro-Python3 enough

Re: How keep Python 3 moving forward

2014-05-25 Thread Mark Lawrence
st is moderated. I do think this guy has had thirty strikes rather than three, so isn't it time he was finally given out? -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware bec

Re: How keep Python 3 moving forward

2014-05-25 Thread Mark Lawrence
punishment? -- ~Ethan~ The latter is definitely true, but does being king make up for it, on the grounds that he's clearly blind? :) -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruse

Re: How keep Python 3 moving forward

2014-05-25 Thread Mark Lawrence
nistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Make Python Compilable, convert to Python source to Go

2014-05-26 Thread Mark Lawrence
On 26/05/2014 07:31, Devin Jeanpierre wrote: On Sun, May 25, 2014 at 3:24 AM, Mark Lawrence wrote: On 25/05/2014 09:17, bookaa bookaa wrote: Maybe I will work on Python 3 later. That's good to know, it'll save me wasting my time looking at it now. This seems like an unnecessa

Re: Hello and sorry for disturbing !

2014-05-26 Thread Mark Lawrence
nglish, it's an extremely difficult language to learn. Thank you. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. h

Re: Regular Expression for the special character "|" pipe

2014-05-27 Thread Mark Lawrence
Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Hello and sorry for disturbing !

2014-05-27 Thread Mark Lawrence
On 27/05/2014 21:02, [email protected] wrote: I recommend to install PyCharm Three copies in three minutes of one line with no context, that's a record, congratulations :) -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language.

Re: IDE for python

2014-05-28 Thread Mark Lawrence
ing double line spacing and single line paragraphs, thanks. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com

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

2014-05-28 Thread Mark Lawrence
, self._mat[0]) TypeError: (' invalid matrix input type -- ', u'1') Thank You I don't know but I'll guess that should be a letter l and not the number 1. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our la

Re: IDE for python

2014-05-28 Thread Mark Lawrence
age can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Python 3 is killing Python

2014-05-28 Thread Mark Lawrence
the vastly improved unicode handling via the FSR and asyncio in 3.4. Presumably the only unhappy people are those who keep bleating on about forking Python to produce a 2.8, or has work on this already started without my knowledge? -- My fellow Pythonistas, ask not what our language can do for you, a

Re: Python alternative to Google Groups

2014-05-29 Thread Mark Lawrence
can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com -- https://mail.python.org/mailman/listinfo/python-list

Re: IDE for python

2014-05-29 Thread Mark Lawrence
On 29/05/2014 21:11, Mark H Harris wrote: The OP is looking for an "IDE-like" interactive environment, because he is "uncomfortable" with IDLE. IDLE is THE choice, however ---precisely because IDLE is clean, elegant, and most importantly "simple". It is simple

Re: Binary data exchange

2014-05-29 Thread Mark Lawrence
ython-list or read and action this https://wiki.python.org/moin/GoogleGroupsPython to prevent us seeing double line spacing and single line paragraphs, thanks. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This ema

Re: pyflakes best practices?

2014-05-29 Thread Mark Lawrence
u, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com -- https://mail.python.org/mailman/listinfo/python-list

Re: IDE for python

2014-05-30 Thread Mark Lawrence
e can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com -- https://mail.python.org/mailman/listinfo/python-list

Re: IDE for python

2014-05-30 Thread Mark Lawrence
On 30/05/2014 18:07, Rustom Mody wrote: On Friday, May 30, 2014 10:08:04 PM UTC+5:30, Mark Lawrence wrote: On 30/05/2014 17:15, Rustom Mody wrote: On Friday, May 30, 2014 8:36:54 PM UTC+5:30, jmf wrote: It is now about time that we stop taking ASCII seriously!! This can't happen i

Python 3.2 has some deadly infection

2014-05-31 Thread Mark Lawrence
Some interesting comments here http://techtonik.rainforce.org/2014/05/python-32-has-some-deadly-infection.html so I'm simply asking for other opinions. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This ema

Re: pyflakes best practices?

2014-05-31 Thread Mark Lawrence
On 30/05/2014 02:14, Roy Smith wrote: In article , Mark Lawrence wrote: On 30/05/2014 01:13, Roy Smith wrote: We've recently started using pyflakes. The results seem to be similar to most tools of this genre. It found a few real problems. It generated a lot of noise about things

Re: Business model

2014-05-31 Thread Mark Lawrence
help me approach my objective. Hope to hear from you guys please. Thanks http://code.activestate.com/lists/python-list/60/ seems rather similar. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free

Re: Python 3 is killing Python

2014-05-31 Thread Mark Lawrence
d the 747, and wasn't as "technically advanced", it was just faster. I recall Barnes Wallis slagging off the droop nose, but what did he know about aircraft? -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrenc

Re: Python 3 is killing Python

2014-06-01 Thread Mark Lawrence
pretty certain that Python 2.x preceded Python 3.x Clearly you know nothing about the Python time machine :) -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! A

Re: IDE for python

2014-06-02 Thread Mark Lawrence
an't use Latin-1 for Latin, what can you use it for? TJG What is the Latin for "resident unicode expert go home"? -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses an

Re: IDE for python

2014-06-02 Thread Mark Lawrence
On 02/06/2014 11:43, Tim Golden wrote: On 02/06/2014 10:15, Chris Angelico wrote: On Mon, Jun 2, 2014 at 7:02 PM, Mark Lawrence wrote: What is the Latin for "resident unicode expert go home"? Google Translate says: Eusebius, et revertatur in domum perito resident. ChrisA Tr

Re: How to read a directory path from a txt file

2014-06-02 Thread Mark Lawrence
://docs.python.org/3/library/functions.html#open https://docs.python.org/3/tutorial/inputoutput.html#reading-and-writing-files -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware

Re: Strange Behavior

2014-06-02 Thread Mark Lawrence
x27;t care. Thank you very much for your time. Robert Why couldn't you put your code inline, the same as you showed it here http://bugs.python.org/issue21631 ? Here's the output I get. Traceback (most recent call last): File "C:\Users\Mark\MyPython\mytest.py"

Re: Python 3 is killing Python

2014-06-02 Thread Mark Lawrence
fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Introdution

2014-06-02 Thread Mark Lawrence
what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Introdution

2014-06-02 Thread Mark Lawrence
On 03/06/2014 00:04, Emile van Sebille wrote: On 6/2/2014 3:56 PM, Mark Lawrence wrote: On 02/06/2014 23:01, Hisham Mughal wrote: HI! plz tell me about books for python i am beginner of this lang.. Regards, Hisham Either http://www.diveintopython.net/ or http://www.diveintopython3.net

Re: can someone explain the concept of "strings (or whatever) being immutable"

2014-06-03 Thread Mark Lawrence
rence :) -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Python 3 is killing Python

2014-06-03 Thread Mark Lawrence
y fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Lock Windows Screen GUI using python

2014-06-03 Thread Mark Lawrence
fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com -- https://mail.python.org/mailman/listinfo/python-list

Would a Python 2.8 help you port to Python 3?

2014-06-03 Thread Mark Lawrence
My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Having trouble in expressing constraints in Python

2014-06-03 Thread Mark Lawrence
use the mailing list https://mail.python.org/mailman/listinfo/python-list or read and action this https://wiki.python.org/moin/GoogleGroupsPython to prevent us seeing double line spacing and single line paragraphs, thanks. If not please ignore this paragraph :) -- My fellow Pythonistas, ask

Re: Unicode and Python - how often do you index strings?

2014-06-04 Thread Mark Lawrence
ng all the time, but does that last one count? -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com

Re: immutable vs mutable

2014-06-04 Thread Mark Lawrence
My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com -- https://mail.python.org/mailman/listinfo/python-list

Re: immutable vs mutable

2014-06-04 Thread Mark Lawrence
Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Embedding numpy works once, but not twice??

2014-06-04 Thread Mark Lawrence
o for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com -- https://mail.python.org/mailman/listinfo/python-list

Shen video appeal - generating type secure Python

2013-08-16 Thread Mark Tarver
ology. with thanks Mark Tarver www.shenlanguage.org -- http://mail.python.org/mailman/listinfo/python-list

New book: Python in Practice

2013-08-22 Thread Mark Summerfield
Hi, My new Python 3-based book, "Python in Practice", is due out next week. The book is aimed at people who can already program in Python and want to take their coding further. The book's web page (http://www.qtrac.eu/pipbook.html) has the table of contents and a link to a free PDF of Chapter 1

Re: Language design

2013-09-11 Thread Mark Janssen
> * Imports are fiendishly complex, hidden below deceptively simple > syntax. > > It's a reasonable expectation that one can import a module from a > source code file given its path on the filesystem, but this turns out > to be much more complicated than in many other languages. Why is thi

Re: Language design

2013-09-11 Thread Mark Janssen
nged in Py3k. 4?) It allowed [reference] variables to be used as dict keys. This creates a parsing difficulty for me, mentally. Keys should be direct, hashable values, not hidden in a variable name. A few of the top of the head Mark On Mon, Sep 9, 2013 at 11:09 PM, Steven D'Aprano wr

Re: Language design

2013-09-11 Thread Mark Janssen
>> On Tue, 10 Sep 2013, Ben Finney wrote: >> > The sooner we replace the erroneous >> > “text is ASCII” in the common wisdom with “text is Unicode”, the >> > better. >> >> I'd actually argue that it's better to replace the common wisdom with >> "text is binary data, and we should normally look a

Re: Language design

2013-09-11 Thread Mark Janssen
>> Why is this so difficult? >> Add a Graph class to the collections module (networkx is quite good) >> and simply check for circular imports. > > Er? That doesn't address the task of importing a module from a source > code file given its path on the filesystem. That's true, I guess was hooked on

Re: Language design

2013-09-11 Thread Mark Janssen
y, now you're in blah, blah land. --mark -- https://mail.python.org/mailman/listinfo/python-list

Re: Language design

2013-09-11 Thread Mark Janssen
everyone migrated over to Python.v3. >> 4?) It allowed >> [reference] variables to be used as dict keys. This creates a parsing >> difficulty for me, mentally. Keys should be direct, hashable values, >> not hidden in a variable name. > > I don't even unders

Re: Language design

2013-09-12 Thread Mark Janssen
>> Really? Are you saying you (and the community at-large) always derive >> from Object as your base class? > > Not directly, that would be silly. Silly? "Explicit is better than implicit"... right? >> But wait is it the "base" (at the bottom of the hierarchy) or is it the >> "parent" at the to

Re: Language design

2013-09-13 Thread Mark Janssen
On Fri, Sep 13, 2013 at 4:57 PM, Chris Angelico wrote: > Evangelical vicar in want of a portable second-hand font. Would > dispose, for the same, of a portrait, in frame, of the Bishop-elect of > Vermont. > > I think you could quite easily reconstruct the formatting of that, > based on its interna

Re: Language design

2013-09-14 Thread Mark Janssen
put yourself in the middle. And that point defines how you relate to the machine -- towards abstraction (upwards) or towards the concrete (to the machine itself). >> The simplicity of Python has seduced you into making an "equivocation" >> of sorts. It's subtle and no one i

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: How to login to a website using Python 3.x?

2013-09-24 Thread Mark Lawrence
renamed in Python 3 see http://www.python.org/dev/peps/pep-3108/#urllib-package -- Cheers. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: Handling 3 operands in an expression without raising an exception

2013-09-27 Thread Mark Lawrence
of code? If all that matters is the number of lines of code then use this: city,host = 0,0 Only _1_ nice short line of code. Happy? Classic overengineering, fancy wasting two whole spaces and having such long names. Surely c,h=0,0 is vastly superior? -- Cheers. Mark Lawrence -- https

Re: Handling 3 operands in an expression without raising an exception

2013-09-28 Thread Mark Lawrence
On 28/09/2013 17:14, Νίκος wrote: I know what he has said bit this is now what i need. You actually need the tool that was used on King Edward II. -- Cheers. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: Handling 3 operands in an expression without raising an exception

2013-09-28 Thread Mark Lawrence
On 28/09/2013 19:38, Zero Piraeus wrote: : On Sat, Sep 28, 2013 at 1:53 PM, Mark Lawrence wrote: You actually need the tool that was used on King Edward II. To be clear, Mark, you are calling for Νίκος to be tortured to death with a red hot poker, yes? I'm going to go out on a lim

Re: Neurolab // "No module named .."

2013-09-28 Thread Mark Lawrence
ee something like "C:/Python27/lib/site-packages/neurolab-0.2.3/neurolab" -- Cheers. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte

2013-09-30 Thread Mark Lawrence
large fortune. -- Cheers. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte

2013-09-30 Thread Mark Lawrence
n use it and be happy. There's no need to bother us if your code is correct. Could this be an extremely rare case whereby the original code is 100% correct but the problems have been exacerbated by the many suggested patches given here being 100% incorrect? -- Cheers. Mark Lawrence

Re: Handling 3 operands in an expression without raising an exception

2013-09-30 Thread Mark Lawrence
bicycle in the train. But what if you don't want to use the train, but cycle all the way? There _must_ be a way of cycling through the tunnel... There is but all the illegal immigrants who use it won't tell us about it :) -- Cheers. Mark Lawrence -- https://mail.python.org/mailma

Re: Handling 3 operands in an expression without raising an exception

2013-09-30 Thread Mark Lawrence
their coding styles. You are the one who comes here asking for solutions. Either accept the solutions you are offered, or stop asking for them. +googol -- Cheers. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte

2013-09-30 Thread Mark Lawrence
On 30/09/2013 19:03, Νίκος wrote: Στις 30/9/2013 5:45 μμ, ο/η Mark Lawrence έγραψε: On 29/09/2013 17:19, Νίκος wrote: Στις 29/9/2013 7:14 μμ, ο/η Joel Goldstick έγραψε: asked and answered. Move on shut up. you are nothign but annoyance here. Absolutely hilarious. Please give up your web

Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte

2013-09-30 Thread Mark Lawrence
On 30/09/2013 21:13, Νίκος wrote: And you are a major asshole leading this list, who is doing nothing else than critizizing others people's posts, spamming all he way along while contributing negatively only. Really? http://code.activestate.com/lists/python-list/651611/ -- Cheers.

Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte

2013-09-30 Thread Mark Lawrence
On 30/09/2013 22:34, Νίκος wrote: Στις 30/9/2013 11:44 μμ, ο/η Mark Lawrence έγραψε: On 30/09/2013 21:13, Νίκος wrote: And you are a major asshole leading this list, who is doing nothing else than critizizing others people's posts, spamming all he way along while contributing negatively

Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte

2013-09-30 Thread Mark Lawrence
On 30/09/2013 23:08, Νίκος wrote: Στις 1/10/2013 12:44 πμ, ο/η Joel Goldstick έγραψε: On Mon, Sep 30, 2013 at 5:34 PM, Νίκος mailto:[email protected]>> wrote: Στις 30/9/2013 11:44 μμ, ο/η Mark Lawrence έγραψε: On 30/09/2013 21:13, Νίκος wrote: And you

Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte

2013-09-30 Thread Mark Lawrence
On 30/09/2013 23:19, Νίκος wrote: 2 dickheads names Joe & Mark work together to achieve total bullshit! Well done Beavis & Butthead! rofl... Well aside from the fact that you've maintained your record by being inaccurate with 50% of the names that you've quoted, it a

Re: I haev fixed it

2013-10-01 Thread Mark Lawrence
On 01/10/2013 00:59, [email protected] wrote: http://superhost.gr/warning.html I believe this is set at a suitable level http://www.youtube.com/watch?v=HyTPFyyA-mA -- Cheers. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: JUST GOT HACKED

2013-10-01 Thread Mark Lawrence
writing comedy. -- Cheers. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: Converting image into string and obtain the string in json

2013-10-01 Thread Mark Lawrence
what actually happened and the full traceback if applicable, quoting your OS and Python version. -- Cheers. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: I haev fixed it

2013-10-01 Thread Mark Lawrence
y has done well breaking into a field that has neither gate nor fence. -- Cheers. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: I haev fixed it

2013-10-01 Thread Mark Lawrence
appen so i take action to prevent it from happening again. I you want to congratulate Mark Lawrence do it in private. Brilliantly funny on the gounds that I haven't got the faintest idea about how web systems are put together, let alone hacking them. But am I replying to the real, really i

Re: JUST GOT HACKED

2013-10-01 Thread Mark Lawrence
On 01/10/2013 14:15, Νίκος wrote: Στις 1/10/2013 4:06 μμ, ο/η Mark Lawrence έγραψε: On 01/10/2013 10:58, Νίκος wrote: Just logged in via FTP to my server and i saw an uploade file named "Warnign html" Contents were: WARNING I am incompetent. Do not hire me! Question: WH

Re: I haev fixed it

2013-10-01 Thread Mark Lawrence
On 01/10/2013 14:34, Νίκος wrote: Στις 1/10/2013 4:23 μμ, ο/η Mark Lawrence έγραψε: On 01/10/2013 11:54, Νίκος wrote: Στις 1/10/2013 1:47 μμ, ο/η Chris Angelico έγραψε: On Tue, Oct 1, 2013 at 8:16 PM, Νίκος wrote: WHO AND MOST IMPORTNTANLY HOW DID HE MANAGED TO UPLOAD THIS FILE ON MY

Re: I haev fixed it

2013-10-01 Thread Mark Lawrence
On 01/10/2013 14:52, Νίκος wrote: Στις 1/10/2013 4:44 μμ, ο/η Mark Lawrence έγραψε: On 01/10/2013 14:34, Νίκος wrote: Στις 1/10/2013 4:23 μμ, ο/η Mark Lawrence έγραψε: On 01/10/2013 11:54, Νίκος wrote: Στις 1/10/2013 1:47 μμ, ο/η Chris Angelico έγραψε: On Tue, Oct 1, 2013 at 8:16 PM, Νίκος

Re: VERY BASIC HELP

2013-10-01 Thread Mark Lawrence
arning the basics. Do you guys know of any guides for a beginner? I am definitely willing to take the time to learn in depth :) As a newbie you might like to try the tutor mailing list see https://mail.python.org/mailman/listinfo/tutor -- Cheers. Mark Lawrence -- https://mail.python.org/mailma

Re: JUST GOT HACKED

2013-10-01 Thread Mark Lawrence
On 01/10/2013 14:27, Chris “Kwpolska” Warrick wrote: It looks like you are accusing someone of doing something without any proof whatsoever. Would you like help with the fallout of the lawsuit that I hope Mark might (should!) come up with? Why would I want to sue someone who's very k

Re: JUST GOT HACKED

2013-10-01 Thread Mark Lawrence
into upping your game with Python please take a look here http://news.gmane.org/index.php?prefix=gmane.comp.python, there's a couple of mailing lists that could keep you occupied for a few minutes each day :) -- Cheers. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: I haev fixed it

2013-10-01 Thread Mark Lawrence
they do on the system that you've provided them with. At least I think that's how these things usually work, isn't it? -- Cheers. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: JUST GOT HACKED

2013-10-02 Thread Mark Lawrence
w their own behaviour contributes to the frustration of those venting. No guessing which camp I'm in. -- Cheers. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: I haev fixed it

2013-10-02 Thread Mark Lawrence
On 02/10/2013 00:28, Νίκος wrote: Στις 2/10/2013 1:57 πμ, ο/η Mark Lawrence έγραψε: On 01/10/2013 23:46, Νίκος wrote: If only there was a log file that could show the connection made by the hacker's host, so to post it here. I'd write a serious letter of complaint to all of your

Re: I haev fixed it

2013-10-02 Thread Mark Lawrence
On 02/10/2013 16:48, Denis McMahon wrote: On Wed, 02 Oct 2013 15:01:31 +0100, Mark Lawrence wrote: I want a full apology to this entire group now for your behaviour, and a very specific formal apology to myself for your completely unfounded allegations. I expect to see this by 23:59 2nd

Re: Tail recursion to while iteration in 2 easy steps

2013-10-02 Thread Mark Janssen
>> def fact(n): return 1 if n <= 1 else n * fact(n-1) >> >> into a tail recursion like > [...] > > How do know that either "<=" or "*" didn't rebind the name "fact" to > something else? I think that's the main reason why python cannot apply > any procedural optimization (even things like inlining a

Re: Tail recursion to while iteration in 2 easy steps

2013-10-02 Thread Mark Janssen
On Wed, Oct 2, 2013 at 1:23 PM, Alain Ketterlin wrote: > On 10/02/2013 08:59 PM, Mark Janssen wrote: >>>> >>>> def fact(n): return 1 if n <= 1 else n * fact(n-1) >>> >>> How do know that either "<=" or "*" didn't rebi

Re: Tail recursion to while iteration in 2 easy steps

2013-10-02 Thread Mark Janssen
>> Part of the reason that Python does not do tail call optimization is >> that turning tail recursion into while iteration is almost trivial, once >> you know the secret of the two easy steps. Here it is. > > That should be a reason it _does_ do it - saying people should rewrite > their functions

Re: Killing threads with TB

2013-10-02 Thread Mark Lawrence
portion of TB. One can read python-list as news.gmane.org newsgroup gmane.comp.python.general. You can also read hundreds of other Python lists at gmane.comp.python. -- Roses are red, Violets are blue, Most poems rhyme, But this one doesn't. Mark Lawrence -- https://mail.python.org/ma

Re: ipy %run noob confusion

2013-10-03 Thread Mark Lawrence
built on top of Python. If no answer here, look for an ipython-specific list or discussion group. Such as news.gmane.org/gmane.comp.python.ipython.user -- Roses are red, Violets are blue, Most poems rhyme, But this one doesn't. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: How to streamingly read text file and display whenever updated text

2013-10-05 Thread Mark Lawrence
much. You can also remove the semicolons as they're simply not needed. -- Roses are red, Violets are blue, Most poems rhyme, But this one doesn't. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: How to streamingly read text file and display whenever updated text

2013-10-05 Thread Mark Lawrence
/Downloads/a.txt James Tail also works on Windows if you've unxutils installed :) -- Roses are red, Violets are blue, Most poems rhyme, But this one doesn't. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: How to streamingly read text file and display whenever updated text

2013-10-05 Thread Mark Lawrence
: time.sleep(interval) file.seek(where) else: yield line In future could you please quote some context so that it's easier for us mere mortals to follow the thread, thanks in anticipation. -- Roses are red, Violets are blue, Most poems rhyme, But this one doesn

Re: Where does MySQLdb put inserted data?

2013-10-05 Thread Mark Lawrence
d . . . Thanks Frederic Reminds me of the people who've never had an accident but have seen thousands in their rear view mirror. Perhaps the driver here http://www.bbc.co.uk/news/uk-england-hampshire-24367601 ? -- Roses are red, Violets are blue, Most poems rhyme, But this one doe

<    20   21   22   23   24   25   26   27   28   29   >