First  |  Prev |  Next  |  Last
Pages: 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190
importerror: module Gnuplot missing
Hi, I need help. I am trying to follow examples from a book "Python Scripting for Computational Science" and the examples are all plotted using Gnuplot. When I run the programs I get error saying "importerror Gnuplot module missing". I have installed Gnuplot in C:\My Programs\gnuplot directory (running on WinME... 7 Mar 2010 12:55
Duplicate keys in dict?
Hello, My code snippet reads data from excel ranges. First row and first column are column headers and row headers respectively. After reding the range I build a dict. .................'A'..............'B' 'ab'............3................5 'cd'............7................2 'cd'............9................... 9 Mar 2010 07:49
async notification handling w/o threads/polling (similiar tokill -hup)?
News123 wrote: Hi, I'd like to notify python processes asynchronously. at notification time a callback should be called The solution should be working on linux and Windows. I could add a wrapper to switch between a windows / linux implementation though If possible I'd like to avoid ... 6 Mar 2010 19:34
Call for Paper The International Journal of Computer Science (IJCS)
Call for Paper The International Journal of Computer Science (IJCS) publishes original papers on all subjects relevant to computer science, communication network, and information systems. The highest priority will be given to those contributions concerned with a discussion of the background of a practical problem,... 6 Mar 2010 10:44
Import problem
I have this directory structure C: \A __init__.py amodule.py \B __init__.py bmodule.py \D __init__.py dmodule.py and I want to import bmodule.py C:\>cd \ C:\>python Python 2.5 (r25:51908, Sep 19 2006, 09:52... 10 Mar 2010 18:40
Building Python-2.6.4 on G/L: can't build in _ssl support.
Hi, Python! I build Python-2.6.4 on my GNU/Linux (Debian Sarge) box. I get a warning message "Failed to find the necessary bits to build these modules: .... _ssl ... RTFS to find out what!". I need _ssl for an application. So, I look at setup.py in the top directory. It seems that _ssl needs to find certai... 6 Mar 2010 11:50
Initial RSON prototype parser in subversion
I have not yet added indentation sensitivity to the parser (although the tokenizer saves the indentation information for the parser), but the initial prototype parses all of JSON plus a lot of syntax enhancements (comments, hex/binary/octal numbers, relaxed quoting requirements for strings, trailing comments allowe... 6 Mar 2010 03:10
best practices: is collections.defaultdict my friend or not?
I've been wrestling with dicts. I hope at the very least what I discovered helps someone else out, but I'm interested in hearing from more learned python users. I found out that adding a two dimensional element without defining first dimension existing doesn't work: data = {} data['one']['two'] = 'thr... 7 Mar 2010 20:40
ANN: Wing IDE 3.2.5 Released
Hi, Wingware has released version 3.2.5 of Wing IDE, an integrated development environment designed specifically for the Python programming language. Wing IDE provides a professional code editor with vi, emacs, and other configurable key bindings, auto-completion, call tips, a powerful graphical debugger, inte... 5 Mar 2010 16:11
Conditional based on whether or not a module is being used
In a module, how do I create a conditional that will do something based on whether or not another module has been loaded? Suppose I have the following: import foo import foobar print foo() print foobar() ########### foo.py def foo: return 'foo' ########### foobar.py def foobar: if foo.has_... 16 Mar 2010 20:57
First  |  Prev |  Next  |  Last
Pages: 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190