Q_Id
int64
337
49.3M
CreationDate
stringlengths
23
23
Users Score
int64
-42
1.15k
Other
int64
0
1
Python Basics and Environment
int64
0
1
System Administration and DevOps
int64
0
1
Tags
stringlengths
6
105
A_Id
int64
518
72.5M
AnswerCount
int64
1
64
is_accepted
bool
2 classes
Web Development
int64
0
1
GUI and Desktop Applications
int64
0
1
Answer
stringlengths
6
11.6k
Available Count
int64
1
31
Q_Score
int64
0
6.79k
Data Science and Machine Learning
int64
0
1
Question
stringlengths
15
29k
Title
stringlengths
11
150
Score
float64
-1
1.2
Database and SQL
int64
0
1
Networking and APIs
int64
0
1
ViewCount
int64
8
6.81M
77,086
2008-09-16T21:05:00.000
1
1
0
0
php,python,performance,pylons
77,166
10
false
0
0
You need to be able to make a business case for switching, not just that "it's faster". If a site built on technology B costs 20% more in developer time for maintenance over a set period (say, 3 years), it would likely be cheaper to add another webserver to the system running technology A to bridge the performance gap...
9
41
0
Which is faster, python webpages or php webpages? Does anyone know how the speed of pylons(or any of the other frameworks) compares to a similar website made with php? I know that serving a python base webpage via cgi is slower than php because of its long start up every time. I enjoy using pylons and I would still ...
Which is faster, python webpages or php webpages?
0.019997
0
0
58,657
77,086
2008-09-16T21:05:00.000
30
1
0
0
php,python,performance,pylons
77,297
10
false
0
0
There's no point in attempting to convince your employer to port from PHP to Python, especially not for an existing system, which is what I think you implied in your question. The reason for this is that you already have a (presumably) working system, with an existing investment of time and effort (and experience). To ...
9
41
0
Which is faster, python webpages or php webpages? Does anyone know how the speed of pylons(or any of the other frameworks) compares to a similar website made with php? I know that serving a python base webpage via cgi is slower than php because of its long start up every time. I enjoy using pylons and I would still ...
Which is faster, python webpages or php webpages?
1
0
0
58,657
77,086
2008-09-16T21:05:00.000
0
1
0
0
php,python,performance,pylons
77,112
10
false
0
0
The only right answer is "It depends". There's a lot of variables that can affect the performance, and you can optimize many things in either situation.
9
41
0
Which is faster, python webpages or php webpages? Does anyone know how the speed of pylons(or any of the other frameworks) compares to a similar website made with php? I know that serving a python base webpage via cgi is slower than php because of its long start up every time. I enjoy using pylons and I would still ...
Which is faster, python webpages or php webpages?
0
0
0
58,657
77,086
2008-09-16T21:05:00.000
2
1
0
0
php,python,performance,pylons
77,220
10
false
0
0
PHP and Python are similiar enough to not warrent any kind of switching. Any performance improvement you might get from switching from one language to another would be vastly outgunned by simply not spending the money on converting the code (you don't code for free right?) and just buy more hardware.
9
41
0
Which is faster, python webpages or php webpages? Does anyone know how the speed of pylons(or any of the other frameworks) compares to a similar website made with php? I know that serving a python base webpage via cgi is slower than php because of its long start up every time. I enjoy using pylons and I would still ...
Which is faster, python webpages or php webpages?
0.039979
0
0
58,657
77,086
2008-09-16T21:05:00.000
1
1
0
0
php,python,performance,pylons
510,276
10
false
0
0
an IS organization would not ponder this unless availability was becoming an issue. if so the case, look into replication, load balancing and lots of ram.
9
41
0
Which is faster, python webpages or php webpages? Does anyone know how the speed of pylons(or any of the other frameworks) compares to a similar website made with php? I know that serving a python base webpage via cgi is slower than php because of its long start up every time. I enjoy using pylons and I would still ...
Which is faster, python webpages or php webpages?
0.019997
0
0
58,657
77,086
2008-09-16T21:05:00.000
-1
1
0
0
php,python,performance,pylons
2,412,215
10
false
0
0
I had to come back to web development at my new job, and, if not Pylons/Python, maybe I would have chosen to live in jungle instead :) In my subjective opinion, PHP is for kindergarten, I did it in my 3rd year of uni and, I believe, many self-respecting (or over-estimating) software engineers will not want to be bother...
9
41
0
Which is faster, python webpages or php webpages? Does anyone know how the speed of pylons(or any of the other frameworks) compares to a similar website made with php? I know that serving a python base webpage via cgi is slower than php because of its long start up every time. I enjoy using pylons and I would still ...
Which is faster, python webpages or php webpages?
-0.019997
0
0
58,657
77,086
2008-09-16T21:05:00.000
2
1
0
0
php,python,performance,pylons
77,174
10
false
0
0
It's about the same. The difference shouldn't be large enough to be the reason to pick one or the other. Don't try to compare them by writing your own tiny benchmarks ("hello world") because you will probably not have results that are representative of a real web site generating a more complex page.
9
41
0
Which is faster, python webpages or php webpages? Does anyone know how the speed of pylons(or any of the other frameworks) compares to a similar website made with php? I know that serving a python base webpage via cgi is slower than php because of its long start up every time. I enjoy using pylons and I would still ...
Which is faster, python webpages or php webpages?
0.039979
0
0
58,657
77,198
2008-09-16T21:15:00.000
3
0
0
0
python,ruby-on-rails,ruby,apache-flex,blazeds
99,603
4
false
1
0
The data management features for LCDS described here are certainly valid, however I believe they do not let you actually develop a solution faster. A developer still has to write ALL the data access code, query execution, extracting data from datareaders into value objects. ALL of this has been solved a dozen of times ...
3
4
0
I'm doing a tech review and looking at AMF integration with various backends (Rails, Python, Grails etc). Lots of options are out there, question is, what do the Adobe products do (BlazeDS etc) that something like RubyAMF / pyAMF don't?
What does BlazeDS Livecycle Data Services do, that something like PyAMF or RubyAMF not do?
0.148885
0
0
2,417
77,198
2008-09-16T21:15:00.000
1
0
0
0
python,ruby-on-rails,ruby,apache-flex,blazeds
77,458
4
false
1
0
Good question. I'm not a ruby guy (i use java with flex), but what I believe differentiates blazeds vs commercial livecycle ds is Streaming protocol support (rtmp) - competition for comet and such, delivering video Some advanced stuff for hibernate detached objects and large resultset caching that I don't fully unders...
3
4
0
I'm doing a tech review and looking at AMF integration with various backends (Rails, Python, Grails etc). Lots of options are out there, question is, what do the Adobe products do (BlazeDS etc) that something like RubyAMF / pyAMF don't?
What does BlazeDS Livecycle Data Services do, that something like PyAMF or RubyAMF not do?
0.049958
0
0
2,417
77,198
2008-09-16T21:15:00.000
3
0
0
0
python,ruby-on-rails,ruby,apache-flex,blazeds
98,180
4
true
1
0
Other than NIO (RTMP) channels, LCDS include also the "data management" features. Using this feature, you basically implement, in an ActionScript class, a CRUD-like interface defined by LCDS, and you get: automatic progressive list loading (large lists/datagrids loads while scrolling) automatic crud management (you g...
3
4
0
I'm doing a tech review and looking at AMF integration with various backends (Rails, Python, Grails etc). Lots of options are out there, question is, what do the Adobe products do (BlazeDS etc) that something like RubyAMF / pyAMF don't?
What does BlazeDS Livecycle Data Services do, that something like PyAMF or RubyAMF not do?
1.2
0
0
2,417
77,552
2008-09-16T21:50:00.000
56
0
1
0
python
77,925
9
false
0
0
I might say something unpopular here: id() is a rather specialized built-in function that is rarely used in business logic. Therefore I don't see a problem in using it as a variable name in a tight and well-written function, where it's clear that id doesn't mean the built-in function.
4
187
0
Why is it bad to name a variable id in Python?
'id' is a bad variable name in Python
1
0
0
62,544
77,552
2008-09-16T21:50:00.000
-6
0
1
0
python
78,433
9
false
0
0
Because python is a dynamic language, it's not usually a good idea to give a variable and a function the same name. id() is a function in python, so it's recommend not to use a variable named id. Bearing that in mind, that applies to all functions that you might use... a variable shouldn't have the same name as a fun...
4
187
0
Why is it bad to name a variable id in Python?
'id' is a bad variable name in Python
-1
0
0
62,544
77,552
2008-09-16T21:50:00.000
-2
0
1
0
python
77,563
9
false
0
0
Because it's the name of a builtin function.
4
187
0
Why is it bad to name a variable id in Python?
'id' is a bad variable name in Python
-0.044415
0
0
62,544
77,552
2008-09-16T21:50:00.000
5
0
1
0
python
77,600
9
false
0
0
It's bad to name any variable after a built in function. One of the reasons is because it can be confusing to a reader that doesn't know the name is overridden.
4
187
0
Why is it bad to name a variable id in Python?
'id' is a bad variable name in Python
0.110656
0
0
62,544
80,215
2008-09-17T05:15:00.000
0
1
0
0
c#,python,btrieve
718,654
3
false
0
0
This depends a lot on the version of Btrieve. I've been working with btrieve for a long time and have found that the best API for the old 6.15 version was in pascal. That having been said there was definately a C api around as well. Pervasive have recently released a 6.15 ultimate patch. Using this and the C api should...
3
1
0
Is there any library available to query Btrieve databases without buying something from Pervasive? I'm looking to code in C# or Python.
Btrieve without Pervasive?
0
0
0
2,923
80,215
2008-09-17T05:15:00.000
2
1
0
0
c#,python,btrieve
275,524
3
false
0
0
If you download one of the trial versions, you can get/install the odbc client and connect that way. In our version of pervasive (older version) on the server where the database is installed, you can also find this client install.
3
1
0
Is there any library available to query Btrieve databases without buying something from Pervasive? I'm looking to code in C# or Python.
Btrieve without Pervasive?
0.132549
0
0
2,923
80,215
2008-09-17T05:15:00.000
1
1
0
0
c#,python,btrieve
80,596
3
true
0
0
As far as I know that is not possible. It is not an open source database, so writing drivers for it is really hard.
3
1
0
Is there any library available to query Btrieve databases without buying something from Pervasive? I'm looking to code in C# or Python.
Btrieve without Pervasive?
1.2
0
0
2,923
82,180
2008-09-17T11:28:00.000
0
0
0
0
python,qt,gtk,pyqt
453,179
2
false
0
1
For plotting with you should also consider matplotlib, which provides a higher level API and integrates well with PyQT.
1
2
0
I know it's possible to place a PyCairo surface inside a Gtk Drawing Area. But I think Qt is a lot better to work with, so I've been wondering if there's anyway to place a PyCairo surface inside some Qt component?
PyQt and PyCairo
0
0
0
2,526
82,653
2008-09-17T12:37:00.000
3
0
0
0
python,django
82,690
7
false
1
0
Byteflow is a blog engine, written on Python, using Django
2
18
0
Is there any list of blog engines, written in Django?
Is there any list of blog engines, written in Django?
0.085505
0
0
4,075
82,653
2008-09-17T12:37:00.000
3
0
0
0
python,django
82,753
7
false
1
0
Django's powerful admin interface and easy ORM makes it a 30 minute job to build a blog that propably fits your needs; Why look for a 3rd party product when you can make it yourself very quickly?
2
18
0
Is there any list of blog engines, written in Django?
Is there any list of blog engines, written in Django?
0.085505
0
0
4,075
84,340
2008-09-17T15:16:00.000
2
1
0
0
c#,java,python,ruby,perl
87,121
35
false
0
1
Towards answering the updated question, its a chicken/egg problem. The best way to justify an expense is to show how it reduces a cost somewhere else, so you may need to spend some extra/personal time to learn something first to build some kind of functional prototype. Show your boss a demo like "hey, i did this thing...
31
66
0
I wonder why would a C++, C#, Java developer want to learn a dynamic language? Assuming the company won't switch its main development language from C++/C#/Java to a dynamic one what use is there for a dynamic language? What helper tasks can be done by the dynamic languages faster or better after only a few days of lear...
Why learn Perl, Python, Ruby if the company is using C++, C# or Java as the application language?
0.011428
0
0
32,287
84,340
2008-09-17T15:16:00.000
1
1
0
0
c#,java,python,ruby,perl
84,456
35
false
0
1
Personally I work on a Java app, but I couldn't get by without perl for some supporting scripts. I've got scripts to quickly flip what db I'm pointing at, scripts to run build scripts, scripts to scrape data & compare stuff. Sure I could do all that with java, or maybe shell scripts (I've got some of those too), but ...
31
66
0
I wonder why would a C++, C#, Java developer want to learn a dynamic language? Assuming the company won't switch its main development language from C++/C#/Java to a dynamic one what use is there for a dynamic language? What helper tasks can be done by the dynamic languages faster or better after only a few days of lear...
Why learn Perl, Python, Ruby if the company is using C++, C# or Java as the application language?
0.005714
0
0
32,287
84,340
2008-09-17T15:16:00.000
1
1
0
0
c#,java,python,ruby,perl
84,443
35
false
0
1
They're useful for the "Quick Hack" that is for plugging a gap in your main language for a quick (and potentially dirty) fix faster than it would take to develop the same in your main language. An example: a simple script in perl to go through a large text file and replace all instances of an email address with another...
31
66
0
I wonder why would a C++, C#, Java developer want to learn a dynamic language? Assuming the company won't switch its main development language from C++/C#/Java to a dynamic one what use is there for a dynamic language? What helper tasks can be done by the dynamic languages faster or better after only a few days of lear...
Why learn Perl, Python, Ruby if the company is using C++, C# or Java as the application language?
0.005714
0
0
32,287
84,340
2008-09-17T15:16:00.000
1
1
0
0
c#,java,python,ruby,perl
84,423
35
false
0
1
Im not sure if this is what you are looking for, but we write our main application with Java at the small company I work for, but have used python to write smaller scripts quickly. Backup software, temporary scripts to manipulate data and push out results. It just seems easier sometimes to sit down with python and wr...
31
66
0
I wonder why would a C++, C#, Java developer want to learn a dynamic language? Assuming the company won't switch its main development language from C++/C#/Java to a dynamic one what use is there for a dynamic language? What helper tasks can be done by the dynamic languages faster or better after only a few days of lear...
Why learn Perl, Python, Ruby if the company is using C++, C# or Java as the application language?
0.005714
0
0
32,287
84,340
2008-09-17T15:16:00.000
0
1
0
0
c#,java,python,ruby,perl
84,584
35
false
0
1
You should also consider learning a functional programming language like Scala. It has many of the advantages of Ruby, including a concise syntax, and powerful features like closures. But it compiles to Java class files and and integrate seamlessly into a Java stack, which may make it much easier for your employer to...
31
66
0
I wonder why would a C++, C#, Java developer want to learn a dynamic language? Assuming the company won't switch its main development language from C++/C#/Java to a dynamic one what use is there for a dynamic language? What helper tasks can be done by the dynamic languages faster or better after only a few days of lear...
Why learn Perl, Python, Ruby if the company is using C++, C# or Java as the application language?
0
0
0
32,287
84,340
2008-09-17T15:16:00.000
1
1
0
0
c#,java,python,ruby,perl
85,167
35
false
0
1
Learning something with a flexible OOP system, like Lisp or Perl (see Moose), will allow you to better expand and understand your thoughts on software engineering. Ideally, every language has some unique facet (whether it be CLOS or some other technique) that enhances, extends and grows your abilities as a programmer.
31
66
0
I wonder why would a C++, C#, Java developer want to learn a dynamic language? Assuming the company won't switch its main development language from C++/C#/Java to a dynamic one what use is there for a dynamic language? What helper tasks can be done by the dynamic languages faster or better after only a few days of lear...
Why learn Perl, Python, Ruby if the company is using C++, C# or Java as the application language?
0.005714
0
0
32,287
84,340
2008-09-17T15:16:00.000
1
1
0
0
c#,java,python,ruby,perl
85,733
35
false
0
1
If all you have is a hammer, every problem begins to look like a nail. There are times when having a screwdriver or pair of pliers makes a complicated problem trivial. Nobody asks contractors, carpenters, etc, "Why learn to use a screwdriver if i already have a hammer?". Really good contractors/carpenters have tons of...
31
66
0
I wonder why would a C++, C#, Java developer want to learn a dynamic language? Assuming the company won't switch its main development language from C++/C#/Java to a dynamic one what use is there for a dynamic language? What helper tasks can be done by the dynamic languages faster or better after only a few days of lear...
Why learn Perl, Python, Ruby if the company is using C++, C# or Java as the application language?
0.005714
0
0
32,287
84,340
2008-09-17T15:16:00.000
0
1
0
0
c#,java,python,ruby,perl
85,789
35
false
0
1
Dynamic languages are fantastic for prototyping ideas. Often for performance reasons they won't work for permanent solutions or products. But, with languages like Python, which allow you to embed standard C/C++/Java inside them or visa versa, you can speed up the really critical bits but leave it glued together with th...
31
66
0
I wonder why would a C++, C#, Java developer want to learn a dynamic language? Assuming the company won't switch its main development language from C++/C#/Java to a dynamic one what use is there for a dynamic language? What helper tasks can be done by the dynamic languages faster or better after only a few days of lear...
Why learn Perl, Python, Ruby if the company is using C++, C# or Java as the application language?
0
0
0
32,287
84,340
2008-09-17T15:16:00.000
0
1
0
0
c#,java,python,ruby,perl
85,891
35
false
0
1
Knowing grep and ruby made it possible to narrow down a problem, and verify the fix for, an issue involving tons of java exceptions on some production servers. Because I threw the solution together in ruby, it was done (designed, implemented, tested, run, bug-fixed, re-run, enhanced, results analyzed) in an afternoon i...
31
66
0
I wonder why would a C++, C#, Java developer want to learn a dynamic language? Assuming the company won't switch its main development language from C++/C#/Java to a dynamic one what use is there for a dynamic language? What helper tasks can be done by the dynamic languages faster or better after only a few days of lear...
Why learn Perl, Python, Ruby if the company is using C++, C# or Java as the application language?
0
0
0
32,287
84,340
2008-09-17T15:16:00.000
2
1
0
0
c#,java,python,ruby,perl
85,898
35
false
0
1
Learning a new language is a long-term process. In a couple of days you'll learn the basics, yes. But! As you probably know, the real practical applicability of any language is tied to the standard library and other available components. Learning how to use the efficiently requires a lot of hands-on experience. Perhap...
31
66
0
I wonder why would a C++, C#, Java developer want to learn a dynamic language? Assuming the company won't switch its main development language from C++/C#/Java to a dynamic one what use is there for a dynamic language? What helper tasks can be done by the dynamic languages faster or better after only a few days of lear...
Why learn Perl, Python, Ruby if the company is using C++, C# or Java as the application language?
0.011428
0
0
32,287
84,340
2008-09-17T15:16:00.000
0
1
0
0
c#,java,python,ruby,perl
85,910
35
false
0
1
The "real benefit" that an employer could see is a better programmer who can implement solutions faster; however, you will not be able to provide any hard numbers to justify the expense and an employer will most likely have you work on what makes money now as opposed to having you work on things that make the future be...
31
66
0
I wonder why would a C++, C#, Java developer want to learn a dynamic language? Assuming the company won't switch its main development language from C++/C#/Java to a dynamic one what use is there for a dynamic language? What helper tasks can be done by the dynamic languages faster or better after only a few days of lear...
Why learn Perl, Python, Ruby if the company is using C++, C# or Java as the application language?
0
0
0
32,287
84,340
2008-09-17T15:16:00.000
0
1
0
0
c#,java,python,ruby,perl
86,366
35
false
0
1
Testing. It's often quicker and easier to test your C#/Java application by using a dynamic language. You can do exploratory testing at the interactive prompt and quickly create automated test scripts.
31
66
0
I wonder why would a C++, C#, Java developer want to learn a dynamic language? Assuming the company won't switch its main development language from C++/C#/Java to a dynamic one what use is there for a dynamic language? What helper tasks can be done by the dynamic languages faster or better after only a few days of lear...
Why learn Perl, Python, Ruby if the company is using C++, C# or Java as the application language?
0
0
0
32,287
84,340
2008-09-17T15:16:00.000
1
1
0
0
c#,java,python,ruby,perl
86,657
35
false
0
1
I think the main benefits of dynamic languages can be boiled down to Rapid development Glue The short design-code-test cycle time makes dynamic languages ideal for prototyping, tools, and quick & dirty one-off scripts. IMHO, the latter two can make a huge impact on a programmer's productivity. It amazes me how many p...
31
66
0
I wonder why would a C++, C#, Java developer want to learn a dynamic language? Assuming the company won't switch its main development language from C++/C#/Java to a dynamic one what use is there for a dynamic language? What helper tasks can be done by the dynamic languages faster or better after only a few days of lear...
Why learn Perl, Python, Ruby if the company is using C++, C# or Java as the application language?
0.005714
0
0
32,287
84,340
2008-09-17T15:16:00.000
0
1
0
0
c#,java,python,ruby,perl
86,738
35
false
0
1
Others have already explained why learning more languages makes you a better programmer. As for convincing your boss it's worth it, this is probably just your company's culture. Some places make career and skill progress a policy (move up or out), some places value it but leave it up to the employee's initiative, and ...
31
66
0
I wonder why would a C++, C#, Java developer want to learn a dynamic language? Assuming the company won't switch its main development language from C++/C#/Java to a dynamic one what use is there for a dynamic language? What helper tasks can be done by the dynamic languages faster or better after only a few days of lear...
Why learn Perl, Python, Ruby if the company is using C++, C# or Java as the application language?
0
0
0
32,287
84,340
2008-09-17T15:16:00.000
0
1
0
0
c#,java,python,ruby,perl
87,164
35
false
0
1
For after work work, for freelance jobs...:) and final to be programming literate as possible as...;)
31
66
0
I wonder why would a C++, C#, Java developer want to learn a dynamic language? Assuming the company won't switch its main development language from C++/C#/Java to a dynamic one what use is there for a dynamic language? What helper tasks can be done by the dynamic languages faster or better after only a few days of lear...
Why learn Perl, Python, Ruby if the company is using C++, C# or Java as the application language?
0
0
0
32,287
84,340
2008-09-17T15:16:00.000
3
1
0
0
c#,java,python,ruby,perl
84,571
35
false
0
1
Edit: I wrote this before reading the update to the original question. See my other answer for a better answer to the updated question. I will leave this as is as a warning against being the fastest gun in the west =) Over a decade ago, when I was learning the ways of the Computer, the Old Wise Men With Beards explaine...
31
66
0
I wonder why would a C++, C#, Java developer want to learn a dynamic language? Assuming the company won't switch its main development language from C++/C#/Java to a dynamic one what use is there for a dynamic language? What helper tasks can be done by the dynamic languages faster or better after only a few days of lear...
Why learn Perl, Python, Ruby if the company is using C++, C# or Java as the application language?
0.017141
0
0
32,287
84,340
2008-09-17T15:16:00.000
80
1
0
0
c#,java,python,ruby,perl
84,943
35
true
0
1
A lot of times some quick task comes up that isn't part of the main software you are developing. Sometimes the task is one off ie compare this file to the database and let me know the differences. It is a lot easier to do text parsing in Perl/Ruby/Python than it is in Java or C# (partially because it is a lot easier ...
31
66
0
I wonder why would a C++, C#, Java developer want to learn a dynamic language? Assuming the company won't switch its main development language from C++/C#/Java to a dynamic one what use is there for a dynamic language? What helper tasks can be done by the dynamic languages faster or better after only a few days of lear...
Why learn Perl, Python, Ruby if the company is using C++, C# or Java as the application language?
1.2
0
0
32,287
84,340
2008-09-17T15:16:00.000
0
1
0
0
c#,java,python,ruby,perl
84,400
35
false
0
1
Often, dynamc languages (especially python and lua) are embedded in programs to add a more plugin-like functionality and because they are high-level languages that make it easy to add certain behavior, where a low/mid-level language is not needed. Lua specificially lacks all the low-level system calls because it was de...
31
66
0
I wonder why would a C++, C#, Java developer want to learn a dynamic language? Assuming the company won't switch its main development language from C++/C#/Java to a dynamic one what use is there for a dynamic language? What helper tasks can be done by the dynamic languages faster or better after only a few days of lear...
Why learn Perl, Python, Ruby if the company is using C++, C# or Java as the application language?
0
0
0
32,287
84,340
2008-09-17T15:16:00.000
1
1
0
0
c#,java,python,ruby,perl
84,441
35
false
0
1
It's all about broadening your horizons as a developer. If you limit yourself to only strong-typed languages, you may not end up the best programmer you could. As for tasks, Python/Lua/Ruby/Perl are great for small simple tasks, like finding some files and renaming them. They also work great when paired with a framewor...
31
66
0
I wonder why would a C++, C#, Java developer want to learn a dynamic language? Assuming the company won't switch its main development language from C++/C#/Java to a dynamic one what use is there for a dynamic language? What helper tasks can be done by the dynamic languages faster or better after only a few days of lear...
Why learn Perl, Python, Ruby if the company is using C++, C# or Java as the application language?
0.005714
0
0
32,287
84,340
2008-09-17T15:16:00.000
0
1
0
0
c#,java,python,ruby,perl
84,383
35
false
0
1
Philosophical issues aside, I know that I have gotten value from writing quick-and-dirty Ruby scripts to solve brute-force problems that Java was just too big for. Last year I had three separate directory structures that were all more-or-less the same, but with lots of differences among the files (the client hadn't he...
31
66
0
I wonder why would a C++, C#, Java developer want to learn a dynamic language? Assuming the company won't switch its main development language from C++/C#/Java to a dynamic one what use is there for a dynamic language? What helper tasks can be done by the dynamic languages faster or better after only a few days of lear...
Why learn Perl, Python, Ruby if the company is using C++, C# or Java as the application language?
0
0
0
32,287
84,340
2008-09-17T15:16:00.000
1
1
0
0
c#,java,python,ruby,perl
90,403
35
false
0
1
Given the increasing focus to running dynamic languages (da-vinci vm etc.) on the JVM and the increasing number of dynamic languages that do run on it (JRuby, Grrovy, Jython) I think the usecases are just increasing. Some of the scenarios I found really benifited are Prototyping- use RoR or Grails to build quick proto...
31
66
0
I wonder why would a C++, C#, Java developer want to learn a dynamic language? Assuming the company won't switch its main development language from C++/C#/Java to a dynamic one what use is there for a dynamic language? What helper tasks can be done by the dynamic languages faster or better after only a few days of lear...
Why learn Perl, Python, Ruby if the company is using C++, C# or Java as the application language?
0.005714
0
0
32,287
84,340
2008-09-17T15:16:00.000
1
1
0
0
c#,java,python,ruby,perl
98,291
35
false
0
1
Don't tell your employer that you want to learn Ruby. Tell him you want to learn about the state-of-the-art in web framework technologies. it just happens that the hottest ones are Django and Ruby on Rails.
31
66
0
I wonder why would a C++, C#, Java developer want to learn a dynamic language? Assuming the company won't switch its main development language from C++/C#/Java to a dynamic one what use is there for a dynamic language? What helper tasks can be done by the dynamic languages faster or better after only a few days of lear...
Why learn Perl, Python, Ruby if the company is using C++, C# or Java as the application language?
0.005714
0
0
32,287
84,340
2008-09-17T15:16:00.000
0
1
0
0
c#,java,python,ruby,perl
114,875
35
false
0
1
Don't bother your employer, spend ~$40 on a book, download some software, and devote some time each day to read/do exercises. In no time you'll be trained :)
31
66
0
I wonder why would a C++, C#, Java developer want to learn a dynamic language? Assuming the company won't switch its main development language from C++/C#/Java to a dynamic one what use is there for a dynamic language? What helper tasks can be done by the dynamic languages faster or better after only a few days of lear...
Why learn Perl, Python, Ruby if the company is using C++, C# or Java as the application language?
0
0
0
32,287
84,340
2008-09-17T15:16:00.000
5
1
0
0
c#,java,python,ruby,perl
92,642
35
false
0
1
A good hockey player plays where the puck is. A great hockey player plays where the puck is going to be. - Wayne Gretzky Our industry is always changing. No language can be mainstream forever. To me Java, C++, .Net is where the puck is right now. And python, ruby, perl is where the puck is going to be. Decide for yours...
31
66
0
I wonder why would a C++, C#, Java developer want to learn a dynamic language? Assuming the company won't switch its main development language from C++/C#/Java to a dynamic one what use is there for a dynamic language? What helper tasks can be done by the dynamic languages faster or better after only a few days of lear...
Why learn Perl, Python, Ruby if the company is using C++, C# or Java as the application language?
0.028564
0
0
32,287
84,340
2008-09-17T15:16:00.000
1
1
0
0
c#,java,python,ruby,perl
84,382
35
false
0
1
I have often found that learning another language, especially a dynamically typed language, can teach you things about other languages and make you an overall better programmer. Learning ruby, for example, will teach you Object Oriented programming in ways Java wont, and vice versa. All in all, I believe that it is b...
31
66
0
I wonder why would a C++, C#, Java developer want to learn a dynamic language? Assuming the company won't switch its main development language from C++/C#/Java to a dynamic one what use is there for a dynamic language? What helper tasks can be done by the dynamic languages faster or better after only a few days of lear...
Why learn Perl, Python, Ruby if the company is using C++, C# or Java as the application language?
0.005714
0
0
32,287
84,340
2008-09-17T15:16:00.000
0
1
0
0
c#,java,python,ruby,perl
90,005
35
false
0
1
Dynamic languages are a different way to think and sometimes the practices you learn from a dynamic or functional language can transfer to the more statically typed languages but if you never take the time to learn different languages, you'll never get the benefit of having a knew way to think when you are coding.
31
66
0
I wonder why would a C++, C#, Java developer want to learn a dynamic language? Assuming the company won't switch its main development language from C++/C#/Java to a dynamic one what use is there for a dynamic language? What helper tasks can be done by the dynamic languages faster or better after only a few days of lear...
Why learn Perl, Python, Ruby if the company is using C++, C# or Java as the application language?
0
0
0
32,287
84,340
2008-09-17T15:16:00.000
21
1
0
0
c#,java,python,ruby,perl
84,362
35
false
0
1
Let me turn your question on its head by asking what use it is to an American English speaker to learn another language? The languages we speak (and those we program in) inform the way we think. This can happen on a fundamental level, such as c++ versus javascript versus lisp, or on an implementation level, in which a ...
31
66
0
I wonder why would a C++, C#, Java developer want to learn a dynamic language? Assuming the company won't switch its main development language from C++/C#/Java to a dynamic one what use is there for a dynamic language? What helper tasks can be done by the dynamic languages faster or better after only a few days of lear...
Why learn Perl, Python, Ruby if the company is using C++, C# or Java as the application language?
1
0
0
32,287
84,340
2008-09-17T15:16:00.000
9
1
0
0
c#,java,python,ruby,perl
84,437
35
false
0
1
I primarily program in Java and C# but use dynamic languages (ruby/perl) to support smoother deployment, kicking off OS tasks, automated reporting, some log parsing, etc. After a short time learning and experimenting with ruby or perl you should be able to write some regex manipulating scripts that can alter data forma...
31
66
0
I wonder why would a C++, C#, Java developer want to learn a dynamic language? Assuming the company won't switch its main development language from C++/C#/Java to a dynamic one what use is there for a dynamic language? What helper tasks can be done by the dynamic languages faster or better after only a few days of lear...
Why learn Perl, Python, Ruby if the company is using C++, C# or Java as the application language?
1
0
0
32,287
84,340
2008-09-17T15:16:00.000
7
1
0
0
c#,java,python,ruby,perl
84,535
35
false
0
1
One big reason to learn Perl or Ruby is to help you automate any complicated tasks that you have to do over and over. Or if you have to analyse contents of log files and you need more mungeing than available using grep, sed, etc. Also using other languages, e.g. Ruby, that don't have much "setup cost" will let you quic...
31
66
0
I wonder why would a C++, C#, Java developer want to learn a dynamic language? Assuming the company won't switch its main development language from C++/C#/Java to a dynamic one what use is there for a dynamic language? What helper tasks can be done by the dynamic languages faster or better after only a few days of lear...
Why learn Perl, Python, Ruby if the company is using C++, C# or Java as the application language?
1
0
0
32,287
84,340
2008-09-17T15:16:00.000
1
1
0
0
c#,java,python,ruby,perl
2,870,953
35
false
0
1
I have found the more that I play with Ruby, the better I understand C#. 1) As you switch between these languages that each of them has their own constructs and philosophies behind the problems that they try to solve. This will help you when finding the right tool for the job or the domain of a problem. 2) The role of...
31
66
0
I wonder why would a C++, C#, Java developer want to learn a dynamic language? Assuming the company won't switch its main development language from C++/C#/Java to a dynamic one what use is there for a dynamic language? What helper tasks can be done by the dynamic languages faster or better after only a few days of lear...
Why learn Perl, Python, Ruby if the company is using C++, C# or Java as the application language?
0.005714
0
0
32,287
84,340
2008-09-17T15:16:00.000
14
1
0
0
c#,java,python,ruby,perl
89,272
35
false
0
1
I don't think anyone has mentioned this yet. Learning a new language can be fun! Surely that's a good enough reason to try something new.
31
66
0
I wonder why would a C++, C#, Java developer want to learn a dynamic language? Assuming the company won't switch its main development language from C++/C#/Java to a dynamic one what use is there for a dynamic language? What helper tasks can be done by the dynamic languages faster or better after only a few days of lear...
Why learn Perl, Python, Ruby if the company is using C++, C# or Java as the application language?
1
0
0
32,287
85,577
2008-09-17T17:23:00.000
1
0
0
1
python,network-programming
85,608
8
false
0
0
I don't think there is a built in way to get it from Python itself. My question is, how are you getting the IP information from your network? To get it from your local machine you could parse ifconfig (unix) or ipconfig (windows) with little difficulty.
4
9
0
I'd like to search for a given MAC address on my network, all from within a Python script. I already have a map of all the active IP addresses in the network but I cannot figure out how to glean the MAC address. Any ideas?
Search for host with MAC-address using Python
0.024995
0
1
16,340
85,577
2008-09-17T17:23:00.000
0
0
0
1
python,network-programming
85,641
8
false
0
0
You would want to parse the output of 'arp', but the kernel ARP cache will only contain those IP address(es) if those hosts have communicated with the host where the Python script is running. ifconfig can be used to display the MAC addresses of local interfaces, but not those on the LAN.
4
9
0
I'd like to search for a given MAC address on my network, all from within a Python script. I already have a map of all the active IP addresses in the network but I cannot figure out how to glean the MAC address. Any ideas?
Search for host with MAC-address using Python
0
0
1
16,340
85,577
2008-09-17T17:23:00.000
1
0
0
1
python,network-programming
85,634
8
false
0
0
It seems that there is not a native way of doing this with Python. Your best bet would be to parse the output of "ipconfig /all" on Windows, or "ifconfig" on Linux. Consider using os.popen() with some regexps.
4
9
0
I'd like to search for a given MAC address on my network, all from within a Python script. I already have a map of all the active IP addresses in the network but I cannot figure out how to glean the MAC address. Any ideas?
Search for host with MAC-address using Python
0.024995
0
1
16,340
85,577
2008-09-17T17:23:00.000
0
0
0
1
python,network-programming
85,620
8
false
0
0
Depends on your platform. If you're using *nix, you can use the 'arp' command to look up the mac address for a given IP (assuming IPv4) address. If that doesn't work, you could ping the address and then look, or if you have access to the raw network (using BPF or some other mechanism), you could send your own ARP packe...
4
9
0
I'd like to search for a given MAC address on my network, all from within a Python script. I already have a map of all the active IP addresses in the network but I cannot figure out how to glean the MAC address. Any ideas?
Search for host with MAC-address using Python
0
0
1
16,340
85,985
2008-09-17T18:09:00.000
0
1
0
0
python,cross-platform,error-reporting
86,022
6
false
0
0
Whether you use SMTP or HTTP to send the data, you need to have a username/password in the application to prevent just anyone from sending random data to you. With that in mind, I suspect it would be easier to use SMTP rather than HTTP to send the data.
4
7
0
What would be the best way to implement a simple crash / error reporting mechanism? Details: my app is cross-platform (mac/windows/linux) and written in Python, so I just need something that will send me a small amount of text, e.g. just a timestamp and a traceback (which I already generate and show in my error dialog...
How to best implement simple crash / error reporting?
0
0
0
1,475
85,985
2008-09-17T18:09:00.000
5
1
0
0
python,cross-platform,error-reporting
86,050
6
true
0
0
The web service is the best way, but there are some caveats: You should always ask the user if it is ok to send error feedback information. You should be prepared to fail gracefully if there are network errors. Don't let a failure to report a crash impede recovery! You should avoid including user identifying or sensit...
4
7
0
What would be the best way to implement a simple crash / error reporting mechanism? Details: my app is cross-platform (mac/windows/linux) and written in Python, so I just need something that will send me a small amount of text, e.g. just a timestamp and a traceback (which I already generate and show in my error dialog...
How to best implement simple crash / error reporting?
1.2
0
0
1,475
85,985
2008-09-17T18:09:00.000
1
1
0
0
python,cross-platform,error-reporting
86,007
6
false
0
0
The web hit is the way to go, but make sure you pick a good URL - your app will be hitting it for years to come.
4
7
0
What would be the best way to implement a simple crash / error reporting mechanism? Details: my app is cross-platform (mac/windows/linux) and written in Python, so I just need something that will send me a small amount of text, e.g. just a timestamp and a traceback (which I already generate and show in my error dialog...
How to best implement simple crash / error reporting?
0.033321
0
0
1,475
85,985
2008-09-17T18:09:00.000
0
1
0
0
python,cross-platform,error-reporting
86,069
6
false
0
0
Some kind of simple web service would suffice. You would have to consider security so not just anyone could make requests to your service.. On a larger scale we considered a JMS messaging system. Put a serialized object of data containing the traceback/error message into a queue and consume it every x minutes generat...
4
7
0
What would be the best way to implement a simple crash / error reporting mechanism? Details: my app is cross-platform (mac/windows/linux) and written in Python, so I just need something that will send me a small amount of text, e.g. just a timestamp and a traceback (which I already generate and show in my error dialog...
How to best implement simple crash / error reporting?
0
0
0
1,475
86,134
2008-09-17T18:25:00.000
15
0
1
0
python
86,173
6
false
0
0
Jython and IronPython are useful if you have an overriding need to interface with existing libraries written in a different platform, like if you have 100,000 lines of Java and you just want to write a 20-line Python script. Not particularly useful for anything else, in my opinion, because they are perpetually a few ve...
3
9
0
I am relatively new to Python, and I have always used the standard cpython (v2.5) implementation. I've been wondering about the other implementations though, particularly Jython and IronPython. What makes them better? What makes them worse? What other implementations are there? I guess what I'm looking for is a su...
What are the pros and cons of the various Python implementations?
1
0
0
1,803
86,134
2008-09-17T18:25:00.000
1
0
1
0
python
86,427
6
false
0
0
IronPython and Jython use the runtime environment for .NET or Java and with that comes Just In Time compilation and a garbage collector different from the original CPython. They might be also faster than CPython thanks to the JIT, but I don't know that for sure. A downside in using Jython or IronPython is that you cann...
3
9
0
I am relatively new to Python, and I have always used the standard cpython (v2.5) implementation. I've been wondering about the other implementations though, particularly Jython and IronPython. What makes them better? What makes them worse? What other implementations are there? I guess what I'm looking for is a su...
What are the pros and cons of the various Python implementations?
0.033321
0
0
1,803
86,134
2008-09-17T18:25:00.000
1
0
1
0
python
86,172
6
false
0
0
Pros: Access to the libraries available for JVM or CLR. Cons: Both naturally lag behind CPython in terms of features.
3
9
0
I am relatively new to Python, and I have always used the standard cpython (v2.5) implementation. I've been wondering about the other implementations though, particularly Jython and IronPython. What makes them better? What makes them worse? What other implementations are there? I guess what I'm looking for is a su...
What are the pros and cons of the various Python implementations?
0.033321
0
0
1,803
87,522
2008-09-17T20:48:00.000
1
0
0
0
python,asp-classic,vbscript
101,074
9
false
1
0
Half a year ago I took over a large web application (fortunately already in Python) which had some major architectural deficiencies (templates and code mixed, code duplication, you name it...). My plan is to eventually have the system respond to WSGI, but I am not there yet. I found the best way to do it, is in small s...
7
3
0
We are mainting a web application that is built on Classic ASP using VBScript as the primary language. We are in agreement that our backend (framework if you will) is out dated and doesn't provide us with the proper tools to move forward in a quick manner. We have pretty much embraced the current webMVC pattern that is...
If it is decided that our system needs an overhaul, what is the best way to go about it?
0.022219
0
0
406
87,522
2008-09-17T20:48:00.000
0
0
0
0
python,asp-classic,vbscript
89,452
9
false
1
0
Don't try and go 2.0 ( more features then currently exists or scheduled) instead build your new platform with the intent of resolving the current issues with the code base (maintainability/speed/wtf) and go from there.
7
3
0
We are mainting a web application that is built on Classic ASP using VBScript as the primary language. We are in agreement that our backend (framework if you will) is out dated and doesn't provide us with the proper tools to move forward in a quick manner. We have pretty much embraced the current webMVC pattern that is...
If it is decided that our system needs an overhaul, what is the best way to go about it?
0
0
0
406
87,522
2008-09-17T20:48:00.000
2
0
0
0
python,asp-classic,vbscript
87,684
9
false
1
0
Whatever you do, see if you can manage to follow a plan where you do not have to port the application all in one big bang. It is tempting to throw it all away and start from scratch, but if you can manage to do it gradually the mistakes you do will not cost so much and cause so much panic.
7
3
0
We are mainting a web application that is built on Classic ASP using VBScript as the primary language. We are in agreement that our backend (framework if you will) is out dated and doesn't provide us with the proper tools to move forward in a quick manner. We have pretty much embraced the current webMVC pattern that is...
If it is decided that our system needs an overhaul, what is the best way to go about it?
0.044415
0
0
406
87,522
2008-09-17T20:48:00.000
0
0
0
0
python,asp-classic,vbscript
994,326
9
false
1
0
I agree with Michael Pryor and Joel that it's almost always a better idea to continue evolving your existing code base rather than re-writing from scratch. There are typically opportunities to just re-write or re-factor certain components for performance or flexibility.
7
3
0
We are mainting a web application that is built on Classic ASP using VBScript as the primary language. We are in agreement that our backend (framework if you will) is out dated and doesn't provide us with the proper tools to move forward in a quick manner. We have pretty much embraced the current webMVC pattern that is...
If it is decided that our system needs an overhaul, what is the best way to go about it?
0
0
0
406
87,522
2008-09-17T20:48:00.000
3
0
0
0
python,asp-classic,vbscript
87,562
9
false
1
0
Use this as an opportunity to remove unused features! Definitely go with the new language. Call it 2.0. It will be a lot less work to rebuild the 80% of it that you really need. Start by wiping your brain clean of the whole application. Sit down with a list of its overall goals, then decide which features are neede...
7
3
0
We are mainting a web application that is built on Classic ASP using VBScript as the primary language. We are in agreement that our backend (framework if you will) is out dated and doesn't provide us with the proper tools to move forward in a quick manner. We have pretty much embraced the current webMVC pattern that is...
If it is decided that our system needs an overhaul, what is the best way to go about it?
0.066568
0
0
406
87,522
2008-09-17T20:48:00.000
3
0
0
0
python,asp-classic,vbscript
87,998
9
false
1
0
It works out better than you'd believe. Recently I did a large reverse-engineering job on a hideous old collection of C code. Function by function I reallocated the features that were still relevant into classes, wrote unit tests for the classes, and built up what looked like a replacement application. It had some o...
7
3
0
We are mainting a web application that is built on Classic ASP using VBScript as the primary language. We are in agreement that our backend (framework if you will) is out dated and doesn't provide us with the proper tools to move forward in a quick manner. We have pretty much embraced the current webMVC pattern that is...
If it is decided that our system needs an overhaul, what is the best way to go about it?
0.066568
0
0
406
87,522
2008-09-17T20:48:00.000
0
0
0
0
python,asp-classic,vbscript
87,573
9
false
1
0
I would not recommend JScript as that is definitely the road less traveled. ASP.NET MVC is rapidly maturing, and I think that you could begin a migration to it, simultaneously ramping up on the ASP.NET MVC framework as its finalization comes through. Another option would be to use something like ASP.NET w/Subsonic or N...
7
3
0
We are mainting a web application that is built on Classic ASP using VBScript as the primary language. We are in agreement that our backend (framework if you will) is out dated and doesn't provide us with the proper tools to move forward in a quick manner. We have pretty much embraced the current webMVC pattern that is...
If it is decided that our system needs an overhaul, what is the best way to go about it?
0
0
0
406
88,613
2008-09-17T23:17:00.000
5
0
1
0
python,string,list,split
88,661
12
false
0
0
s = "2+24*48/32" p = re.compile(r'(\W+)') p.split(s)
2
36
0
If I have this string: 2+24*48/32 what is the most efficient approach for creating this list: ['2', '+', '24', '*', '48', '/', '32']
How do I split a string into a list?
0.083141
0
0
75,677
88,613
2008-09-17T23:17:00.000
0
0
1
0
python,string,list,split
3,517,872
12
false
0
0
This doesn't answer the question exactly, but I believe it solves what you're trying to achieve. I would add it as a comment, but I don't have permission to do so yet. I personally would take advantage of Python's maths functionality directly with exec: expression = "2+24*48/32" exec "result = " + expression print res...
2
36
0
If I have this string: 2+24*48/32 what is the most efficient approach for creating this list: ['2', '+', '24', '*', '48', '/', '32']
How do I split a string into a list?
0
0
0
75,677
89,228
2008-09-18T01:35:00.000
26
0
0
1
python,shell,terminal,subprocess,command
10,988,365
64
false
0
0
os.system does not allow you to store results, so if you want to store results in some list or something, a subprocess.call works.
3
5,689
0
How do I call an external command within Python as if I'd typed it in a shell or command prompt?
How do I execute a program or call a system command?
1
0
0
4,032,334
89,228
2008-09-18T01:35:00.000
25
0
0
1
python,shell,terminal,subprocess,command
4,728,086
64
false
0
0
subprocess.check_call is convenient if you don't want to test return values. It throws an exception on any error.
3
5,689
0
How do I call an external command within Python as if I'd typed it in a shell or command prompt?
How do I execute a program or call a system command?
1
0
0
4,032,334
89,228
2008-09-18T01:35:00.000
26
0
0
1
python,shell,terminal,subprocess,command
2,030,768
64
false
0
0
There is another difference here which is not mentioned previously. subprocess.Popen executes the <command> as a subprocess. In my case, I need to execute file <a> which needs to communicate with another program, <b>. I tried subprocess, and execution was successful. However <b> could not communicate with <a>. Everyth...
3
5,689
0
How do I call an external command within Python as if I'd typed it in a shell or command prompt?
How do I execute a program or call a system command?
1
0
0
4,032,334
89,909
2008-09-18T04:04:00.000
-1
0
1
0
python,regex,string
89,940
11
false
0
0
You could always use a list comprehension and check the results with all, it would be a little less resource intensive than using a regex: all([c in string.letters + string.digits + ["_", "-"] for c in mystring])
1
95
0
I know how to do this if I iterate through all of the characters in the string but I am looking for a more elegant method.
How do I verify that a string only contains letters, numbers, underscores and dashes?
-0.01818
0
0
148,492
91,205
2008-09-18T09:29:00.000
12
1
1
0
python,unicode,string,cgi,python-3.x
91,301
3
true
0
0
Logically a lot of things like MIME-encoded mail messages, URLs, XML documents, and so on should be returned as bytes not strings. This could cause some consternation as the libraries start to be nailed down for Python 3 and people discover that they have to be more aware of the bytes/string conversions than they were ...
1
12
0
I'm a little confused about how the standard library will behave now that Python (from 3.0) is unicode-based. Will modules such as CGI and urllib use unicode strings or will they use the new 'bytes' type and just provide encoded data?
Will everything in the standard library treat strings as unicode in Python 3.0?
1.2
0
0
464
91,890
2008-09-18T12:02:00.000
5
0
0
0
c#,java,python,file-format,quicken
2,278,316
3
true
0
1
QDF is proprietary and not really meant for reading other than my Quicken, probably for a reason as it is messy. I would recommend finding a way to export the qdf into an OFX (Open Financial Exchange) or qif file. I have done some financial and quickbooks automation and I did something similar. The problem is if yo...
1
12
0
Looking for an open source library, for C++, Java, C# or Python, for reading the data from Quicken .qdf files. @Swati: Quicken .qif format is for transfer only and is not kept up to date by the application like the .qdf file is.
Reading quicken data files
1.2
0
0
11,880
92,230
2008-09-18T12:51:00.000
2
0
1
0
python
92,691
10
false
0
0
The Python Cookbook is absolutely essential if you want to master idiomatic Python. Besides, that's the book that made me fall in love with the language.
3
14
0
I've gotten to grips with the basics of Python and I've got a small holiday which I want to use some of to learn a little more Python. The problem is that I have no idea what to learn or where to start. I'm primarily web development but in this case I don't know how much difference it will make.
Python, beyond the basics
0.039979
0
0
4,581
92,230
2008-09-18T12:51:00.000
1
0
1
0
python
181,078
10
false
0
0
Search "Alex Martelli", "Alex Martelli patterns" and "Thomas Wouters" on Google video. There's plenty of interesting talks on advanced Python, design patterns in Python, and so on.
3
14
0
I've gotten to grips with the basics of Python and I've got a small holiday which I want to use some of to learn a little more Python. The problem is that I have no idea what to learn or where to start. I'm primarily web development but in this case I don't know how much difference it will make.
Python, beyond the basics
0.019997
0
0
4,581
92,230
2008-09-18T12:51:00.000
1
0
1
0
python
92,254
10
false
0
0
I'd suggest writing a non-trivial webapp using either Django or Pylons, something that does some number crunching. No better way to learn a new language than commiting yourself to a problem and learning as you go!
3
14
0
I've gotten to grips with the basics of Python and I've got a small holiday which I want to use some of to learn a little more Python. The problem is that I have no idea what to learn or where to start. I'm primarily web development but in this case I don't know how much difference it will make.
Python, beyond the basics
0.019997
0
0
4,581
92,928
2008-09-18T14:16:00.000
38
0
1
0
python,multithreading,time,sleep,python-internals
92,953
7
false
0
0
Just the thread.
5
402
0
In Python for *nix, does time.sleep() block the thread or the process?
time.sleep -- sleeps thread or process?
1
0
0
295,850
92,928
2008-09-18T14:16:00.000
4
0
1
0
python,multithreading,time,sleep,python-internals
32,216,136
7
false
0
0
Only the thread unless your process has a single thread.
5
402
0
In Python for *nix, does time.sleep() block the thread or the process?
time.sleep -- sleeps thread or process?
0.113791
0
0
295,850
92,928
2008-09-18T14:16:00.000
18
0
1
0
python,multithreading,time,sleep,python-internals
93,069
7
false
0
0
The thread will block, but the process is still alive. In a single threaded application, this means everything is blocked while you sleep. In a multithreaded application, only the thread you explicitly 'sleep' will block and the other threads still run within the process.
5
402
0
In Python for *nix, does time.sleep() block the thread or the process?
time.sleep -- sleeps thread or process?
1
0
0
295,850
92,928
2008-09-18T14:16:00.000
1
0
1
0
python,multithreading,time,sleep,python-internals
59,821,834
7
false
0
0
it blocks a thread if it is executed in the same thread not if it is executed from the main code
5
402
0
In Python for *nix, does time.sleep() block the thread or the process?
time.sleep -- sleeps thread or process?
0.028564
0
0
295,850
92,928
2008-09-18T14:16:00.000
3
0
1
0
python,multithreading,time,sleep,python-internals
40,313,394
7
false
0
0
Process is not runnable by itself. In regard to execution, process is just a container for threads. Meaning you can't pause the process at all. It is simply not applicable to process.
5
402
0
In Python for *nix, does time.sleep() block the thread or the process?
time.sleep -- sleeps thread or process?
0.085505
0
0
295,850
93,710
2008-09-18T15:42:00.000
-4
0
0
0
python,xml,streaming
93,850
6
true
0
0
xml.etree.cElementTree, included in the default distribution of CPython since 2.5. Lightning fast for both reading and writing XML.
1
16
0
Basically, something similar to System.Xml.XmlWriter - A streaming XML Writer that doesn't incur much of a memory overhead. So that rules out xml.dom and xml.dom.minidom. Suggestions?
What's the easiest non-memory intensive way to output XML from Python?
1.2
0
1
2,617
93,930
2008-09-18T16:03:00.000
2
0
0
0
python,user-interface,api
12,101,720
15
false
0
0
WX has issues on the Mac. I had a look here, as I want to get an event driven GUI API to do some stuff in Python. I have wx installed on my mac as part of MatPlotLib, but it does not work properly. It wont take in put from the keyboard. I have installed this three times on three different Mac operating systems, and t...
8
12
0
Simple question: What Python GUI API's are out there and what are the advantages of any given API? I'm not looking for a religious war here, I'm just wanting to get a good handle on all that is out there in terms of Python GUI APIs.
What Python GUI APIs Are Out There?
0.02666
0
0
10,565
93,930
2008-09-18T16:03:00.000
3
0
0
0
python,user-interface,api
94,025
15
false
0
0
Most python GUI APIs will be wrappers around the most common c/c++ GUI APIs. You've got a python wrapper for gtk, a python wrapper for qt, a python wrapper for .NET, etc etc. So really it depends on what your needs are. If you are looking for the easiest way to draw native-looking widgets on Linux, Mac, and Windows, t...
8
12
0
Simple question: What Python GUI API's are out there and what are the advantages of any given API? I'm not looking for a religious war here, I'm just wanting to get a good handle on all that is out there in terms of Python GUI APIs.
What Python GUI APIs Are Out There?
0.039979
0
0
10,565
93,930
2008-09-18T16:03:00.000
1
0
0
0
python,user-interface,api
94,050
15
false
0
0
I like wxPython or Tk. Tk comes with the standard Python distribution so you don't need install anything else. wxPython (wxWigets) seems much more powerful and looks a lot nicer. It also works well cross-platform (though not perfectly because it uses different underlying graphic API's on diff system types)
8
12
0
Simple question: What Python GUI API's are out there and what are the advantages of any given API? I'm not looking for a religious war here, I'm just wanting to get a good handle on all that is out there in terms of Python GUI APIs.
What Python GUI APIs Are Out There?
0.013333
0
0
10,565
93,930
2008-09-18T16:03:00.000
3
0
0
0
python,user-interface,api
94,140
15
false
0
0
Instead of posting a list of your options I will give my humble opinion: I am in love with wxPython. I have used Qt in C++ and Tk way back in the Tcl days but what really makes me like wxPython is the demo that you get with it. In the demo you can browse through all the different widgets frames etc that are part of the...
8
12
0
Simple question: What Python GUI API's are out there and what are the advantages of any given API? I'm not looking for a religious war here, I'm just wanting to get a good handle on all that is out there in terms of Python GUI APIs.
What Python GUI APIs Are Out There?
0.039979
0
0
10,565
93,930
2008-09-18T16:03:00.000
1
0
0
0
python,user-interface,api
102,276
15
false
0
0
I prefer PyGTK, because I am a GNOME guy. Using PyGTK feels very pythonic to me. The code organization feels consistent, the documentation is clean and thorough, and it's a very easy toolkit to get used to (except for maybe Treeviews).
8
12
0
Simple question: What Python GUI API's are out there and what are the advantages of any given API? I'm not looking for a religious war here, I'm just wanting to get a good handle on all that is out there in terms of Python GUI APIs.
What Python GUI APIs Are Out There?
0.013333
0
0
10,565
93,930
2008-09-18T16:03:00.000
0
0
0
0
python,user-interface,api
113,801
15
false
0
0
wxPython, and I'm assuming PyGTK also, can use wxGlade to help you design most UIs you will create. That is a big plus. You don't have to learn how to hand-code the GUI until you're ready. I made several GUI programs straight from wxGlade before I was comfortable enough in how wxPython worked to take a shot at hand-cod...
8
12
0
Simple question: What Python GUI API's are out there and what are the advantages of any given API? I'm not looking for a religious war here, I'm just wanting to get a good handle on all that is out there in terms of Python GUI APIs.
What Python GUI APIs Are Out There?
0
0
0
10,565
93,930
2008-09-18T16:03:00.000
0
0
0
0
python,user-interface,api
12,551,600
15
false
0
0
There are python-specific gui-api such as kivy (successor or pymt), pygui (based on pyrex), pyui and nufox, which do not compare with the more robust toolkits like wxpython, pyqt, pygtk and tkinter. They are just extra optional tools. The only thing unique about them is these are python-specific api, just like there ar...
8
12
0
Simple question: What Python GUI API's are out there and what are the advantages of any given API? I'm not looking for a religious war here, I'm just wanting to get a good handle on all that is out there in terms of Python GUI APIs.
What Python GUI APIs Are Out There?
0
0
0
10,565
93,930
2008-09-18T16:03:00.000
1
0
0
0
python,user-interface,api
4,148,559
15
false
0
0
An easy to use GUI creator for Python doesn't exist. That's amazing really considering small scripting languages like AutoIt and AutoHotkey have great and very simple to use GUI makers. Come on, Python followers, can't you do better?
8
12
0
Simple question: What Python GUI API's are out there and what are the advantages of any given API? I'm not looking for a religious war here, I'm just wanting to get a good handle on all that is out there in terms of Python GUI APIs.
What Python GUI APIs Are Out There?
0.013333
0
0
10,565
97,513
2008-09-18T22:09:00.000
5
0
1
0
python,shell,interpreter,komodo
97,635
1
true
0
0
I use Komodo Edit, which might be a little less sophisticated than full Komodo. I create a "New Command" with %(python) -i %f as the text of the command. I have this run in a "New Console". I usually have the starting directory as %p, the top of the project directory. The -i option runs the file and drops into intera...
1
2
0
When using PyWin I can easily load a python file into a fresh interactive shell and I find this quite handy for prototyping and other exploratory tasks. I would like to use Komodo as my python editor, but I haven't found a replacement for PyWin's ability to restart the shell and reload the current module. How can I d...
How to load a python module into a fresh interactive shell in Komodo?
1.2
0
0
2,131
100,003
2008-09-19T06:10:00.000
9
1
1
0
python,oop,metaclass,python-class,python-datamodel
67,201,732
24
false
0
0
In Python, a metaclass is a subclass of a subclass that determines how a subclass behaves. A class is an instance of another metaclass. In Python, a class specifies how the class's instance will behave. Since metaclasses are in charge of class generation, you can write your own custom metaclasses to change how classes ...
4
6,790
0
What are metaclasses? What are they used for?
What are metaclasses in Python?
1
0
0
1,011,070
100,003
2008-09-19T06:10:00.000
9
1
1
0
python,oop,metaclass,python-class,python-datamodel
68,354,618
24
false
0
0
I saw an interesting use case for metaclasses in a package called classutilities. It checks if all class variables are in upper case format (it is convenient to have unified logic for configuration classes), and checks if there are no instance level methods in class. Another interesting example for metaclases was deact...
4
6,790
0
What are metaclasses? What are they used for?
What are metaclasses in Python?
1
0
0
1,011,070
100,003
2008-09-19T06:10:00.000
16
1
1
0
python,oop,metaclass,python-class,python-datamodel
56,945,952
24
false
0
0
In object-oriented programming, a metaclass is a class whose instances are classes. Just as an ordinary class defines the behavior of certain objects, a metaclass defines the behavior of certain class and their instances The term metaclass simply means something used to create classes. In other words, it is the class o...
4
6,790
0
What are metaclasses? What are they used for?
What are metaclasses in Python?
1
0
0
1,011,070
100,003
2008-09-19T06:10:00.000
14
1
1
0
python,oop,metaclass,python-class,python-datamodel
59,818,321
24
false
0
0
A class, in Python, is an object, and just like any other object, it is an instance of "something". This "something" is what is termed as a Metaclass. This metaclass is a special type of class that creates other class's objects. Hence, metaclass is responsible for making new classes. This allows the programmer to custo...
4
6,790
0
What are metaclasses? What are they used for?
What are metaclasses in Python?
1
0
0
1,011,070
101,569
2008-09-19T12:47:00.000
0
0
1
0
python,algorithm,diff
108,649
10
false
0
0
I think Jeremy has hit the nail on the head - if you just want to detect if files are different, a hash algorithm like MD5 or SHA1 is a good way to go. Linus Torvalds' Git source control software uses SHA1 hashing in just this way - to check when files have been modified.
2
10
0
I need to write a module to detect similar documents. I have read many papers of fingerprints of documents techniques and others, but I do not know how to write code or implement such a solution. The algorithm should work for Chinese, Japanese, English and German language or be language independent. How can I accomplis...
Algorithm to detect similar documents in python script
0
0
0
13,411