=== About ===
psutil is a module providing an interface for retrieving information on all
running processes and system utilization (CPU, memory, disks, network,
users) in a portable way by using Python, implementing many functionalities
offered by command line tools such as ps, top, free,
Hi there guys,
I'm pleased to announce pyftpdlib 1.3.0.
=== About ===
Python FTP server library provides a high-level portable interface to
easily write very efficient and scalable asynchronous FTP servers with
Python. It is the most complete
RFC-959http://www.faqs.org/rfcs/rfc959.html FTP
The Karlsruhe Python User Group (KaPy) meets again.
Friday, 2013-11-15 (November 15th) at 19:00 (7pm) in the rooms of Entropia eV
(the local affiliate of the CCC). See http://entropia.de/wiki/Anfahrt
on how to get there.
For your calendars: meetings are held monthly, on the 3rd Friday.
There's
Στις 6/11/2013 5:25 μμ, ο/η Νίκος Γκρ33κ έγραψε:
Okey let the hacker try again to mess with my database!!!
He is done it twice, lets see if he will make it again!
I'am waiting!
I'am pleased to see that various ppl have tried to mess my db by
1. submitted my webiste to netcraft.com for
On Fri, Nov 8, 2013 at 7:20 PM, Νίκος Αλεξόπουλος nikos.gr...@gmail.com wrote:
Fortunately for me they have all failed.
That means that i have *actually* made security of my scripts stronger.
Now whoever called me incompetent should think again before he accused me of
so. :-)
On 11/07/2013 03:32 PM, Chris Angelico wrote:
On Fri, Nov 8, 2013 at 10:28 AM, Νίκος Αλεξόπουλος
nikos.gr...@gmail.com wrote:
Also i don't have to explain my job or grant permission from Grant to start
a business. I don't care if you think otherwise.
You don't need Grant to grant permission
Στις 8/11/2013 10:31 πμ, ο/η Chris Angelico έγραψε:
On Fri, Nov 8, 2013 at 7:20 PM, Νίκος Αλεξόπουλος nikos.gr...@gmail.com wrote:
Fortunately for me they have all failed.
That means that i have *actually* made security of my scripts stronger.
Now whoever called me incompetent should think
On 07/11/2013 21:45, Joel Goldstick wrote:
On Thu, Nov 7, 2013 at 4:39 PM, Ian Kelly ian.g.ke...@gmail.com wrote:
On Thu, Nov 7, 2013 at 2:20 PM, Denis McMahon denismfmcma...@gmail.com wrote:
I think the hacker is a figment of Nick's imagination, or rather a
consequence of his broken python
On 07/11/2013 23:10, Νίκος Αλεξόπουλος wrote:
I will improve on linux and python scripting over time, day by day
No you won't!!! Everytime you're offered advice on best practice you
state that you want to do it differently.
--
Python is the second best programming language in the
On 08/11/2013 08:59, Νίκος Αλεξόπουλος wrote:
Στις 8/11/2013 10:31 πμ, ο/η Chris Angelico έγραψε:
On Fri, Nov 8, 2013 at 7:20 PM, Νίκος Αλεξόπουλος
nikos.gr...@gmail.com wrote:
Fortunately for me they have all failed.
That means that i have *actually* made security of my scripts stronger.
Now
On 08/11/2013 01:32, alex23 wrote:
On 8/11/2013 7:39 AM, Ian Kelly wrote:
Unless the Python installation on Nikos' system has become self-aware
and is actively objecting to his code, I think that messages like
Read a manual and Learn to code inserted into a database (as seen
in the images that
On 08/11/2013 02:18, Roy Smith wrote:
In article l5hh32$qf4$1...@dont-email.me, alex23 wuwe...@gmail.com
wrote:
On 8/11/2013 11:54 AM, Roy Smith wrote:
Dead code doesn't count.
Neither do shifting goalposts.
It's not a shifting goalpost. My original statement was that:
def foo():
Στις 8/11/2013 11:15 πμ, ο/η Mark Lawrence έγραψε:
On 08/11/2013 01:32, alex23 wrote:
On 8/11/2013 7:39 AM, Ian Kelly wrote:
Unless the Python installation on Nikos' system has become self-aware
and is actively objecting to his code, I think that messages like
Read a manual and Learn to code
On Fri, Nov 8, 2013 at 6:09 PM, Gregory Ewing
greg.ew...@canterbury.ac.nz wrote:
You've got me thinking now about how viable a compression
scheme this would be, efficiency issues aside. I suppose
it would depend on things like the average density of primes
and the average number of prime
Στις 8/11/2013 11:19 πμ, ο/η Mark Lawrence έγραψε:
On 08/11/2013 08:59, Νίκος Αλεξόπουλος wrote:
Στις 8/11/2013 10:31 πμ, ο/η Chris Angelico έγραψε:
On Fri, Nov 8, 2013 at 7:20 PM, Νίκος Αλεξόπουλος
nikos.gr...@gmail.com wrote:
Fortunately for me they have all failed.
That means that i have
Στις 8/11/2013 11:19 πμ, ο/η Mark Lawrence έγραψε:
On 08/11/2013 08:59, Νίκος Αλεξόπουλος wrote:
Στις 8/11/2013 10:31 πμ, ο/η Chris Angelico έγραψε:
On Fri, Nov 8, 2013 at 7:20 PM, Νίκος Αλεξόπουλος
nikos.gr...@gmail.com wrote:
Fortunately for me they have all failed.
That means that i have
On 08/11/2013 03:30, iMath wrote:
When running the following code on WinXP , all is fine ,
--
from win32com.shell import shell
def launch_file_explorer(path, files):
folder_pidl = shell.SHILCreateFromPath(path,0)[0]
On Fri, Nov 8, 2013 at 8:34 PM, Νίκος Αλεξόπουλος nikos.gr...@gmail.com wrote:
Στις 8/11/2013 11:15 πμ, ο/η Mark Lawrence έγραψε:
Made my day :)
And if you jump over a bridge it would make my day!
Mar-Kal El-awrence! Able to leap tall bridges in a single bound, more
powerful than a steaming
On 08/11/2013 09:34, Νίκος Αλεξόπουλος wrote:
Στις 8/11/2013 11:15 πμ, ο/η Mark Lawrence έγραψε:
On 08/11/2013 01:32, alex23 wrote:
On 8/11/2013 7:39 AM, Ian Kelly wrote:
Unless the Python installation on Nikos' system has become self-aware
and is actively objecting to his code, I think that
On 08/11/2013 09:37, Νίκος Αλεξόπουλος wrote:
You wouldn't be able to write the scripts i have written.
All you do is criticize me, but you never ever have posted code to
anything i have asked.
Perhaps you can't even write a simpel script
I may be drunk, Miss, but in the morning I will be
On Fri, Nov 8, 2013 at 4:58 AM, Mark Lawrence breamore...@yahoo.co.uk wrote:
On 08/11/2013 09:37, Νίκος Αλεξόπουλος wrote:
You wouldn't be able to write the scripts i have written.
All you do is criticize me, but you never ever have posted code to
anything i have asked.
Perhaps you can't
On 08/11/2013 09:39, Νίκος Αλεξόπουλος wrote:
You wouldn't be able to write the scripts i have written.
All you do is criticize me, but you never ever have posted code to
anything i have asked.
Perhaps you can't even write a simple script.
That's again correct. Everytime a question gets
Στις 8/11/2013 11:52 πμ, ο/η Mark Lawrence έγραψε:
On 08/11/2013 09:34, Νίκος Αλεξόπουλος wrote:
Στις 8/11/2013 11:15 πμ, ο/η Mark Lawrence έγραψε:
On 08/11/2013 01:32, alex23 wrote:
On 8/11/2013 7:39 AM, Ian Kelly wrote:
Unless the Python installation on Nikos' system has become self-aware
On 08/11/2013 09:52, Chris Angelico wrote:
On Fri, Nov 8, 2013 at 8:34 PM, Νίκος Αλεξόπουλος nikos.gr...@gmail.com wrote:
Στις 8/11/2013 11:15 πμ, ο/η Mark Lawrence έγραψε:
Made my day :)
And if you jump over a bridge it would make my day!
Mar-Kal El-awrence! Able to leap tall bridges in a
On Fri, Nov 8, 2013 at 9:00 PM, Mark Lawrence breamore...@yahoo.co.uk wrote:
On 08/11/2013 09:52, Chris Angelico wrote:
Mar-Kal El-awrence! Able to leap tall bridges in a single bound, more
powerful than a steaming (and fuming) Greek webmaster, the Man of
Silicon, BREAMOREBOY!
Thank you for
Στις 8/11/2013 11:55 πμ, ο/η Mark Lawrence έγραψε:
On 08/11/2013 09:39, Νίκος Αλεξόπουλος wrote:
You wouldn't be able to write the scripts i have written.
All you do is criticize me, but you never ever have posted code to
anything i have asked.
Perhaps you can't even write a simple script.
On Fri, Nov 8, 2013 at 9:05 PM, Νίκος Αλεξόπουλος nikos.gr...@gmail.com wrote:
I never ignore advices.
I read all answers as carefully as i can.
But nevertheless sometimes i feel things should have been better implemented
using my way.
Not of course that i know better, but thats better
Hi,
What you get from LiClipse which you don't have on Eclipse+PyDev is:
- Lightweight support for other languages (i.e.: there's an editor which
provides highlighting, outline and other goodies which supports multiple
languages such as Django Templates, Mako, Javascript, Html, etc. -- and it
On Friday, November 8, 2013 11:00:54 AM UTC+1, Ferrous Cranus wrote:
I have never exposed my client's data. Prove otherwise.
'Hackers' enter your database. How is that not exposing client's data? Or is
this just your development machine? That would prove you learnt at least
something here.
On 8 November 2013 21:00, Νίκος Αλεξόπουλος nikos.gr...@gmail.com wrote:
I have never exposed my client's data. Prove otherwise.
https://mail.python.org/pipermail/python-list/2013-June/648550.html
Or don't you consider giving the root password for a server containing
client data to a complete
Op 08-11-13 11:05, Νίκος Αλεξόπουλος schreef:
I never ignore advices.
I doubt that. You have too often come back with the same
question some time after it was answered a previous time
for this to be credible.
I read all answers as carefully as i can.
Then your reading skills leave much to
On 08/11/2013 10:00, Νίκος Αλεξόπουλος wrote:
I have never exposed my client's data. Prove otherwise.
If your site has successfully been hacked *TWICE* then by definition
your clients data has been exposed. Didn't you also hand out your
password, that's really secure, isn't it?
The
On 08/11/2013 10:05, Νίκος Αλεξόπουλος wrote:
I never ignore advices.
I read all answers as carefully as i can.
But nevertheless sometimes i feel things should have been better
implemented using my way.
The only relational database that has no relationships as effectively
there's only one
On 08/11/2013 10:09, Chris Angelico wrote:
On Fri, Nov 8, 2013 at 9:00 PM, Mark Lawrence breamore...@yahoo.co.uk wrote:
On 08/11/2013 09:52, Chris Angelico wrote:
Mar-Kal El-awrence! Able to leap tall bridges in a single bound, more
powerful than a steaming (and fuming) Greek webmaster, the
Στις 8/11/2013 3:12 μμ, ο/η Tim Delaney έγραψε:
On 8 November 2013 21:00, Νίκος Αλεξόπουλος nikos.gr...@gmail.com
mailto:nikos.gr...@gmail.com wrote:
I have never exposed my client's data. Prove otherwise.
https://mail.python.org/pipermail/python-list/2013-June/648550.html
Or don't you
Op 08-11-13 14:31, Mark Lawrence schreef:
On 08/11/2013 10:05, Νίκος Αλεξόπουλος wrote:
I never ignore advices.
I read all answers as carefully as i can.
But nevertheless sometimes i feel things should have been better
implemented using my way.
The only relational database that has no
Op 08-11-13 14:48, Νίκος Αλεξόπουλος schreef:
Στις 8/11/2013 3:12 μμ, ο/η Tim Delaney έγραψε:
On 8 November 2013 21:00, Νίκος Αλεξόπουλος nikos.gr...@gmail.com
mailto:nikos.gr...@gmail.com wrote:
I have never exposed my client's data. Prove otherwise.
Στις 8/11/2013 3:30 μμ, ο/η Mark Lawrence έγραψε:
On 08/11/2013 10:00, Νίκος Αλεξόπουλος wrote:
I have never exposed my client's data. Prove otherwise.
If your site has successfully been hacked *TWICE* then by definition
your clients data has been exposed. Didn't you also hand out your
On 08/11/2013 10:09, Chris Angelico wrote:
On Fri, Nov 8, 2013 at 9:00 PM, Mark Lawrence breamore...@yahoo.co.uk wrote:
On 08/11/2013 09:52, Chris Angelico wrote:
Mar-Kal El-awrence! Able to leap tall bridges in a single bound, more
powerful than a steaming (and fuming) Greek webmaster, the
Mark Lawrence breamore...@yahoo.co.uk writes:
On 08/11/2013 10:09, Chris Angelico wrote:
On Fri, Nov 8, 2013 at 9:00 PM, Mark Lawrence breamore...@yahoo.co.uk
wrote:
On 08/11/2013 09:52, Chris Angelico wrote:
Mar-Kal El-awrence! Able to leap tall bridges in a single bound, more
powerful
On 08/11/2013 13:57, Νίκος Αλεξόπουλος wrote:
It was more of a supreise that it didn't return back any data.
You're still surprised that *YOUR* crap code doesn't return data,
funnier by the minute.
Here Nikos have some code and a database design that works.
No I'm doing it my way.
Your
Hi all,
I have the task of testing some embedded 'C' code for a small micro-controller.
Thought it would be a good idea to test it on the PC first to make sure the
algorithm is correct then perhaps test it on the controller via RS232 and an
appropriate wrapper round the 'C' functions.
On the
On 11/8/13 9:23 AM, John Pote wrote:
Hi all,
I have the task of testing some embedded 'C' code for a small micro-controller.
Thought it would be a good idea to test it on the PC first to make sure the
algorithm is correct then perhaps test it on the controller via RS232 and an
appropriate
Op 08-11-13 14:57, Νίκος Αλεξόπουλος schreef:
Στις 8/11/2013 3:30 μμ, ο/η Mark Lawrence έγραψε:
On 08/11/2013 10:00, Νίκος Αλεξόπουλος wrote:
I have never exposed my client's data. Prove otherwise.
If your site has successfully been hacked *TWICE* then by definition
your clients data has
On 08/11/2013 14:23, John Pote wrote:
Hi all,
Also as I don't have any microsoft offerings of a C compiler any suggestions as
to a suitable C compiler for a PC appreciated as well. llvm? mingw? gcc?
Thanks a lot everyone,
John
Visual Express C++ is fine, provided that its version matches
On 2013-11-08, John Pote johnhp...@o2.co.uk wrote:
Hi all,
I have the task of testing some embedded 'C' code for a small
micro-controller. Thought it would be a good idea to test it on the
PC first to make sure the algorithm is correct then perhaps test it
on the controller via RS232 and an
On 2013-11-08, Oscar Benjamin oscar.j.benja...@gmail.com wrote:
On 8 November 2013 14:23, John Pote johnhp...@o2.co.uk wrote:
Hi all,
I have the task of testing some embedded 'C' code for a small
micro-controller. Thought it would be a good idea to test it on the
PC first to make sure the
Στις 8/11/2013 4:02 μμ, ο/η Mark Lawrence έγραψε:
On 08/11/2013 10:09, Chris Angelico wrote:
On Fri, Nov 8, 2013 at 9:00 PM, Mark Lawrence
breamore...@yahoo.co.uk wrote:
On 08/11/2013 09:52, Chris Angelico wrote:
Mar-Kal El-awrence! Able to leap tall bridges in a single bound, more
powerful
On 8 November 2013 14:23, John Pote johnhp...@o2.co.uk wrote:
Hi all,
I have the task of testing some embedded 'C' code for a small
micro-controller. Thought it would be a good idea to test it on the PC first
to make sure the algorithm is correct then perhaps test it on the controller
via
在 2013年11月8日星期五UTC+8下午5时47分43秒,Tim Golden写道:
On 08/11/2013 03:30, iMath wrote:
When running the following code on WinXP , all is fine ,
--
from win32com.shell import shell
def launch_file_explorer(path, files):
在 2013年11月8日星期五UTC+8下午5时47分43秒,Tim Golden写道:
On 08/11/2013 03:30, iMath wrote:
When running the following code on WinXP , all is fine ,
--
from win32com.shell import shell
def launch_file_explorer(path, files):
Den fredagen den 8:e november 2013 kl. 03:43:17 UTC+1 skrev zipher:
I am not sure if it is just stupidness or laziness that prevent you from
seeing that 4^8=65536.
I can see that 4^8 = 65536. Now how are you going to render 65537? You
claimed that you could render *any* number
On Friday, November 8, 2013 9:18:05 PM UTC+5:30, jonas.t...@gmail.com wrote:
Den fredagen den 8:e november 2013 kl. 03:43:17 UTC+1 skrev zipher:
I am not sure if it is just stupidness or laziness that prevent you from
seeing that 4^8=65536.
I can see that 4^8 = 65536. Now how are you
On 08/11/2013 15:15, Νίκος Αλεξόπουλος wrote:
Στις 8/11/2013 4:02 μμ, ο/η Mark Lawrence έγραψε:
On 08/11/2013 10:09, Chris Angelico wrote:
On Fri, Nov 8, 2013 at 9:00 PM, Mark Lawrence
breamore...@yahoo.co.uk wrote:
On 08/11/2013 09:52, Chris Angelico wrote:
Mar-Kal El-awrence! Able to leap
Thanks everyone for the advice, some good ideas to keep me busy. Will try and
look at over weekend/next week as tied up the rest of today.
I've used pyserial several times - many thanks to Chris Liechti for that module
Hm must be loosing it, forgot about stdin/out!
I've also used CUnit
Op 08-11-13 16:15, Νίκος Αλεξόπουλος schreef:
Στις 8/11/2013 4:02 μμ, ο/η Mark Lawrence έγραψε:
On 08/11/2013 10:09, Chris Angelico wrote:
On Fri, Nov 8, 2013 at 9:00 PM, Mark Lawrence
breamore...@yahoo.co.uk wrote:
On 08/11/2013 09:52, Chris Angelico wrote:
Mar-Kal El-awrence! Able to leap
You have demonstrated significant difficulties in social interaction and
behavior.
Pot - Kettle
--
https://mail.python.org/mailman/listinfo/python-list
Στις 8/11/2013 6:06 μμ, ο/η Mark Lawrence έγραψε:
But let's not waste any more time on this. Please get back to checking
your web site. She might have been hacking again. Or little fingers
from one of my highly paid contractors might have been up to no good. Oh
but I forgot, you've made it
On Fri, 08 Nov 2013 18:28:39 +0200, Νίκος Αλεξόπουλος wrote:
Στις 8/11/2013 6:06 μμ, ο/η Mark Lawrence έγραψε:
But let's not waste any more time on this. Please get back to checking
your web site. She might have been hacking again. Or little fingers
from one of my highly paid contractors
Στις 8/11/2013 6:48 μμ, ο/η unknown έγραψε:
On Fri, 08 Nov 2013 18:28:39 +0200, Νίκος Αλεξόπουλος wrote:
Στις 8/11/2013 6:06 μμ, ο/η Mark Lawrence έγραψε:
But let's not waste any more time on this. Please get back to checking
your web site. She might have been hacking again. Or little
On Fri, 08 Nov 2013 18:57:21 +0200, Νίκος Αλεξόπουλος wrote:
Στις 8/11/2013 6:48 μμ, ο/η unknown έγραψε:
On Fri, 08 Nov 2013 18:28:39 +0200, Νίκος Αλεξόπουλος wrote:
Στις 8/11/2013 6:06 μμ, ο/η Mark Lawrence έγραψε:
But let's not waste any more time on this. Please get back to
checking
Στις 8/11/2013 7:01 μμ, ο/η unknown έγραψε:
On Fri, 08 Nov 2013 18:57:21 +0200, Νίκος Αλεξόπουλος wrote:
Στις 8/11/2013 6:48 μμ, ο/η unknown έγραψε:
On Fri, 08 Nov 2013 18:28:39 +0200, Νίκος Αλεξόπουλος wrote:
Στις 8/11/2013 6:06 μμ, ο/η Mark Lawrence έγραψε:
But let's not waste any more
On Fri, Nov 8, 2013 at 8:48 AM, Νίκος Αλεξόπουλος nikos.gr...@gmail.com wrote:
Στις 8/11/2013 3:12 μμ, ο/η Tim Delaney έγραψε:
On 8 November 2013 21:00, Νίκος Αλεξόπουλος nikos.gr...@gmail.com
mailto:nikos.gr...@gmail.com wrote:
I have never exposed my client's data. Prove otherwise.
On 11/08/2013 03:05 AM, Νίκος Αλεξόπουλος wrote:
I never ignore advices.
I read all answers as carefully as i can.
But nevertheless sometimes i feel things should have been better
implemented using my way.
Not of course that i know better, but thats better suited for me in the
level iam.
twit is I think ok to say. The other word is pretty rude
On Fri, Nov 8, 2013 at 12:09 PM, Νίκος Αλεξόπουλος
nikos.gr...@gmail.com wrote:
Στις 8/11/2013 7:01 μμ, ο/η unknown έγραψε:
On Fri, 08 Nov 2013 18:57:21 +0200, Νίκος Αλεξόπουλος wrote:
Στις 8/11/2013 6:48 μμ, ο/η unknown έγραψε:
On
Please! Everyone! Take this discussion elsewhere. It is way off-topic and
the negative energy is damaging this forum for everyone else.
The Python Software Foundation and the global Python community welcome and
encourage participation by everyone. Our community is based on mutual respect,
Yes, this off-topic, but after a fair amount of Googling and searching
in the right places, I'm running out of ideas.
I've got a very feeble web server. The crypto handshaking involved in
opening an https: connection takes 2-3 seconds. That would be fine if
a browser opened a single connection
On Friday, November 8, 2013 9:25:30 AM UTC-8, Grant Edwards wrote:
Yes, this off-topic, but after a fair amount of Googling and searching
in the right places, I'm running out of ideas.
I've got a very feeble web server. The crypto handshaking involved in
opening an https: connection takes
What I really need is an HTTP header or meta-tag or something that I
can use to tell clients to limit themselves to a single connection.
I haven't been able to find such a thing, but I'm hoping I've
overlooked something...
That will only go so far. Suppose you tell web browsers no more than
I have a long string (several Mbytes). I want to iterate over it in manageable
chunks (say, 1 kbyte each). For (a small) example, if I started with this is
a very long string, and I wanted 10 character chunks, I should get:
this is a
very long
string
This seems like something itertools
On 08/11/2013 03:30, iMath wrote:
When running the following code on WinXP , all is fine ,
--
from win32com.shell import shell
def launch_file_explorer(path, files):
folder_pidl = shell.SHILCreateFromPath(path,0)[0]
desktop
On 08/11/2013 17:48, Roy Smith wrote:
I have a long string (several Mbytes). I want to iterate over it in manageable chunks
(say, 1 kbyte each). For (a small) example, if I started with this is a very long
string, and I wanted 10 character chunks, I should get:
this is a
very long
string
Roy Smith wrote:
I have a long string (several Mbytes). I want to iterate over it in
manageable chunks (say, 1 kbyte each). For (a small) example, if I
started with this is a very long string, and I wanted 10 character
chunks, I should get:
this is a
very long
string
This seems
I have a long string (several Mbytes). I want to iterate over it in
manageable chunks (say, 1 kbyte each).
You don't mention if the string is in memory or on disk. If it's in memory:
for i in range(0, len(s), 10):
... print repr(s[i:i+10])
...
'this is a '
'very long '
'string'
If your
On 2013-11-08, Skip Montanaro s...@pobox.com wrote:
What I really need is an HTTP header or meta-tag or something that I
can use to tell clients to limit themselves to a single connection.
I haven't been able to find such a thing, but I'm hoping I've
overlooked something...
That will only
I have a long string (several Mbytes). I want to iterate over it in
manageable chunks
This is a weirdly common question. See
http://stackoverflow.com/questions/312443/how-do-you-split-a-list-into-evenly-sized-chunks-in-python
for several solutions.
It's been proposed to be added to
On Sat, Nov 9, 2013 at 4:11 AM, ru...@yahoo.com wrote:
On 11/08/2013 03:05 AM, Νίκος Αλεξόπουλος wrote:
I never ignore advices.
I read all answers as carefully as i can.
But nevertheless sometimes i feel things should have been better
implemented using my way.
Not of course that i know
On Sat, Nov 9, 2013 at 4:25 AM, Grant Edwards invalid@invalid.invalid wrote:
I've got a very feeble web server. The crypto handshaking involved in
opening an https: connection takes 2-3 seconds. That would be fine if
a browser opened a single connection and then sent a series of
requests on
On Fri, 08 Nov 2013 01:28:19 +0200, Νίκος Αλεξόπουλος wrote:
If i was completely incompetent i wouldn't had a working website and i
wasn't able to design my customers' webpages.
If your website is working, why do you keep posting here asking us how to
fix it?
--
Denis McMahon,
:
On Fri, Nov 08, 2013 at 12:48:12PM -0500, Roy Smith wrote:
I have a long string (several Mbytes). I want to iterate over it in
manageable chunks (say, 1 kbyte each).
this is a
very long
string
This seems like something itertools would do, but I don't see anything.
You could use
Oh my, it turns out I don't really need to do this after all, due to previously
undiscovered uber-coolness in the tools I'm using!
My use case is that from inside of a Django view, I needed to retrieve a large
file via a HTTP GET, and serve that back up, with some time delays inserted
into the
On Fri, 08 Nov 2013 01:10:37 +, Steve Simmons wrote:
I must say that I kinda like the idea of Nick's computer gagging on his
code and sending him messages pleading that he educated himself.
It's a more likely scenario that Nick learning to code properly.
--
Denis McMahon,
On Fri, Nov 8, 2013 at 8:48 AM, jonas.thornv...@gmail.com wrote:
3^2-2^2=5
How do you intend to encode 3**2 - 2**2 in such a way that it is more
compact than simply encoding 5? If you actually have an algorithm,
you should share it instead of dropping these cryptic one-line
non-explanations
Στις 8/11/2013 8:19 μμ, ο/η Denis McMahon έγραψε:
On Fri, 08 Nov 2013 01:28:19 +0200, Νίκος Αλεξόπουλος wrote:
If i was completely incompetent i wouldn't had a working website and i
wasn't able to design my customers' webpages.
If your website is working, why do you keep posting here asking
On 2013-11-08, Chris Angelico ros...@gmail.com wrote:
On Sat, Nov 9, 2013 at 4:25 AM, Grant Edwards invalid@invalid.invalid wrote:
I've got a very feeble web server. The crypto handshaking involved in
opening an https: connection takes 2-3 seconds. That would be fine if
a browser opened a
Στις 8/11/2013 7:11 μμ, ο/η ru...@yahoo.com έγραψε:
On 11/08/2013 03:05 AM, Νίκος Αλεξόπουλος wrote:
I never ignore advices.
I read all answers as carefully as i can.
But nevertheless sometimes i feel things should have been better
implemented using my way.
Not of course that i know better,
Hi,
I have a function that returns something like this;
[[[1, 5, 9], [2, 6, 7], [3, 4, 8]], [[1, 6, 8], [2, 4, 9], [3, 5, 7]]]
It is a list of list of lists. Each uppermost list is called a result.
I want to write a code that
shows that each elem in sublists of result on appears once in whole
Guys,
I am stuck with a problem.
#!/usr/bin/python
import httplib2
import pprint
from apiclient.discovery import build
from apiclient.http import MediaFileUpload
from oauth2client.client import OAuth2WebServerFlow
# Copy your credentials from the
This works;
for result in results:
flat = list(item for group in result for item in group)
print [sum([1 for el in flat if el==current]) for current in flat]
[1, 1, 1, 1, 1, 1, 1, 1, 1]
[1, 1, 1, 1, 1, 1, 1, 1, 1]
But I am still open to suggestions if anyone thinks
On Sat, Nov 9, 2013 at 6:28 AM, Yaşar Arabacı yasar11...@gmail.com wrote:
I want to write a code that
shows that each elem in sublists of result on appears once in whole
sublist in order to add it to
my doctest.
So, to clarify the problem: You want to ensure that every element
occurs exactly
On Sat, Nov 9, 2013 at 6:20 AM, Grant Edwards invalid@invalid.invalid wrote:
On 2013-11-08, Chris Angelico ros...@gmail.com wrote:
Are you using HTTP 1.1 with connection reuse?
Yes. And several years ago when I first enabled that feature in the
server, I verified that some browsers were
What I really need is an HTTP header or meta-tag or something that I can use
to tell clients to limit themselves to a single connection.
I don't think such a thing exists... but you may be able to solve this
creatively:
A) Set up a proxy server that multiplexes all of the connections into a
On Fri, Nov 8, 2013 at 10:25 AM, Grant Edwards invalid@invalid.invalid wrote:
Yes, this off-topic, but after a fair amount of Googling and searching
in the right places, I'm running out of ideas.
I've got a very feeble web server. The crypto handshaking involved in
opening an https:
Here's the code:
from random import random
from time import clock
s = clock()
for i in (1, 2, 3, 6, 8):
M = 0
N = 10**i
for n in xrange(N):
r = random()
if 0.5 r 0.6:
M += 1
k = (N, float(M)/N)
print (clock()-s)
Running on win7 python 2.7 32
Como faço para fazer um programa no modo gráfico sem usar o prompt?
--
https://mail.python.org/mailman/listinfo/python-list
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On behalf of Twisted Matrix Laboratories, I am honoured to announce
the release of Twisted 13.2!
The highlights of this release are:
* Twisted now includes a HostnameEndpoint implementation which uses
IPv4 and IPv6 in parallel, speeding up the
Op 08-11-13 18:26, Ned Deily schreef:
Please! Everyone! Take this discussion elsewhere. It is way off-topic and
the negative energy is damaging this forum for everyone else.
The Python Software Foundation and the global Python community welcome and
encourage participation by everyone.
On 2013-11-08, ru...@yahoo.com ru...@yahoo.com wrote:
Just wanted to let you know that not everybody here is an
asshole. It is just that assholes, by their nature, are the
loudest.
Hey man, pass that over!
--
Neil Cerutti
--
https://mail.python.org/mailman/listinfo/python-list
2013/11/9 Guitar Men guitarmem...@gmail.com:
Como faço para fazer um programa no modo gráfico sem usar o prompt?
My apologies, I don't speak Portuguese. Hopefully you can use an
automated translation tool to understand this.
On Windows, you can run a program with pythonw.exe rather than
You can find many resources for GUI programming in Python here:
https://wiki.python.org/moin/GuiProgramming
I believe you'll have better results with this list if you post your
queries in English.
--izar
2013/11/8 Guitar Men guitarmem...@gmail.com
Como faço para fazer um programa no modo
1 - 100 of 219 matches
Mail list logo