Answer stringlengths 19 4.91k | A_Id int64 5.3k 72.3M | CreationDate stringlengths 23 23 | Question stringlengths 35 6.31k | Q_Id int64 5.14k 40.5M | GUI and Desktop Applications int64 1 1 | Q_Score int64 0 346 | Available Count int64 1 31 | Users Score int64 -6 163 | Title stringlengths 12 138 | Tags stringlengths 6 68 | Python Basics and Environment int64 0 1 | AnswerCount int64 1 35 | Networking and APIs int64 0 1 | Score float64 -1 1.2 | Other int64 0 1 | is_accepted bool 2
classes | Database and SQL int64 0 1 | Data Science and Machine Learning int64 0 1 | Web Development int64 0 1 | ViewCount int64 12 475k | System Administration and DevOps int64 0 1 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
One thing to remember is that the Matlab compiler does not actually compile the Matlab code into native machine instructions. It simply wraps it into a standalone executable or a library with its own runtime engine that runs it. You would be able to run your code without Matlab installed, and you would be able to int... | 1,659,332 | 2008-08-07T18:47:00.000 | A researcher has created a small simulation in MATLAB and we want to make it accessible to others. My plan is to take the simulation, clean up a few things and turn it into a set of functions. Then I plan to compile it into a C library and use SWIG to create a Python wrapper. At that point, I should be able to call the... | 5,136 | 1 | 14 | 3 | 5 | Does anyone have experience creating a shared library in MATLAB? | python,c,matlab | 0 | 4 | 0 | 0.244919 | 0 | false | 0 | 1 | 0 | 2,313 | 0 |
I'd also try ctypes first.
Use the Matlab compiler to compile the code into C.
Compile the C code into a DLL.
Use ctypes to load and call code from this DLL
The hardest step is probably 1, but if you already know Matlab and have used the Matlab compiler, you should not have serious problems with it. | 138,534 | 2008-08-07T18:47:00.000 | A researcher has created a small simulation in MATLAB and we want to make it accessible to others. My plan is to take the simulation, clean up a few things and turn it into a set of functions. Then I plan to compile it into a C library and use SWIG to create a Python wrapper. At that point, I should be able to call the... | 5,136 | 1 | 14 | 3 | 2 | Does anyone have experience creating a shared library in MATLAB? | python,c,matlab | 0 | 4 | 0 | 0.099668 | 0 | false | 0 | 1 | 0 | 2,313 | 0 |
I won't help much but I remember that I was able to wrap a MATLAB simulation into DLL and then call it from a Delphi app. It worked really well. | 5,302 | 2008-08-07T18:47:00.000 | A researcher has created a small simulation in MATLAB and we want to make it accessible to others. My plan is to take the simulation, clean up a few things and turn it into a set of functions. Then I plan to compile it into a C library and use SWIG to create a Python wrapper. At that point, I should be able to call the... | 5,136 | 1 | 14 | 3 | 3 | Does anyone have experience creating a shared library in MATLAB? | python,c,matlab | 0 | 4 | 0 | 1.2 | 0 | true | 0 | 1 | 0 | 2,313 | 0 |
My recommendation would be to figure out a set of known input-output results, such as some simpler cases that you already have in place, and unit test the code that is produced. It's entirely possible that as you change the generator that the exact string that is produced may be slightly different... but what you reall... | 3,331,503 | 2008-08-14T13:59:00.000 | This is a difficult and open-ended question I know, but I thought I'd throw it to the floor and see if anyone had any interesting suggestions.
I have developed a code-generator that takes our python interface to our C++ code (generated via SWIG) and generates code needed to expose this as WebServices. When I developed... | 11,060 | 1 | 29 | 5 | 0 | How should I unit test a code-generator? | c++,python,unit-testing,code-generation,swig | 0 | 8 | 0 | 0 | 1 | false | 0 | 0 | 0 | 7,527 | 0 |
Recall that "unit testing" is only one kind of testing. You should be able to unit test the internal pieces of your code generator. What you're really looking at here is system level testing (a.k.a. regression testing). It's not just semantics... there are different mindsets, approaches, expectations, etc. It's cer... | 11,443 | 2008-08-14T13:59:00.000 | This is a difficult and open-ended question I know, but I thought I'd throw it to the floor and see if anyone had any interesting suggestions.
I have developed a code-generator that takes our python interface to our C++ code (generated via SWIG) and generates code needed to expose this as WebServices. When I developed... | 11,060 | 1 | 29 | 5 | 5 | How should I unit test a code-generator? | c++,python,unit-testing,code-generation,swig | 0 | 8 | 0 | 0.124353 | 1 | false | 0 | 0 | 0 | 7,527 | 0 |
Yes, results are the ONLY thing that matters. The real chore is writing a framework that allows your generated code to run independently... spend your time there. | 11,128 | 2008-08-14T13:59:00.000 | This is a difficult and open-ended question I know, but I thought I'd throw it to the floor and see if anyone had any interesting suggestions.
I have developed a code-generator that takes our python interface to our C++ code (generated via SWIG) and generates code needed to expose this as WebServices. When I developed... | 11,060 | 1 | 29 | 5 | 0 | How should I unit test a code-generator? | c++,python,unit-testing,code-generation,swig | 0 | 8 | 0 | 0 | 1 | false | 0 | 0 | 0 | 7,527 | 0 |
I started writing up a summary of my experience with my own code generator, then went back and re-read your question and found you had already touched upon the same issues yourself, focus on the execution results instead of the code layout/look.
Problem is, this is hard to test, the generated code might not be suited t... | 11,074 | 2008-08-14T13:59:00.000 | This is a difficult and open-ended question I know, but I thought I'd throw it to the floor and see if anyone had any interesting suggestions.
I have developed a code-generator that takes our python interface to our C++ code (generated via SWIG) and generates code needed to expose this as WebServices. When I developed... | 11,060 | 1 | 29 | 5 | 14 | How should I unit test a code-generator? | c++,python,unit-testing,code-generation,swig | 0 | 8 | 0 | 1.2 | 1 | true | 0 | 0 | 0 | 7,527 | 0 |
If you are running on *nux you might consider dumping the unittest framework in favor of a bash script or makefile. on windows you might consider building a shell app/function that runs the generator and then uses the code (as another process) and unittest that.
A third option would be to generate the code and then bui... | 11,235 | 2008-08-14T13:59:00.000 | This is a difficult and open-ended question I know, but I thought I'd throw it to the floor and see if anyone had any interesting suggestions.
I have developed a code-generator that takes our python interface to our C++ code (generated via SWIG) and generates code needed to expose this as WebServices. When I developed... | 11,060 | 1 | 29 | 5 | 0 | How should I unit test a code-generator? | c++,python,unit-testing,code-generation,swig | 0 | 8 | 0 | 0 | 1 | false | 0 | 0 | 0 | 7,527 | 0 |
I tried doing this myself a while ago, and I never got it to work perfectly. Actually I never got it to work at all under Windows, as it kept crashing the entire OS and I ran out of patience. I continued to use it though as it was only important it ran on Linux, and was only a small project. I'd strongly recommend you ... | 88,457 | 2008-08-25T04:36:00.000 | What is the best way to use PyGame (SDL) within a PyGTK application?
I'm searching for a method that allows me to have a drawing area in the GTK window and at the same time being able to manage both GTK and SDL events. | 25,661 | 1 | 9 | 2 | 0 | pyGame within a pyGTK application | python,gtk,pygtk,sdl,pygame | 0 | 7 | 0 | 0 | 0 | false | 0 | 0 | 0 | 4,838 | 0 |
There's a simple solution that might work for you.
Write the PyGTK stuff and PyGame stuff as separate applications. Then from the PyGTK application call the PyGame application, using os.system to call the PyGame application. If you need to share data between the two then either use a database, pipes or IPC. | 199,288 | 2008-08-25T04:36:00.000 | What is the best way to use PyGame (SDL) within a PyGTK application?
I'm searching for a method that allows me to have a drawing area in the GTK window and at the same time being able to manage both GTK and SDL events. | 25,661 | 1 | 9 | 2 | 0 | pyGame within a pyGTK application | python,gtk,pygtk,sdl,pygame | 0 | 7 | 0 | 0 | 0 | false | 0 | 0 | 0 | 4,838 | 0 |
There is no way to see dragged data in OnEnter and OnDragOver methods.
The only solution I found is to store the dragged item in some instance variable that is then readable inside these methods. | 139,047 | 2008-08-25T19:43:00.000 | I'm a bit perplexed by drag and drop in wxPython (but perhaps this questions pertains to drag and drop in other GUI frameworks as well). The frameworks provides a couple of callbacks (OnEnter and OnDragOver) that purportedly allow me to inform the system whether the current mouse position is a valid place to drop whate... | 26,706 | 1 | 6 | 2 | 1 | wxpython: How do I examine dragged data in OnDragOver? | python,user-interface,drag-and-drop,wxpython,wxwidgets | 0 | 2 | 0 | 0.099668 | 0 | false | 0 | 0 | 0 | 584 | 0 |
One solution, which is a hack of limited usefulness, is when a drag is initiated, store the dragged data in a global or static reference somewhere. This way, in the OnEnter and OnDragOver handlers, it is possible to get a reference to the data being dragged. This is of course only useful for drags within the same appli... | 26,707 | 2008-08-25T19:43:00.000 | I'm a bit perplexed by drag and drop in wxPython (but perhaps this questions pertains to drag and drop in other GUI frameworks as well). The frameworks provides a couple of callbacks (OnEnter and OnDragOver) that purportedly allow me to inform the system whether the current mouse position is a valid place to drop whate... | 26,706 | 1 | 6 | 2 | 1 | wxpython: How do I examine dragged data in OnDragOver? | python,user-interface,drag-and-drop,wxpython,wxwidgets | 0 | 2 | 0 | 1.2 | 0 | true | 0 | 0 | 0 | 584 | 0 |
I use pyGtk. I think wxPython is nice but it's too limited, and PyQt is, well, Qt. =) | 36,761 | 2008-08-30T12:19:00.000 | I've played around with GTK, TK, wxPython, Cocoa, curses and others. They are are fairly horrible to use.. GTK/TK/wx/curses all seem to basically be direct-ports of the appropriate C libraries, and Cocoa basically mandates using both PyObjC and Interface Builder, both of which I dislike..
The Shoes GUI library for Ruby... | 35,922 | 1 | 19 | 1 | 1 | Are there any "nice to program" GUI toolkits for Python? | python,user-interface | 0 | 5 | 0 | 0.039979 | 0 | false | 0 | 0 | 0 | 10,824 | 0 |
Personally I would recommend coding it out instead of using Glade. I'm still learning python and pyGtk but I will say that writing out the UI by hand gave me a lot of insight on how things work under the hood.
Once you have it learned I'd say to give glade, or other UI designers a try but definitely learn how to do it... | 751,707 | 2008-09-07T04:00:00.000 | I've been learning python for a while now with some success. I even managed to create one or two (simple) programs using PyGtk + Glade.
The thing is: I am not sure if the best way to use GTK with python is by building the interfaces using Glade.
I was wondering if the more experienced ones among us (remember, I'm just ... | 48,123 | 1 | 32 | 8 | 1 | Glade or no glade: What is the best way to use PyGtk? | python,gtk,pygtk,glade,gtk2 | 1 | 11 | 0 | 0.01818 | 0 | false | 0 | 0 | 0 | 8,539 | 0 |
For quick and simple screens I use Glade. But for anything that needs finer levels of control, I create a custom classes for what I actually need (this is important, because it's too easy to get carried away with generalisations).
With a skinny applications specific classes, I can rapidly change the look and feel appl... | 199,167 | 2008-09-07T04:00:00.000 | I've been learning python for a while now with some success. I even managed to create one or two (simple) programs using PyGtk + Glade.
The thing is: I am not sure if the best way to use GTK with python is by building the interfaces using Glade.
I was wondering if the more experienced ones among us (remember, I'm just ... | 48,123 | 1 | 32 | 8 | 1 | Glade or no glade: What is the best way to use PyGtk? | python,gtk,pygtk,glade,gtk2 | 1 | 11 | 0 | 0.01818 | 0 | false | 0 | 0 | 0 | 8,539 | 0 |
I started out using glade, but soon moved to just doing everything in code. Glade is nice for simple things, and it's good when you're learning how GTK organizes the widgets (how things are packed, etc). Constructing everything in code, however, you have much more flexibility. Plus, you don't have the glade dependency. | 106,889 | 2008-09-07T04:00:00.000 | I've been learning python for a while now with some success. I even managed to create one or two (simple) programs using PyGtk + Glade.
The thing is: I am not sure if the best way to use GTK with python is by building the interfaces using Glade.
I was wondering if the more experienced ones among us (remember, I'm just ... | 48,123 | 1 | 32 | 8 | 5 | Glade or no glade: What is the best way to use PyGtk? | python,gtk,pygtk,glade,gtk2 | 1 | 11 | 0 | 0.090659 | 0 | false | 0 | 0 | 0 | 8,539 | 0 |
I recommend using Glade for rapid development, but not for learning. Why? because some times you will need to tune up some widgets in order to work as you want they to work, and if you don't really know/understand the properties attributes of every widget then you will be in troubles. | 305,667 | 2008-09-07T04:00:00.000 | I've been learning python for a while now with some success. I even managed to create one or two (simple) programs using PyGtk + Glade.
The thing is: I am not sure if the best way to use GTK with python is by building the interfaces using Glade.
I was wondering if the more experienced ones among us (remember, I'm just ... | 48,123 | 1 | 32 | 8 | 2 | Glade or no glade: What is the best way to use PyGtk? | python,gtk,pygtk,glade,gtk2 | 1 | 11 | 0 | 0.036348 | 0 | false | 0 | 0 | 0 | 8,539 | 0 |
I usually start with Glade until I come to a point where it doesn't have the features I need, e.g. creating a wizard. As long as I'm using the standard widgets that Glade provides, there's really no reason to hand-code the GUI.
The more comfortable I become with how Glade formats the code, the better my hand-coding bec... | 107,959 | 2008-09-07T04:00:00.000 | I've been learning python for a while now with some success. I even managed to create one or two (simple) programs using PyGtk + Glade.
The thing is: I am not sure if the best way to use GTK with python is by building the interfaces using Glade.
I was wondering if the more experienced ones among us (remember, I'm just ... | 48,123 | 1 | 32 | 8 | 4 | Glade or no glade: What is the best way to use PyGtk? | python,gtk,pygtk,glade,gtk2 | 1 | 11 | 0 | 0.072599 | 0 | false | 0 | 0 | 0 | 8,539 | 0 |
First, start to put this in perspective.
You will be using GTK. This is a huge C library built in 1993 using the best traditions of 1970s coding style. It was built to help implement the GIMP, a Photoshop competitor wanna-be with user interface blunders of legend. A typical gui field might have forty or more paramet... | 2,149,087 | 2008-09-07T04:00:00.000 | I've been learning python for a while now with some success. I even managed to create one or two (simple) programs using PyGtk + Glade.
The thing is: I am not sure if the best way to use GTK with python is by building the interfaces using Glade.
I was wondering if the more experienced ones among us (remember, I'm just ... | 48,123 | 1 | 32 | 8 | 2 | Glade or no glade: What is the best way to use PyGtk? | python,gtk,pygtk,glade,gtk2 | 1 | 11 | 0 | 0.036348 | 0 | false | 0 | 0 | 0 | 8,539 | 0 |
Glade is very useful for creating interfaces, it means you can easily change the GUI without doing much coding. You'll find that if you want to do anything useful (e.g. build a treeview) you will have to get familiar with various parts of the GTK documentation - in practice finding a good tutorial/examples. | 54,313 | 2008-09-07T04:00:00.000 | I've been learning python for a while now with some success. I even managed to create one or two (simple) programs using PyGtk + Glade.
The thing is: I am not sure if the best way to use GTK with python is by building the interfaces using Glade.
I was wondering if the more experienced ones among us (remember, I'm just ... | 48,123 | 1 | 32 | 8 | 5 | Glade or no glade: What is the best way to use PyGtk? | python,gtk,pygtk,glade,gtk2 | 1 | 11 | 0 | 0.090659 | 0 | false | 0 | 0 | 0 | 8,539 | 0 |
Use GtkBuilder instead of Glade, it's integrated into Gtk itself instead of a separate library.
The main benefit of Glade is that it's much, much easier to create the interface. It's a bit more work to connect signal handlers, but I've never felt that matters much. | 48,136 | 2008-09-07T04:00:00.000 | I've been learning python for a while now with some success. I even managed to create one or two (simple) programs using PyGtk + Glade.
The thing is: I am not sure if the best way to use GTK with python is by building the interfaces using Glade.
I was wondering if the more experienced ones among us (remember, I'm just ... | 48,123 | 1 | 32 | 8 | 12 | Glade or no glade: What is the best way to use PyGtk? | python,gtk,pygtk,glade,gtk2 | 1 | 11 | 0 | 1 | 0 | false | 0 | 0 | 0 | 8,539 | 0 |
(I used to write customer apps for Windows Mobile.)
Forget about python. Even if it's technically possible:
your app will be big (you'll have to bundle the whole python runtime with your app)
your app will use lots of memory (python is a memory hog, relative to C/C++)
your app will be slow
you wont find any documentat... | 60,945 | 2008-09-13T09:56:00.000 | What is the best way to start developing Windows Mobile Professional applications in Python? Is there a reasonable SDK including an emulator? Is it even possible without doing excessive amount of underlaying Windows API calls for UI for instance? | 60,446 | 1 | 4 | 1 | 9 | Windows Mobile development in Python | python,windows-mobile | 0 | 4 | 0 | 1 | 0 | false | 0 | 0 | 0 | 7,815 | 0 |
Why not embed CPython instead, which has an API intended to be used directly from C/C++. You lose the multiple language advantage but probably gain simplicity. | 934,717 | 2008-09-16T16:44:00.000 | Is it possible to call managed code, specifically IronRuby or IronPython from unamanaged code such as C++ or Delphi?
For example, we have an application written in Delphi that is being moved to C#.NET We'd like to provide Ruby or Python scripting in our new application to replace VBSCRIPT. However, we would need to p... | 74,386 | 1 | 5 | 1 | 3 | Using DLR from Unmanaged Code | .net,delphi,ironpython,unmanaged,ironruby | 0 | 6 | 0 | 0.099668 | 1 | false | 0 | 0 | 0 | 877 | 0 |
For plotting with you should also consider matplotlib, which provides a higher level API and integrates well with PyQT. | 453,179 | 2008-09-17T11:28:00.000 | 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? | 82,180 | 1 | 2 | 1 | 0 | PyQt and PyCairo | python,qt,gtk,pyqt | 0 | 2 | 0 | 0 | 0 | false | 0 | 0 | 0 | 2,526 | 0 |
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... | 87,121 | 2008-09-17T15:16:00.000 | 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... | 84,340 | 1 | 66 | 31 | 2 | Why learn Perl, Python, Ruby if the company is using C++, C# or Java as the application language? | c#,java,python,ruby,perl | 0 | 35 | 0 | 0.011428 | 1 | false | 0 | 0 | 0 | 32,287 | 0 |
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 ... | 84,456 | 2008-09-17T15:16:00.000 | 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... | 84,340 | 1 | 66 | 31 | 1 | Why learn Perl, Python, Ruby if the company is using C++, C# or Java as the application language? | c#,java,python,ruby,perl | 0 | 35 | 0 | 0.005714 | 1 | false | 0 | 0 | 0 | 32,287 | 0 |
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... | 84,443 | 2008-09-17T15:16:00.000 | 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... | 84,340 | 1 | 66 | 31 | 1 | Why learn Perl, Python, Ruby if the company is using C++, C# or Java as the application language? | c#,java,python,ruby,perl | 0 | 35 | 0 | 0.005714 | 1 | false | 0 | 0 | 0 | 32,287 | 0 |
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... | 84,423 | 2008-09-17T15:16:00.000 | 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... | 84,340 | 1 | 66 | 31 | 1 | Why learn Perl, Python, Ruby if the company is using C++, C# or Java as the application language? | c#,java,python,ruby,perl | 0 | 35 | 0 | 0.005714 | 1 | false | 0 | 0 | 0 | 32,287 | 0 |
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... | 84,584 | 2008-09-17T15:16:00.000 | 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... | 84,340 | 1 | 66 | 31 | 0 | Why learn Perl, Python, Ruby if the company is using C++, C# or Java as the application language? | c#,java,python,ruby,perl | 0 | 35 | 0 | 0 | 1 | false | 0 | 0 | 0 | 32,287 | 0 |
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. | 85,167 | 2008-09-17T15:16:00.000 | 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... | 84,340 | 1 | 66 | 31 | 1 | Why learn Perl, Python, Ruby if the company is using C++, C# or Java as the application language? | c#,java,python,ruby,perl | 0 | 35 | 0 | 0.005714 | 1 | false | 0 | 0 | 0 | 32,287 | 0 |
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... | 85,733 | 2008-09-17T15:16:00.000 | 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... | 84,340 | 1 | 66 | 31 | 1 | Why learn Perl, Python, Ruby if the company is using C++, C# or Java as the application language? | c#,java,python,ruby,perl | 0 | 35 | 0 | 0.005714 | 1 | false | 0 | 0 | 0 | 32,287 | 0 |
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... | 85,789 | 2008-09-17T15:16:00.000 | 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... | 84,340 | 1 | 66 | 31 | 0 | Why learn Perl, Python, Ruby if the company is using C++, C# or Java as the application language? | c#,java,python,ruby,perl | 0 | 35 | 0 | 0 | 1 | false | 0 | 0 | 0 | 32,287 | 0 |
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... | 85,891 | 2008-09-17T15:16:00.000 | 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... | 84,340 | 1 | 66 | 31 | 0 | Why learn Perl, Python, Ruby if the company is using C++, C# or Java as the application language? | c#,java,python,ruby,perl | 0 | 35 | 0 | 0 | 1 | false | 0 | 0 | 0 | 32,287 | 0 |
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... | 85,898 | 2008-09-17T15:16:00.000 | 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... | 84,340 | 1 | 66 | 31 | 2 | Why learn Perl, Python, Ruby if the company is using C++, C# or Java as the application language? | c#,java,python,ruby,perl | 0 | 35 | 0 | 0.011428 | 1 | false | 0 | 0 | 0 | 32,287 | 0 |
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... | 85,910 | 2008-09-17T15:16:00.000 | 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... | 84,340 | 1 | 66 | 31 | 0 | Why learn Perl, Python, Ruby if the company is using C++, C# or Java as the application language? | c#,java,python,ruby,perl | 0 | 35 | 0 | 0 | 1 | false | 0 | 0 | 0 | 32,287 | 0 |
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. | 86,366 | 2008-09-17T15:16:00.000 | 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... | 84,340 | 1 | 66 | 31 | 0 | Why learn Perl, Python, Ruby if the company is using C++, C# or Java as the application language? | c#,java,python,ruby,perl | 0 | 35 | 0 | 0 | 1 | false | 0 | 0 | 0 | 32,287 | 0 |
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... | 86,657 | 2008-09-17T15:16:00.000 | 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... | 84,340 | 1 | 66 | 31 | 1 | Why learn Perl, Python, Ruby if the company is using C++, C# or Java as the application language? | c#,java,python,ruby,perl | 0 | 35 | 0 | 0.005714 | 1 | false | 0 | 0 | 0 | 32,287 | 0 |
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 ... | 86,738 | 2008-09-17T15:16:00.000 | 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... | 84,340 | 1 | 66 | 31 | 0 | Why learn Perl, Python, Ruby if the company is using C++, C# or Java as the application language? | c#,java,python,ruby,perl | 0 | 35 | 0 | 0 | 1 | false | 0 | 0 | 0 | 32,287 | 0 |
For after work work, for freelance jobs...:) and final to be programming literate as possible as...;) | 87,164 | 2008-09-17T15:16:00.000 | 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... | 84,340 | 1 | 66 | 31 | 0 | Why learn Perl, Python, Ruby if the company is using C++, C# or Java as the application language? | c#,java,python,ruby,perl | 0 | 35 | 0 | 0 | 1 | false | 0 | 0 | 0 | 32,287 | 0 |
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... | 84,571 | 2008-09-17T15:16:00.000 | 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... | 84,340 | 1 | 66 | 31 | 3 | Why learn Perl, Python, Ruby if the company is using C++, C# or Java as the application language? | c#,java,python,ruby,perl | 0 | 35 | 0 | 0.017141 | 1 | false | 0 | 0 | 0 | 32,287 | 0 |
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 ... | 84,943 | 2008-09-17T15:16:00.000 | 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... | 84,340 | 1 | 66 | 31 | 80 | Why learn Perl, Python, Ruby if the company is using C++, C# or Java as the application language? | c#,java,python,ruby,perl | 0 | 35 | 0 | 1.2 | 1 | true | 0 | 0 | 0 | 32,287 | 0 |
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... | 84,400 | 2008-09-17T15:16:00.000 | 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... | 84,340 | 1 | 66 | 31 | 0 | Why learn Perl, Python, Ruby if the company is using C++, C# or Java as the application language? | c#,java,python,ruby,perl | 0 | 35 | 0 | 0 | 1 | false | 0 | 0 | 0 | 32,287 | 0 |
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... | 84,441 | 2008-09-17T15:16:00.000 | 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... | 84,340 | 1 | 66 | 31 | 1 | Why learn Perl, Python, Ruby if the company is using C++, C# or Java as the application language? | c#,java,python,ruby,perl | 0 | 35 | 0 | 0.005714 | 1 | false | 0 | 0 | 0 | 32,287 | 0 |
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... | 84,383 | 2008-09-17T15:16:00.000 | 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... | 84,340 | 1 | 66 | 31 | 0 | Why learn Perl, Python, Ruby if the company is using C++, C# or Java as the application language? | c#,java,python,ruby,perl | 0 | 35 | 0 | 0 | 1 | false | 0 | 0 | 0 | 32,287 | 0 |
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... | 90,403 | 2008-09-17T15:16:00.000 | 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... | 84,340 | 1 | 66 | 31 | 1 | Why learn Perl, Python, Ruby if the company is using C++, C# or Java as the application language? | c#,java,python,ruby,perl | 0 | 35 | 0 | 0.005714 | 1 | false | 0 | 0 | 0 | 32,287 | 0 |
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. | 98,291 | 2008-09-17T15:16:00.000 | 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... | 84,340 | 1 | 66 | 31 | 1 | Why learn Perl, Python, Ruby if the company is using C++, C# or Java as the application language? | c#,java,python,ruby,perl | 0 | 35 | 0 | 0.005714 | 1 | false | 0 | 0 | 0 | 32,287 | 0 |
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 :) | 114,875 | 2008-09-17T15:16:00.000 | 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... | 84,340 | 1 | 66 | 31 | 0 | Why learn Perl, Python, Ruby if the company is using C++, C# or Java as the application language? | c#,java,python,ruby,perl | 0 | 35 | 0 | 0 | 1 | false | 0 | 0 | 0 | 32,287 | 0 |
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... | 92,642 | 2008-09-17T15:16:00.000 | 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... | 84,340 | 1 | 66 | 31 | 5 | Why learn Perl, Python, Ruby if the company is using C++, C# or Java as the application language? | c#,java,python,ruby,perl | 0 | 35 | 0 | 0.028564 | 1 | false | 0 | 0 | 0 | 32,287 | 0 |
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... | 84,382 | 2008-09-17T15:16:00.000 | 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... | 84,340 | 1 | 66 | 31 | 1 | Why learn Perl, Python, Ruby if the company is using C++, C# or Java as the application language? | c#,java,python,ruby,perl | 0 | 35 | 0 | 0.005714 | 1 | false | 0 | 0 | 0 | 32,287 | 0 |
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. | 90,005 | 2008-09-17T15:16:00.000 | 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... | 84,340 | 1 | 66 | 31 | 0 | Why learn Perl, Python, Ruby if the company is using C++, C# or Java as the application language? | c#,java,python,ruby,perl | 0 | 35 | 0 | 0 | 1 | false | 0 | 0 | 0 | 32,287 | 0 |
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 ... | 84,362 | 2008-09-17T15:16:00.000 | 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... | 84,340 | 1 | 66 | 31 | 21 | Why learn Perl, Python, Ruby if the company is using C++, C# or Java as the application language? | c#,java,python,ruby,perl | 0 | 35 | 0 | 1 | 1 | false | 0 | 0 | 0 | 32,287 | 0 |
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... | 84,437 | 2008-09-17T15:16:00.000 | 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... | 84,340 | 1 | 66 | 31 | 9 | Why learn Perl, Python, Ruby if the company is using C++, C# or Java as the application language? | c#,java,python,ruby,perl | 0 | 35 | 0 | 1 | 1 | false | 0 | 0 | 0 | 32,287 | 0 |
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... | 84,535 | 2008-09-17T15:16:00.000 | 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... | 84,340 | 1 | 66 | 31 | 7 | Why learn Perl, Python, Ruby if the company is using C++, C# or Java as the application language? | c#,java,python,ruby,perl | 0 | 35 | 0 | 1 | 1 | false | 0 | 0 | 0 | 32,287 | 0 |
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... | 2,870,953 | 2008-09-17T15:16:00.000 | 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... | 84,340 | 1 | 66 | 31 | 1 | Why learn Perl, Python, Ruby if the company is using C++, C# or Java as the application language? | c#,java,python,ruby,perl | 0 | 35 | 0 | 0.005714 | 1 | false | 0 | 0 | 0 | 32,287 | 0 |
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. | 89,272 | 2008-09-17T15:16:00.000 | 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... | 84,340 | 1 | 66 | 31 | 14 | Why learn Perl, Python, Ruby if the company is using C++, C# or Java as the application language? | c#,java,python,ruby,perl | 0 | 35 | 0 | 1 | 1 | false | 0 | 0 | 0 | 32,287 | 0 |
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... | 2,278,316 | 2008-09-18T12:02:00.000 | 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. | 91,890 | 1 | 12 | 1 | 5 | Reading quicken data files | c#,java,python,file-format,quicken | 0 | 3 | 0 | 1.2 | 0 | true | 0 | 0 | 0 | 11,880 | 0 |
The answer to your specific question is no. You can't have two states or otherwise use pack two different ways in the same parent.
However, what I think you want to accomplish is simple. Use the built-in features of the canvas to create an image item that is part of the canvas, then pack things into the canvas as if i... | 112,337 | 2008-09-21T21:45:00.000 | I want to put a Canvas with an image in my window, and then I want to pack widgets on top of it, so the Canvas acts as a background.
Is it possible to have two states for the pack manager: one for one set of widgets and another for another set? | 112,263 | 1 | 2 | 2 | 2 | How do I overlap widgets with the Tkinter pack geometry manager? | python,tkinter,geometry,pack | 0 | 4 | 0 | 1.2 | 0 | true | 0 | 0 | 0 | 3,016 | 0 |
Not without swapping widget trees in and out, which I don't think can be done cleanly with Tk. Other toolkits can do this a little more elegantly.
COM/VB/MFC can do this with an ActiveX control - you can hide/show multiple ActiveX controls in the same region. Any of the containers will let you do this by changing th... | 112,432 | 2008-09-21T21:45:00.000 | I want to put a Canvas with an image in my window, and then I want to pack widgets on top of it, so the Canvas acts as a background.
Is it possible to have two states for the pack manager: one for one set of widgets and another for another set? | 112,263 | 1 | 2 | 2 | 0 | How do I overlap widgets with the Tkinter pack geometry manager? | python,tkinter,geometry,pack | 0 | 4 | 0 | 0 | 0 | false | 0 | 0 | 0 | 3,016 | 0 |
If you consider Qt, consider also throwing in kdelibs dependency,
then you'll have marble widget, which handles maps in neat way.
Thanks for advertizing Marble. But you are incorrect:
The Marble Widget doesn't depend on kdelibs at all. It just depends on Qt (>=4.3).
Additionally Marble also has just received Pytho... | 302,298 | 2008-09-21T23:10:00.000 | I'm specifically looking for one that lets me display a map of US states with each one as it's own "object" in the sense that I can control the color, on click, and on mouseover of each one individually. GTK is my personal preference, but at this point I'd settle for just about anything. The application itself will b... | 112,483 | 1 | 1 | 3 | 1 | Does anyone know of a widget for a desktop toolkit(GTK, Qt, WX) for displaying a map of US states? | python,qt,gtk,desktop | 0 | 5 | 0 | 0.039979 | 0 | false | 0 | 0 | 0 | 906 | 0 |
If you consider Qt, consider also throwing in kdelibs dependency, then you'll have marble widget, which handles maps in neat way.
If you stick only to Qt, then QGraphicsView is a framework to go.
(note: kdelibs != running whole kde desktop) | 146,015 | 2008-09-21T23:10:00.000 | I'm specifically looking for one that lets me display a map of US states with each one as it's own "object" in the sense that I can control the color, on click, and on mouseover of each one individually. GTK is my personal preference, but at this point I'd settle for just about anything. The application itself will b... | 112,483 | 1 | 1 | 3 | 2 | Does anyone know of a widget for a desktop toolkit(GTK, Qt, WX) for displaying a map of US states? | python,qt,gtk,desktop | 0 | 5 | 0 | 0.07983 | 0 | false | 0 | 0 | 0 | 906 | 0 |
Quick tip, if you color each state differently you can identify which one to pick from the color under mouse cursor rather than doing a complex point in polygon routine. | 122,701 | 2008-09-21T23:10:00.000 | I'm specifically looking for one that lets me display a map of US states with each one as it's own "object" in the sense that I can control the color, on click, and on mouseover of each one individually. GTK is my personal preference, but at this point I'd settle for just about anything. The application itself will b... | 112,483 | 1 | 1 | 3 | 0 | Does anyone know of a widget for a desktop toolkit(GTK, Qt, WX) for displaying a map of US states? | python,qt,gtk,desktop | 0 | 5 | 0 | 0 | 0 | false | 0 | 0 | 0 | 906 | 0 |
It will come down to you using the QScrollArea, it is a widget that implements showing something that is larger than the available space. You will not need to use QScrollBar directly. I don't have a PyQt example but there is a C++ example in the QT distribution it is called the "Image Viewer". The object hierarchy will... | 139,056 | 2008-09-26T12:05:00.000 | Dear Stacktoverflow, can you show me an example of how to use a QScrollBar? Thanks. | 139,005 | 1 | 0 | 1 | 1 | PyQt - QScrollBar | python,pyqt | 0 | 3 | 0 | 1.2 | 0 | true | 0 | 0 | 0 | 3,106 | 0 |
If the code is working in the interactive interpreter when typed, but not when run directly then I would suggest seeing if your code has reached a deadlock on the socket, for example both ends are waiting for data from the other. When typing into the interactive interpreter there is a longer delay between the executio... | 142,502 | 2008-09-26T20:07:00.000 | I've written code for communication between my phone and comp thru TCP sockets. When I type out the code line by line in the interactive console it works fine. However, when i try running the script directly through filebrowser.py it just wont work. I'm using Nokia N95. Is there anyway I can run this script directly wi... | 141,647 | 1 | 1 | 3 | 0 | Socket programming for mobile phones in Python | python,sockets,mobile | 0 | 4 | 0 | 0 | 0 | false | 0 | 0 | 0 | 1,588 | 0 |
Don't you have the "Run script" menu in your interactive Python shell? | 215,001 | 2008-09-26T20:07:00.000 | I've written code for communication between my phone and comp thru TCP sockets. When I type out the code line by line in the interactive console it works fine. However, when i try running the script directly through filebrowser.py it just wont work. I'm using Nokia N95. Is there anyway I can run this script directly wi... | 141,647 | 1 | 1 | 3 | 0 | Socket programming for mobile phones in Python | python,sockets,mobile | 0 | 4 | 0 | 0 | 0 | false | 0 | 0 | 0 | 1,588 | 0 |
Well, it doesn't appear to be a deadlock situation. It throws an error saying remote server refused connection. However, like I said before, if i type the very same code into the interactive interpreter it works just fine. I'm wondering if the error is because the script is run through filebrowser.py? | 142,786 | 2008-09-26T20:07:00.000 | I've written code for communication between my phone and comp thru TCP sockets. When I type out the code line by line in the interactive console it works fine. However, when i try running the script directly through filebrowser.py it just wont work. I'm using Nokia N95. Is there anyway I can run this script directly wi... | 141,647 | 1 | 1 | 3 | 0 | Socket programming for mobile phones in Python | python,sockets,mobile | 0 | 4 | 0 | 0 | 0 | false | 0 | 0 | 0 | 1,588 | 0 |
In wxPython there's a plethora of ready-made list and tree controls (CustomTreeCtrl, TreeListCtrl, and others), a mixture of which you can use to create a simple explorer in minutes. The wxPython demo even has a few relevant examples (see the demo of MVCTree). | 145,174 | 2008-09-28T03:39:00.000 | I am making a Python gui project that needs to duplicate the look of a Windows gui environment (ie Explorer). I have my own custom icons to draw but they should be selectable by the same methods as usual; click, ctrl-click, drag box etc. Are any of the gui toolkits going to help with this or will I have to implement ... | 145,155 | 1 | 1 | 1 | 2 | Something like Explorer's icon grid view in a Python GUI | python,user-interface | 0 | 3 | 0 | 0.132549 | 0 | false | 0 | 0 | 0 | 547 | 0 |
As of wxPython 2.9.2.0 wx.TaskBarIcon will create a menubar icon now instead on OSX, so long as you call SetIcon. | 25,845,284 | 2008-09-28T14:02:00.000 | I could not find any pointers on how to create a menubar icon on OSX using wx. I originally thought that the wxTaskBarIcon class would do, but it actually creates an icon on the Dock. On Windows, wxTaskBarIcon creates a Systray icon and associated menu, and I would think that on mac osx it would create a menubar icon, ... | 145,894 | 1 | 6 | 1 | 1 | how to set a menubar icon on mac osx using wx | macos,wxpython,wxwidgets | 0 | 4 | 0 | 0.049958 | 0 | false | 0 | 0 | 0 | 4,972 | 1 |
I've used py2Exe myself - it's really easy (at least for small apps). | 153,999 | 2008-09-30T16:50:00.000 | I need to develop a small-medium sized desktop GUI application, preferably with Python as a language of choice because of time constraints.
What GUI library choices do I have which allow me to redistribute my application standalone, assuming that the users don't have a working Python installation and obviously don't ha... | 153,956 | 1 | 11 | 1 | 0 | Python GUI Application redistribution | python,user-interface,wxpython,distribution,freeze | 0 | 7 | 0 | 0 | 0 | false | 0 | 0 | 0 | 5,407 | 0 |
I thought I posted my solution already...
Modifying both apps to run under WSGIApplicationGroup ${GLOBAL} in their httpd conf file
and patching sqlalchemy.databases.firebird.py to check if self.dbapi.initialized is True
before calling self.dbapi.init(... was the only way I could manage to get this scenario up and runni... | 175,634 | 2008-09-30T20:47:00.000 | I'm trying to develop an app using turbogears and sqlalchemy.
There is already an existing app using kinterbasdb directly under mod_wsgi on the same server.
When both apps are used, neither seems to recognize that kinterbasdb is already initialized
Is there something non-obvious I am missing about using sqlalchemy and ... | 155,029 | 1 | 1 | 1 | 2 | SQLAlchemy and kinterbasdb in separate apps under mod_wsgi | python,sqlalchemy,kinterbasdb | 0 | 1 | 0 | 0.379949 | 0 | false | 1 | 0 | 0 | 270 | 0 |
You can try pygame, its very easy to handle and similar to SDL under c++ | 1,568,711 | 2008-10-04T05:36:00.000 | I'm writing a simulator in Python, and am curious about options and opinions regarding basic 2D animations. By animation, I'm referring to rendering on the fly, not displaying prerendered images.
I'm currently using matplotlib (Wxagg backend), and it's possible that I'll be able to continue using it, but I suspect it w... | 169,810 | 1 | 12 | 1 | 3 | 2D animation in Python | python,animation,2d | 0 | 3 | 0 | 0.197375 | 0 | false | 0 | 1 | 0 | 29,957 | 0 |
You can do this by calling SetFont on the parent window (Frame, Dialog, etc) before adding any widgets. The child widgets will inherit the font. | 184,571 | 2008-10-05T08:27:00.000 | Many times I will use the same font scheme for static text in a wxPython application. Currently I am making a SetFont() call for each static text object but that seems like a lot of unnecessary work. However, the wxPython demo and wxPython In Action book don't discuss this.
Is there a way to easily apply the same SetFo... | 171,694 | 1 | 3 | 1 | 5 | Applying a common font scheme to multiple objects in wxPython | python,fonts,wxpython | 1 | 4 | 0 | 1.2 | 0 | true | 0 | 0 | 0 | 1,595 | 0 |
I have some J2ME experience and now I decided to write a couple of useful apps for my phone so I decided to use PyS60 to study Python by the way:)
Some things I don't like about the platform are:
You can't invoke any graphical functions (module appuifw) from non-main thread.
Python script model is not well-suited for ... | 1,195,831 | 2008-10-06T07:37:00.000 | I am in the position of having to make a technology choice early in a project which is targetted at mobile phones. I saw that there is a python derivative for S60 and wondered whether anyone could share experiences, good and bad, and suggest appropriate IDE's and emulators.
Please don't tell me that I should be develo... | 173,484 | 1 | 10 | 2 | 0 | Does anyone have experience with PyS60 mobile development | python,mobile,pys60 | 0 | 7 | 0 | 0 | 0 | false | 0 | 0 | 1 | 1,684 | 0 |
I've written a calculator, that I'd like to have, and made a simple game.
I wrote it right on the phone. I was writing in text editor then switched to Python and ran a script. It is not very comfortable, but it's ok. Moreover, I was writing all this when I hadn't PC nearby.
It was a great experience! | 489,368 | 2008-10-06T07:37:00.000 | I am in the position of having to make a technology choice early in a project which is targetted at mobile phones. I saw that there is a python derivative for S60 and wondered whether anyone could share experiences, good and bad, and suggest appropriate IDE's and emulators.
Please don't tell me that I should be develo... | 173,484 | 1 | 10 | 2 | 0 | Does anyone have experience with PyS60 mobile development | python,mobile,pys60 | 0 | 7 | 0 | 0 | 0 | false | 0 | 0 | 1 | 1,684 | 0 |
So having not heard back regarding my edit to the original question, I have done some more research and the conclusion I seem to be coming to is that yes, I should break the interface out into several views, each with its own controller. Python-gtkmvc provides the ability to this by providing a glade_top_widget_name p... | 219,737 | 2008-10-19T06:07:00.000 | I am working on a desktop application in PyGTK and seem to be bumping up against some limitations of my file organization. Thus far I've structured my project this way:
application.py - holds the primary application class (most functional routines)
gui.py - holds a loosely coupled GTK gui implementation. Handles sig... | 216,093 | 1 | 8 | 2 | 0 | How do I coherently organize modules for a PyGTK desktop application? | python,gtk,module,pygtk,organization | 0 | 6 | 0 | 0 | 0 | false | 0 | 0 | 0 | 2,015 | 0 |
"holds the primary application class (most functional routines)"
As in singular -- one class?
I'm not surprised that the One Class Does Everything design isn't working. It might not be what I'd call object-oriented. It doesn't sound like it follows the typical MVC design pattern if your functionality is piling up in... | 216,386 | 2008-10-19T06:07:00.000 | I am working on a desktop application in PyGTK and seem to be bumping up against some limitations of my file organization. Thus far I've structured my project this way:
application.py - holds the primary application class (most functional routines)
gui.py - holds a loosely coupled GTK gui implementation. Handles sig... | 216,093 | 1 | 8 | 2 | 2 | How do I coherently organize modules for a PyGTK desktop application? | python,gtk,module,pygtk,organization | 0 | 6 | 0 | 0.066568 | 0 | false | 0 | 0 | 0 | 2,015 | 0 |
python 2.6.2 + tkinter 8.5, no problems | 792,527 | 2008-10-20T17:19:00.000 | I installed Python 2.6 for one user on Windows Vista. Python works okay, but when I try: import Tkinter, it says the side-by-side configuration has errors. I've tried tinkering with the Visual Studio runtime, with no good results. Any ideas on how to resolve this? | 219,215 | 1 | 3 | 3 | -1 | How do I use Tkinter with Python on Windows Vista? | python,windows,windows-vista,tkinter | 1 | 3 | 0 | -0.066568 | 0 | false | 0 | 0 | 0 | 1,345 | 0 |
It seems this is a one of the many weird Vista problems and some random reinstalling, installing/upgrading of the visual studio runtime or some such seems sometimes to help, or disabling sxs in the system configuration or writing a manifest file etc.
Though I think you should downgrade to windows XP. | 219,326 | 2008-10-20T17:19:00.000 | I installed Python 2.6 for one user on Windows Vista. Python works okay, but when I try: import Tkinter, it says the side-by-side configuration has errors. I've tried tinkering with the Visual Studio runtime, with no good results. Any ideas on how to resolve this? | 219,215 | 1 | 3 | 3 | 1 | How do I use Tkinter with Python on Windows Vista? | python,windows,windows-vista,tkinter | 1 | 3 | 0 | 0.066568 | 0 | false | 0 | 0 | 0 | 1,345 | 0 |
Maybe you should downgrade to 2.5 version? | 219,284 | 2008-10-20T17:19:00.000 | I installed Python 2.6 for one user on Windows Vista. Python works okay, but when I try: import Tkinter, it says the side-by-side configuration has errors. I've tried tinkering with the Visual Studio runtime, with no good results. Any ideas on how to resolve this? | 219,215 | 1 | 3 | 3 | 1 | How do I use Tkinter with Python on Windows Vista? | python,windows,windows-vista,tkinter | 1 | 3 | 0 | 1.2 | 0 | true | 0 | 0 | 0 | 1,345 | 0 |
The wxPython demo has an example of a "dynamic" wizard. Pages override GetNext() and GetPrev() to show pages dynamically. This shows the basic technique; you can extend it to add and remove pages, change pages on the fly, and rearrange pages dynamically.
The wizard class is just a convenience, though. You can modify it... | 247,409 | 2008-10-22T02:54:00.000 | I'm making a program that fits the wizard concept ideally; the user is walked through the steps to create a character for a game.
However, I'm realizing that the limitations of the wizard are making it difficult to design "elegant" logic flow. For example, because all pages of the wizard are initalized at the same time... | 224,337 | 1 | 3 | 2 | 1 | Alternatives to a wizard | python,wxpython,wizard | 0 | 5 | 0 | 0.039979 | 0 | false | 0 | 0 | 0 | 2,843 | 0 |
I'd get rid of wizard in whole. They are the most unpleasant things I've ever used.
The problem that requires a wizard-application where you click 'next' is perhaps a problem where you could apply a better user interface in a bit different manner. Instead of bringing up a dialog with annoying 'next' -button. Do this:
B... | 247,633 | 2008-10-22T02:54:00.000 | I'm making a program that fits the wizard concept ideally; the user is walked through the steps to create a character for a game.
However, I'm realizing that the limitations of the wizard are making it difficult to design "elegant" logic flow. For example, because all pages of the wizard are initalized at the same time... | 224,337 | 1 | 3 | 2 | 0 | Alternatives to a wizard | python,wxpython,wizard | 0 | 5 | 0 | 0 | 0 | false | 0 | 0 | 0 | 2,843 | 0 |
Yes. If python is much more natural to you than C++, it might be a good idea to learn pygame first. You'll have to go through a translation process when migrating to using SDL and C, but it should be a more-or-less one-to-one mapping. | 239,167 | 2008-10-26T19:54:00.000 | If I want to move to C++ and SDL in the future, is Python and pygame a good way to learn SDL? | 238,523 | 1 | 18 | 5 | 6 | Is Python and pygame a good way to learn SDL? | c++,python,sdl,pygame | 1 | 9 | 0 | 1 | 0 | false | 0 | 0 | 0 | 25,055 | 0 |
I wouldn't consider Python (or any managed or interpreted language, for that matter) a good way to learn any complex task, because it insulates the programmer from the workings of the system too much. As a friend of mine put it, "Python loves you and wants you to be happy." And that's all well and good if you already k... | 255,136 | 2008-10-26T19:54:00.000 | If I want to move to C++ and SDL in the future, is Python and pygame a good way to learn SDL? | 238,523 | 1 | 18 | 5 | 0 | Is Python and pygame a good way to learn SDL? | c++,python,sdl,pygame | 1 | 9 | 0 | 0 | 0 | false | 0 | 0 | 0 | 25,055 | 0 |
python won't prevent you off learning design and that's pretty much the more important thing to learn IMO, I'm doing a smash bros clone with pygame and I learnt a lot in design. And yet you will learn not to write too much suboptimal code too, python have clever and beautiful hacks too. | 275,461 | 2008-10-26T19:54:00.000 | If I want to move to C++ and SDL in the future, is Python and pygame a good way to learn SDL? | 238,523 | 1 | 18 | 5 | 1 | Is Python and pygame a good way to learn SDL? | c++,python,sdl,pygame | 1 | 9 | 0 | 0.022219 | 0 | false | 0 | 0 | 0 | 25,055 | 0 |
pygame abstracts the SDL interface quite a lot, therefore I don't think there's much of an advantage carried over. | 238,659 | 2008-10-26T19:54:00.000 | If I want to move to C++ and SDL in the future, is Python and pygame a good way to learn SDL? | 238,523 | 1 | 18 | 5 | 6 | Is Python and pygame a good way to learn SDL? | c++,python,sdl,pygame | 1 | 9 | 0 | 1 | 0 | false | 0 | 0 | 0 | 25,055 | 0 |
You can learn some techniques, ways to implement game logic etc. in SDL-based enviroment but after moving to C++/SDL you will have to use SDL functions directly, helper functions/objects from pyGame will be completely useles. | 238,671 | 2008-10-26T19:54:00.000 | If I want to move to C++ and SDL in the future, is Python and pygame a good way to learn SDL? | 238,523 | 1 | 18 | 5 | 6 | Is Python and pygame a good way to learn SDL? | c++,python,sdl,pygame | 1 | 9 | 0 | 1 | 0 | false | 0 | 0 | 0 | 25,055 | 0 |
What OpenGL library are you using? What windowing library? What version of Python?
Most likely cause I can think of is that your windowing library (SDL or whatever you're using) isn't initializing OpenGL before you start calling into it. | 242,063 | 2008-10-28T02:29:00.000 | I am currently in a course that is using OpenGL and I have been using C for all the programs so far. I have Python installed on Fedora as well as OpenGL, however the minute I call an OpenGL command in my Python code, I get a segmentation fault. I have no idea why this is.
Just to avoid the "just use C" comments, here i... | 242,059 | 1 | 15 | 5 | 1 | OpenGl with Python | python,opengl,fedora | 0 | 6 | 0 | 0.033321 | 0 | false | 0 | 0 | 0 | 18,416 | 1 |
We have neither ideas about random segmentation faults. There is not enough information. What python libraries are you using for opengl? How do you use them? Can you show us your code? It's probably something trivial but my god -skill ends up to telling me just and only that.
Raytracer in python? I'd prefer just doing ... | 242,371 | 2008-10-28T02:29:00.000 | I am currently in a course that is using OpenGL and I have been using C for all the programs so far. I have Python installed on Fedora as well as OpenGL, however the minute I call an OpenGL command in my Python code, I get a segmentation fault. I have no idea why this is.
Just to avoid the "just use C" comments, here i... | 242,059 | 1 | 15 | 5 | 0 | OpenGl with Python | python,opengl,fedora | 0 | 6 | 0 | 0 | 0 | false | 0 | 0 | 0 | 18,416 | 1 |
Perhaps you are calling an OpenGL function that requires an active OpenGL context, without having one? That shouldn't necessarily crash, but I guess it might. How to set up such a context depends on the platform, and it's been a while since I used GL from Python (and when I did, I also used GTK+ which complicates matte... | 246,922 | 2008-10-28T02:29:00.000 | I am currently in a course that is using OpenGL and I have been using C for all the programs so far. I have Python installed on Fedora as well as OpenGL, however the minute I call an OpenGL command in my Python code, I get a segmentation fault. I have no idea why this is.
Just to avoid the "just use C" comments, here i... | 242,059 | 1 | 15 | 5 | 0 | OpenGl with Python | python,opengl,fedora | 0 | 6 | 0 | 0 | 0 | false | 0 | 0 | 0 | 18,416 | 1 |
Well, I don't know if these are the libs the original poster are using but I saw identical issues in a pet project I'm working on (Graphics Engine using C++ and Python) using PyOpenGL.
PyOpenGL didn't correctly pick up the rendering context if it was created after the python script had been loaded (I was loading the sc... | 1,778,664 | 2008-10-28T02:29:00.000 | I am currently in a course that is using OpenGL and I have been using C for all the programs so far. I have Python installed on Fedora as well as OpenGL, however the minute I call an OpenGL command in my Python code, I get a segmentation fault. I have no idea why this is.
Just to avoid the "just use C" comments, here i... | 242,059 | 1 | 15 | 5 | 2 | OpenGl with Python | python,opengl,fedora | 0 | 6 | 0 | 0.066568 | 0 | false | 0 | 0 | 0 | 18,416 | 1 |
Scripts never cause segmentation faults.
But first see if your kernel and kmod video driver working property ...
Extension modules can cause "segmentation fault". | 2,284,461 | 2008-10-28T02:29:00.000 | I am currently in a course that is using OpenGL and I have been using C for all the programs so far. I have Python installed on Fedora as well as OpenGL, however the minute I call an OpenGL command in my Python code, I get a segmentation fault. I have no idea why this is.
Just to avoid the "just use C" comments, here i... | 242,059 | 1 | 15 | 5 | 0 | OpenGl with Python | python,opengl,fedora | 0 | 6 | 0 | 0 | 0 | false | 0 | 0 | 0 | 18,416 | 1 |
From what I can tell, DCs in python are abstracted due to platform variation. So a device context in python doesn't directly map to a device context in Windows even though many of the methods are direct Windows method calls. To make this happen it appears you would need to make your own DelegateDC class or something ... | 253,897 | 2008-10-28T18:35:00.000 | I am getting a DC for a window handle of an object in another program using win32gui.GetDC which returns an int/long. I need to blit this DC into a memory DC in python. The only thing I can't figure out how to do is get a wxDC derived object from the int/long that win32gui returns. None of the wxDC objects allow me ... | 244,340 | 1 | 2 | 1 | 0 | wxPython wxDC object from win32gui.GetDC | wxpython,device,win32gui,bitblit | 0 | 2 | 0 | 0 | 0 | false | 0 | 0 | 0 | 1,086 | 0 |
MSDN has plenty of samples for C++ development on Windows Mobile, and the SDK comes with several sample application. Unfortunately VS Express editions (the free ones) do not come with compilers for Smart Devices. The only free option is the older eMbedded Visual C++ (eVC), which is now something like 8 years old and n... | 253,562 | 2008-10-31T08:13:00.000 | As it seems there is no scripting language for Windows mobile devices that gives access to phone (sms, mms, make a call, take photo). I wonder how complex it would be to make a Python library that would enable that (write something in C, compile, and import in PythonCE).
Question: Where shall start to understand how to... | 252,859 | 1 | 1 | 1 | 1 | Extending PythonCE to Access gsm/camera/gps Easily from PythonCE | c,windows-mobile,extending,pythonce | 0 | 3 | 0 | 0.066568 | 0 | false | 0 | 0 | 0 | 871 | 0 |
Your best bet is the tkMessageBox module, which should work on all systems (as Python will typically come with Tkinter).
If you can restrict yourself to a specific operating system, better choices might be available. | 257,403 | 2008-11-02T21:22:00.000 | Is there a UI library to create a message box or input box in python? | 257,398 | 1 | 6 | 2 | 11 | Message Box in Python | python,user-controls,user-interface | 0 | 4 | 0 | 1.2 | 0 | true | 0 | 0 | 0 | 6,196 | 0 |
I've heard good things about wx python, which is also multi-platform. | 257,532 | 2008-11-02T21:22:00.000 | Is there a UI library to create a message box or input box in python? | 257,398 | 1 | 6 | 2 | 2 | Message Box in Python | python,user-controls,user-interface | 0 | 4 | 0 | 0.099668 | 0 | false | 0 | 0 | 0 | 6,196 | 0 |
The client will present this as a slide in a presentation in a windows machine
I think this is the key to your answer. Before going to a 3d implementation and writing all the code in the world to create this feature, you need to look at the presentation software. Chances are, your options will boil down to two things... | 267,698 | 2008-11-06T04:44:00.000 | Background
I have been asked by a client to create a picture of the world which has animated arrows/rays that come from one part of the world to another.
The rays will be randomized, will represent a transaction, will fade out after they happen and will increase in frequency as time goes on. The rays will start in ... | 267,660 | 1 | 1 | 2 | 2 | How to create a picture with animated aspects programmatically | python,image,graphics,animation,drawing | 0 | 3 | 0 | 0.132549 | 0 | false | 0 | 0 | 0 | 902 | 0 |
It depends largely on the effort you want to expend on this, but the basic outline of an easy way. Would be to load an image of an arrow, and use a drawing library to color and rotate it in the direction you want to point(or draw it using shapes/curves).
Finally to actually animate it interpolate between the coordinate... | 267,676 | 2008-11-06T04:44:00.000 | Background
I have been asked by a client to create a picture of the world which has animated arrows/rays that come from one part of the world to another.
The rays will be randomized, will represent a transaction, will fade out after they happen and will increase in frequency as time goes on. The rays will start in ... | 267,660 | 1 | 1 | 2 | 1 | How to create a picture with animated aspects programmatically | python,image,graphics,animation,drawing | 0 | 3 | 0 | 0.066568 | 0 | false | 0 | 0 | 0 | 902 | 0 |
I've used both (for the same project): Boost is better integrated with the STL, and especially C++ exceptions. Also, its memory management mechanism (which tries to bridge C++ memory management and Python GC) is way more flexible than SWIG's. However, SWIG has much better documentation, no external dependencies, and ... | 277,306 | 2008-11-10T00:34:00.000 | I'm currently working on a project were I had to wrap the C++ classes with Python to be able to script the program. So my specific experience also involved embedding the Python interpreter in our program.
The alternatives I tried were:
Boost.Python
I liked the cleaner API produced by Boost.Python, but the fact that it... | 276,761 | 1 | 41 | 2 | 23 | Exposing a C++ API to Python | c++,python,boost,swig | 0 | 5 | 0 | 1.2 | 1 | true | 0 | 0 | 0 | 12,800 | 0 |
A big plus for Boost::Python is that it allows for tab completion in the ipython shell: You import a C++ class, exposed by Boost directly, or you subclass it, and from then on, it really behaves like a pure Python class.
The downside: It takes so long to install and use Boost that all the Tab-completion time-saving wo... | 847,688 | 2008-11-10T00:34:00.000 | I'm currently working on a project were I had to wrap the C++ classes with Python to be able to script the program. So my specific experience also involved embedding the Python interpreter in our program.
The alternatives I tried were:
Boost.Python
I liked the cleaner API produced by Boost.Python, but the fact that it... | 276,761 | 1 | 41 | 2 | 2 | Exposing a C++ API to Python | c++,python,boost,swig | 0 | 5 | 0 | 0.07983 | 1 | false | 0 | 0 | 0 | 12,800 | 0 |
Start with pyglet. It contains the best high-level API, which contains all you need to get started, from opening a window to drawing sprites and OpenGL primitives using their friendly and powerful Sprite and Batch classes.
Later, you might also want to write your own lower-level code, that makes calls directly to OpenG... | 4,246,325 | 2008-11-11T03:17:00.000 | I am looking to do some tinkering with openGL and Python and haven't been able to find good reasons for using PyOpenGl versus pyglet
Which would you recommend and why? | 279,912 | 1 | 25 | 5 | 32 | PyOpenGl or pyglet? | python,pyglet,pyopengl | 0 | 9 | 0 | 1 | 0 | false | 0 | 0 | 0 | 18,513 | 0 |
pyglet's GL API is nowhere near as nice as PyOpenGL's - pyglet's is at the raw ctypes layer which means you'll need to learn ctypes as well. If you're planning on doing a bunch of OpenGL programming you'll want to use PyOpenGL.
The nice thing is you can mix the two just fine. Use pyglet to provide the GL context, soun... | 2,396,038 | 2008-11-11T03:17:00.000 | I am looking to do some tinkering with openGL and Python and haven't been able to find good reasons for using PyOpenGl versus pyglet
Which would you recommend and why? | 279,912 | 1 | 25 | 5 | 4 | PyOpenGl or pyglet? | python,pyglet,pyopengl | 0 | 9 | 0 | 0.088656 | 0 | false | 0 | 0 | 0 | 18,513 | 0 |
End of preview. Expand in Data Studio
No dataset card yet
- Downloads last month
- 8