Τη Τετάρτη, 10 Απριλίου 2013 12:10:13 π.μ. UTC+3, ο χρήστης Νίκος Γκρ33κ έγραψε:
> Hello, iam still trying to alter the code form python 2.6 => 3.3
>
>
>
> Everyrging its setup except that unicode error that you can see if you go to
> http://superhost.gr
>
>
>
> Can anyone help with this?
>
On Saturday, March 6, 1999 12:00:00 AM UTC-8, Tim Peters wrote:
> If you're like me, you've been using Python since '91, and every scheme
> you've come up with for testing basically sucked. Some observations:
>
> + Examples are priceless.
>
> + Examples that don't work are worse than worthless.
On 04/14/2013 12:34 AM, Chris Angelico wrote:
On Sun, Apr 14, 2013 at 5:34 AM, someone wrote:
I think maybe I'll experiment a bit with both mySql (small/medium sized
databases) and for critical/important stuff I should go with PostgreSQL
PostgreSQL isn't majorly slower than MySQL, and it's a
> Pynguin is a python-based turtle graphics application.
I wonder why Pynguin does not get more traction in the teaching sector. Looks
ideal for teaching kids.
--
http://mail.python.org/mailman/listinfo/python-list
On 04/14/2013 12:54 AM, Chris Angelico wrote:
On Sun, Apr 14, 2013 at 8:31 AM, someone wrote:
Ok, thank you. I just came across a blog that said pytables is also a very
good option?
http://www.pytables.org/moin/PyTables?action=AttachFile&do=view&target=non-indexed.png
From what I gather, th
On 13Apr2013 07:16, nagia.rets...@gmail.com wrote:
| root@macgyver [/home/nikos/public_html/cgi-bin]# ls ../cgi.err.out
| ../cgi.err.out
I prefer "ls -ld" myself.
| root@macgyver [/home/nikos/public_html/cgi-bin]# cat ../cgi.err.out
|
| Also i have foudn the error log and i tried to view it b
Pynguin is a python-based turtle graphics application.
It combines an editor, interactive interpreter, and
graphics display area.
It is meant to be an easy environment for introducing
some programming concepts to beginning programmers.
http://pynguin.googlecode.com/
This release ad
On Sun, Apr 14, 2013 at 8:31 AM, someone wrote:
> Ok, thank you. I just came across a blog that said pytables is also a very
> good option?
>
> http://www.pytables.org/moin/PyTables?action=AttachFile&do=view&target=non-indexed.png
>From what I gather, that's looking at performance of a non-indexa
On Sun, Apr 14, 2013 at 6:01 AM, Dennis Lee Bieber
wrote:
> On Sun, 14 Apr 2013 00:03:25 +1000, Chris Angelico
> declaimed the following in gmane.comp.python.general:
>
>> True ACID compliance demands support at every level:
>>
>> 1) The application has to operate in logical units of work, which
On 04/14/2013 12:22 AM, Walter Hurry wrote:
On Sat, 13 Apr 2013 21:34:38 +0200, someone wrote:
On 04/13/2013 04:56 PM, Walter Hurry wrote:
On Sat, 13 Apr 2013 16:39:12 +0200, someone wrote:
I'm not so rich, so I prefer to go for a free database solution rather
than an expensive license
(
On Sun, Apr 14, 2013 at 5:34 AM, someone wrote:
> I think maybe I'll experiment a bit with both mySql (small/medium sized
> databases) and for critical/important stuff I should go with PostgreSQL
PostgreSQL isn't majorly slower than MySQL, and it's a lot more
trustworthy in terms of database cons
On Sat, 13 Apr 2013 21:34:38 +0200, someone wrote:
> On 04/13/2013 04:56 PM, Walter Hurry wrote:
>> On Sat, 13 Apr 2013 16:39:12 +0200, someone wrote:
>>
>>> I'm not so rich, so I prefer to go for a free database solution rather
>>> than an expensive license
>> ( but I do care about ACID complia
In article , someone
wrote:
> > Some of the early Unix file systems were very fragile. One of the
> > (often under-appreciated) major advances in BSD (it was certainly in
> > 4.2, not sure how much earlier) was a new filesystem which was much more
> > robust in the face of hardware failures and
On 04/13/2013 10:01 PM, Dennis Lee Bieber wrote:
On Sun, 14 Apr 2013 00:03:25 +1000, Chris Angelico
declaimed the following in gmane.comp.python.general:
[ ]
* Create a table with a number of rows with an ID and a counter,
initialized to 0
* Repeatedly, in parallel, perform a transaction
Fixed full details here http://bugs.python.org/issue16061
--
If you're using GoogleCrap™ please read this
http://wiki.python.org/moin/GoogleGroupsPython.
Mark Lawrence
--
http://mail.python.org/mailman/listinfo/python-list
Microsoft accuses Google of pushing services to Android
http://natigtas7ab.blogspot.com/2013/04/microsoft-accuses-google-of-pushing.html
--
http://mail.python.org/mailman/listinfo/python-list
Hey,
I have an app hosted on PyPi, it actually is a small script which is
in bin/ directory of the project. Here is the part of setup.py file of
my app:
#!/usr/bin/env python
#-*- coding: utf-8 -*-
import sys, os, shutil
try:
from setuptools import setup
except ImportError:
from distutil
On 04/13/2013 07:02 PM, rusi wrote:
On Apr 13, 9:15 pm, Chris Angelico wrote:
On Sun, Apr 14, 2013 at 12:39 AM, someone wrote:
On 04/13/2013 04:03 PM, Chris Angelico wrote:
.
.
Failure at any level means the overall system is not ACID compliant.
Ok, it would be nice to hear/read th
On 04/13/2013 06:15 PM, Chris Angelico wrote:
On Sun, Apr 14, 2013 at 12:39 AM, someone wrote:
On 04/13/2013 04:03 PM, Chris Angelico wrote:
Failure at any level means the overall system is not ACID compliant.
Roger... But google says sqlite is supposed to be ACID compliant (although
maybe n
On 04/13/2013 04:56 PM, Walter Hurry wrote:
On Sat, 13 Apr 2013 16:39:12 +0200, someone wrote:
I'm not so rich, so I prefer to go for a free database solution rather
than an expensive license
( but I do care about ACID compliance)
Sounds to me that PostgreSQL is your man, then.
Oh, ok. Th
On 04/13/2013 04:36 PM, Roy Smith wrote:
In article ,
Chris Angelico wrote:
2) The database engine must employ some form of write-ahead log.
[...]
one way or another, there must be a way to detect half-done
transactions.
3) The operating system and filesystem must support a forced file
sync
On 13 April 2013 16:30, Ana Dionísio wrote:
> It's still not working. I still have one column with all the data inside,
> like this:
>
> 2999;T3;3;1;1;Off;ON;OFF;ON;ON;ON;ON;Night;;
>
> How can I split this data in a way that if I want to print "T3" I would just
> do "print array[0][1]"?
Yo
On 2013-04-14 00:01, Wolfgang Keller wrote:
Well, I usually use the Qt Designer and it does work well for me.
It generates a .ui file with it which has to be passed to pyuic to
generate the actual Python code
Wow.
Even one more step than with code generation directly from
the GUI builder.
Y
> Well, I usually use the Qt Designer and it does work well for me.
>
> It generates a .ui file with it which has to be passed to pyuic to
> generate the actual Python code
Wow.
Even one more step than with code generation directly from
the GUI builder.
Clumsy, tedious, static.
Cocoa's Interf
On 04/13/2013 09:36 AM, Stefan Schwarzer wrote:
* Approach 2
When opening remote text files for reading, ftputil will
always return unicode strings from `read(line/s)`,
regardless of whether it runs under Python 2 or Python 3.
Pro: Uniform API, independent on underlying Python
In article ,
Piotr Dobrogost wrote:
> On Thursday, April 11, 2013 5:12:53 PM UTC+2, donald...@gmail.com wrote:
> > I just submitted a bug report on the pdb issue.
> It would be nice of you to share the link to this issue.
http://bugs.python.org/issue17697
--
Ned Deily,
n...@acm.org
--
ht
On 4/13/2013 12:36 PM, Stefan Schwarzer wrote:
Hello,
I'm currently changing the FTP client library ftputil [1]
so that the same code of the library works with Python
2 (2.6 and up) and Python 3. (At the moment the code is for
Python 2 only.) I've run into a API design issue where I
don't know w
On Thursday, April 11, 2013 5:12:53 PM UTC+2, donald...@gmail.com wrote:
>
> I just submitted a bug report on the pdb issue.
It would be nice of you to share the link to this issue.
--
http://mail.python.org/mailman/listinfo/python-list
On Saturday, April 13, 2013 12:21:33 AM UTC+2, Terry Jan Reedy wrote:
> I find the doc slightly confusing. The SO code uses BaseHTTPServer. The
> doc says "Usually, this module isn’t used directly," On the other hand,
> SimpleHTTPServer only defines a request handler and not a server itself.
Tha
On 04/13/2013 12:28 AM, Mark Janssen wrote:
>> Mark, this proposal is out of place on a Python list, because it proposes an
>> object methodology radically different from any that is implemented in
>> Python now, or is even remotely likely to be implemented in Python in the
>> future.
>
> Wow, you
Dear Ana,
your example data could be transformed into a matrix with
>>>import csv
>>>rows = csv.reader(open("your_data_file.csv"), delimiter=" ")
>>>array = [row for row in rows]
>>>array[0][3]
4
HTH
Paolo
Am Freitag, 12. April 2013 19:29:05 UTC+2 schrieb Ana Dionísio:
> That only puts the data
On Apr 13, 9:15 pm, Chris Angelico wrote:
> On Sun, Apr 14, 2013 at 12:39 AM, someone wrote:
> > On 04/13/2013 04:03 PM, Chris Angelico wrote:
> >> Failure at any level means the overall system is not ACID compliant.
>
> > Roger... But google says sqlite is supposed to be ACID compliant (although
On 13/04/2013 16:30, Ana Dionísio wrote:
It's still not working. I still have one column with all the data inside, like
this:
2999;T3;3;1;1;Off;ON;OFF;ON;ON;ON;ON;Night;;
How can I split this data in a way that if I want to print "T3" I would just do
"print array[0][1]"?
I said before
matt.topolin...@gmail.com wrote:
> Hello,
>
> I'm trying to torubleshoot this issue for a user I support. He is running
> the splinter web browser simulator trough Google Chrome, and it appears to
> be causing his workstation to constantly BSOD.
>
> His machine has the following hardware:
>
> D
Hello,
I'm currently changing the FTP client library ftputil [1]
so that the same code of the library works with Python
2 (2.6 and up) and Python 3. (At the moment the code is for
Python 2 only.) I've run into a API design issue where I
don't know which API I should offer ftputil users under
Pytho
On Sun, Apr 14, 2013 at 12:39 AM, someone wrote:
> On 04/13/2013 04:03 PM, Chris Angelico wrote:
>> Failure at any level means the overall system is not ACID compliant.
>
> Roger... But google says sqlite is supposed to be ACID compliant (although
> maybe not "fully" as you indicate, I'm not sure
On Thursday, March 12, 2009 3:25:53 PM UTC+8, John Machin wrote:
> On Mar 12, 5:57 pm, Henrik Bechmann wrote:
> > obviously total mewbiew:
> >
> > My first program in Python Windows
>
> What is that you are callind "Python Windows"? What version of Python
> are you running?
>
> 2.X: print "Hello
On Sun, Apr 14, 2013 at 12:16 AM, wrote:
> Also i have foudn the error log and i tried to view it but it was empty and
> then i removed it and then run the script both from shell and broswer but it
> didnt reappeared.
>
> root@macgyver [/home/nikos/public_html/cgi-bin]# cat /var/log/httpd/error
It's still not working. I still have one column with all the data inside, like
this:
2999;T3;3;1;1;Off;ON;OFF;ON;ON;ON;ON;Night;;
How can I split this data in a way that if I want to print "T3" I would just do
"print array[0][1]"?
--
http://mail.python.org/mailman/listinfo/python-list
On Sat, 13 Apr 2013 16:39:12 +0200, someone wrote:
> I'm not so rich, so I prefer to go for a free database solution rather
> than an expensive license
( but I do care about ACID compliance)
Sounds to me that PostgreSQL is your man, then.
--
http://mail.python.org/mailman/listinfo/python-list
On 04/13/2013 04:03 PM, Chris Angelico wrote:
On Sat, Apr 13, 2013 at 11:30 PM, someone wrote:
On 04/13/2013 01:39 PM, Chris Angelico wrote:
Note that there's a caveat: You have to tell SQLite to be ACID
compliant, effectively.
So, you're saying to me that by default SQLite isn't ACID compl
In article ,
Chris Angelico wrote:
> 2) The database engine must employ some form of write-ahead log.
> [...]
> one way or another, there must be a way to detect half-done
> transactions.
>
> 3) The operating system and filesystem must support a forced file
> synchronization (fsync/fdatasync),
Τη Σάββατο, 13 Απριλίου 2013 1:28:07 μ.μ. UTC+3, ο χρήστης Cameron Simpson
έγραψε:
> On 12Apr2013 21:50, nagia.rets...@gmail.com wrote:
>
> | Ookey after that is corrected, i then tried the plain solution and i got
> this response back form the shell:
>
> |
>
> | Traceback (most recent call
On Sat, Apr 13, 2013 at 11:30 PM, someone wrote:
> On 04/13/2013 01:39 PM, Chris Angelico wrote:
>> Note that there's a caveat: You have to tell SQLite to be ACID
>> compliant, effectively.
>
>
> So, you're saying to me that by default SQLite isn't ACID compliant, if I
> begin to use it in my own
On 04/13/2013 01:39 PM, Chris Angelico wrote:
On Sat, Apr 13, 2013 at 9:08 PM, someone wrote:
I just had to google what ACID compliance means and accordingly to this:
http://en.wikipedia.org/wiki/SQLite
"SQLite is ACID-compliant and implements most of the SQL standard, using a
dynamically and
Ana Dionísio writes:
> Hello!
>
> I have a CSV file with 20 rows and 12 columns and I need to store it
> as a matrix.
array=numpy.array([row for row in csv.reader(open('Cenarios.csv'))])
NB: i used "array=" as in your sample code, BUT
--
http://mail.python.org/mailman/listinfo/python-list
On Sat, Apr 13, 2013 at 9:08 PM, someone wrote:
> I just had to google what ACID compliance means and accordingly to this:
>
> http://en.wikipedia.org/wiki/SQLite
>
> "SQLite is ACID-compliant and implements most of the SQL standard, using a
> dynamically and weakly typed SQL syntax that does not
On 04/13/2013 03:44 AM, Steven D'Aprano wrote:
On Fri, 12 Apr 2013 23:26:05 +, Cousin Stanley wrote:
The firefox browser keeps different sqlite database files for various
uses
Yes, and I *really* wish they wouldn't. It's my number 1 cause of major
problems with Firefox. E.g.
h
On 12Apr2013 21:50, nagia.rets...@gmail.com wrote:
| Ookey after that is corrected, i then tried the plain solution and i got this
response back form the shell:
|
| Traceback (most recent call last):
| File "metrites.py", line 213, in
| htmldata = f.read()
| File "/root/.local/l
Max Bucknell wrote:
> Hi,
> I'm currently learning Python, and it's going great. I've dabbled before,
> but really getting into it is good fun.
>
> To test myself, and not detract too much from my actual studies
> (mathematics), I've been writing my own package to do linear algebra, and
> I am un
50 matches
Mail list logo