What was your strategy?
Hello all. Quick question. I know some of you are with Python since started, some other maybe later. I was wondering if you can share what was the strategy you followed to master Python (Yes I know I have to work hard study and practice a lot). I mean did you use special books, special sites, a plan to learn each subject in a special way. I would like to know, if possible, comments specially from some of you who in the past had other languages, frameworks and platforms and left (almost) all of them and stayed with Python. Thanks in advance Jorge Biquez -- http://mail.python.org/mailman/listinfo/python-list
Which non SQL Database ?
Hello all. Newbie question. Sorry. As part of my process to learn python I am working on two personal applications. Both will do it fine with a simple structure of data stored in files. I now there are lot of databases around I can use but I would like to know yoor advice on what other options you would consider for the job (it is training so no pressure on performance). One application will run as a desktop one,under Windows, Linux, Macintosh, being able to update data, not much, not complex, not many records. The second application, running behind web pages, will do the same, I mean, process simple data, updating showing data. not much info, not complex. As an excersice it is more than enough I guess and will let me learn what I need for now. Talking with a friend about what he will do (he use C only) he suggest to take a look on dBase format file since it is a stable format, fast and the index structure will be fine or maybe go with BD (Berkley) database file format (I hope I understood this one correctly) . Plain files it is not an option since I would like to have option to do rapid searches. What would do you suggest to take a look? If possible available under the 3 plattforms. Thanks in advance for your comments. Jorge Biquez -- http://mail.python.org/mailman/listinfo/python-list
Re: Which non SQL Database ?
At 05:02 p.m. 04/12/2010, you wrote: Jorge Biquez writes: > Hello all. > > Newbie question. Sorry. > > As part of my process to learn python I am working on two personal > applications. Both will do it fine with a simple structure of data > stored in files. I now there are lot of databases around I can use but > I would like to know yoor advice on what other options you would > consider for the job (it is training so no pressure on > performance). One application will run as a desktop one,under Windows, > Linux, Macintosh, being able to update data, not much, not complex, > not many records. The second application, running behind web pages, > will do the same, I mean, process simple data, updating showing > data. not much info, not complex. As an excersice it is more than > enough I guess and will let me learn what I need for now. > Talking with a friend about what he will do (he use C only) he suggest > to take a look on dBase format file since it is a stable format, fast > and the index structure will be fine or maybe go with BD (Berkley) > database file format (I hope I understood this one correctly) . Plain > files it is not an option since I would like to have option to do > rapid searches. > > What would do you suggest to take a look? If possible available under > the 3 plattforms. Have you considered sqlite3? It is part of the Python standard library. It'll work under GNU/Linux, Windows and Mac OSX. For more details see: http://docs.python.org/library/sqlite3.html -- Arnaud -- Hello all. Ok. sqlite3 seems like it is the best option since it is part of python already you are right of course. I do not see a good reason for not using Sqlite3 BUT if for some reason would not be an option what plain schema of files would you use? I am sorry to insist. I do not know much about the size tha using Sqlite adds to the application but the idea is that the , application, single user for desktop yes, will be the smallest it can be since the idea is to distribute the executable only. (all this is to have a prototype I have done in other language) For the web part, yes, of course would be multiple users. Thanks to all. Jorge Biquez -- http://mail.python.org/mailman/listinfo/python-list
Re: Which non SQL Database ?
Hello all. Understood perfectly. Will forget other alternatives. Sqlite3 is the best option. Thanks for the explanation and time. Sqlite for single user and Postgresql will be the choice. Thanks all. Take care Jorge Biquez At 06:01 p.m. 04/12/2010, you wrote: Jorge Biquez writes: > I do not see a good reason for not using Sqlite3 BUT if for some > reason would not be an option what plain schema of files would you > use? I am sorry to insist. SQLite stores the entire database in a single file. Does that answer the question? I'm not sure I understand. Preferably, check SQLite's own site http://www.sqlite.org/> for answers, since it seems your concerns are not specific to Python. If you have Python-specific concerns about SQLite you'll need to make them more explicit for us to answer them. > I do not know much about the size tha using Sqlite adds to the > application As you noted, SQLite is already in the Python standard library. > For the web part, yes, of course would be multiple users. Systems like Berkeley DB, SQLite, dBase, et cetera achieve their simplicity at the expense of concurrent access to the database. If you want concurrent access to the database by many connections, that's where you need to look at a more sophisticated solution. For efficient concurrent access, a DBMS such as PostgreSQL is the best choice. -- \ âWhen I was little, my grandfather used to make me stand in a | `\ closet for five minutes without moving. He said it was elevator | _o__)practice.â Steven Wright | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list -- http://mail.python.org/mailman/listinfo/python-list
Re: help!!!
At 06:30 p.m. 11/10/2010, Robert Kern wrote: On 10/11/10 6:17 PM, Steven D'Aprano wrote: On Mon, 11 Oct 2010 10:11:37 -0500, Robert Kern wrote: On 10/11/10 8:44 AM, Jason Swails wrote: On Mon, Oct 11, 2010 at 9:25 AM, Andreas Waldenburger wrote: On Mon, 11 Oct 2010 23:51:46 +1300 Lawrence D'Oliveiro wrote: > In messagemailto:mailman.1417.1286438621.29448.python-l...@python.org>>, > Emile van Sebille wrote: > > > Oh come now -- isn't being lazy a primary programmer's > > attribute? > > I wonder if thatâs why more men are good at it than women... You may want to think about whether this really was your intended meaning. Sure it was -- men are lazy; programmers are primarily lazy; explains why programmers are predominantly men (for the time being, at least). Made perfect sense to me. That's quite a different statement than "men are more good at it than women". But that's not what he said. He said more men are good at programming than women. I suck at reading, apparently. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco -- http://mail.python.org/mailman/listinfo/python-list I was a teacher of Computer Sciences for some years in my case, women were better programming than men. but sure, on the IT industry the percentage of men is a lot more than the one of women. Why? Jorge Biquez -- http://mail.python.org/mailman/listinfo/python-list
Learning with Open Source Applications.
Hello all. I am sorry for the cross posting but I really would like to hear comments from experience people in Python. I am new to Python, not new in programming. I am leaving the PHP path and moving to Python. When I was learning PHP it was very useful to learn to install OpenSource solutions , implemented them and study how they work, learn how to modify them. For example I used e-commerce shopping cart solution and learned a lot. Can you recommend, similar solutions, not only for shopping cart but any other subject is good also so I can follow the same schema of learning ? I mean, solutions you consider are very well written and that are examples of what a good Python applications should be written? I know there are tons of applications but would like to hear advice based on experience if possible. Thanks. Thanks in advance. Jorge Biquez -- http://mail.python.org/mailman/listinfo/python-list
Re: Python 2.7 or 3.1
Hello Christian and all . Thanks for the comments. I am newbie to Python trying to learn all the comments, that , by the way, I am very impressed of the knowledge of the people present in this list. I was wondering if you can comment more about what alternatives to use instead to MySql. My web solutions do not need "all the power" of a true database, I even was wondering if I couldbe able to put simple dBase files (yes, dBase files) with my web solutions. - Any comments you can do on what to use 2.7 or 3.1? ( I guess 2.7 for what I have read) - Maybe should be another subject but... Any comments on using dBase format file with Python? Thanks in advance. Jorge Biquez At 08:50 p.m. 26/10/2010, you wrote: Am 27.10.2010 03:38, schrieb Jorge Biquez: > And what about if I only were to develop for the web? I mean web > applications, Mysql, etc? It would be better to still be in 2.7? Most frameworks and database adapters at least target Python 2.6+ as their main Python version. I guess the majority has no or only experimental support for Python 3.1. The overall situation improves every week. Christian PS: I recommend against MySQL, if you need the full power or a RDBMS. Just try to combine foreign keys with database triggers and you'll see which major features are still broken in MySQL. But that's just my point of view as a power user. -- http://mail.python.org/mailman/listinfo/python-list -- http://mail.python.org/mailman/listinfo/python-list
Re: Python 2.7 or 3.1
Hello all Would you consider a "not so intelligent move" for a newsbie to Python to have maybe version 2.7 and 3.x (if that's possible to be running together on the same machine) to have them run and be learning mainly in 2.7 and see differences in 3.x? In my case I am interested mainly in web applications with a database and if possible being accesing dbase since a projects still runs a big system under dbase format, or definitely stay with 2.7 for a while until most in migrate it t o 3.x? Thanks in advance Jorge Biquez At 05:21 p.m. 29/10/2010, geremy condra wrote: On Wed, Oct 27, 2010 at 7:18 PM, Braden Faulkner wrote: > Would it be safe to say that 2.6 would be even better for beginners than? Let me just come out with a contrary point of view before you go down that path. If you're seriously considering using sqlite, then you may be just as well off using Python3 as 2.7 or 2.6- it's in all of the above, and Python3 is a big cleanup over previous versions of the language. Geremy Condra -- http://mail.python.org/mailman/listinfo/python-list -- http://mail.python.org/mailman/listinfo/python-list
Commercial or Famous Applicattions.?
Hello all. Newbie question. Sorry. Can you mention applications/systems/solutions made with Python that are well known and used by public in general? ANd that maybe we do not know they are done with Python? I had a talk with a friend, "PHP-Only-Fan", and he said (you know the schema of those talks) that "his" language is better and that "just to prove it" there are not too many applications done with Python than the ones done with PHP and that "that of course is for something". That conversation , that by the way I guess is useless at all , makes me thing the idea of ask of applications done with Python. Not for debate the argument of that guy BUT to learn what can be done with Python. In grphical interface, schemas of jobs, etc. I know that there are tons of solutions but would like to hear of possible about the ones you have used most or recommend the most. As an example, I love and have used in the last years MAILMAN, never crashed, always works even on my small and old Intel Pentium III with a 10GB hard disk and 640KB of RAM. Still working and will work for sure (running under FreeBsd by the way). Thanks in advance for your comments. Jorge Biquez -- http://mail.python.org/mailman/listinfo/python-list