First  |  Prev |  Next  |  Last
Pages: 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238
subprocess executing shell
Hi, I'm writing a script to capture a command on the commandline and run it on a remote server. I guess I don't understand subprocess because the code below exec's the user's .cshrc file even though by default shell=False in the Popen call. Here's the code. I put a line in my .cshrc file: echo 'testing' which ... 23 Oct 2009 00:10
umlauts
Hi all this has been bugging me for a long time and I do not seem to be able to understand what to do. I always have problems when dealing input text that contains umlauts. Consider the following: In [1]: import urllib In [2]: f = urllib.urlopen("http://www.google.de/ig/api?weather=Muenchen") In [3]: xm... 17 Oct 2009 21:41
Python 2.6.3 and finding init.tcl
I'm trying to troubleshoot a bug in VirtualEnv, but in order to do so I need to better understand how Python initializes Tkinter. Setup: Python 2.6.3 on Windows 7 & Windows XP SP3 Problem: There is a file called init.tcl that gets loaded when first executing a Tkinter statement. The file is held in the root o... 15 Oct 2009 09:23
Error received from _mechanize.py
On Thu, Oct 15, 2009 at 12:39 AM, Raji Seetharaman <sraji.me(a)gmail.com> wrote: Hi all, Im learning web scraping with python from the following link http://www.packtpub.com/article/web-scraping-with-python To work with it,  mechanize to be installed I installed mechanize using sudo apt-get in... 15 Oct 2009 05:01
MUD Game Programmming - Python Modules in C++
Hello all, I'm new to Python and new to this list, although I've done some digging in the archives and already read up on the problem I'm about to describe. I'm a relatively inexperienced programmer, and have been learning some basic C++ and working through the demos in Ron Penton's "MUD Game Programming" book. I... 14 Oct 2009 10:17
"undefined symbol: TLSv1_method" error when import psycopg2
I installed psycopg2 by "easy_install psycopg2" on CentOS 5.3, no error was reported, but when I tried "import psycopg2", I got : exceptions.ImportError: /usr/lib/python2.4/site-packages/ psycopg2-2.0.9-py2.4-linux-i686.egg/psycopg2/_psycopg.so: undefined symbol: TLSv1_method What might cause the problem? ... 13 Oct 2009 09:55
Where to find pexpect
I have been looking for pexpect. The links I find like http://pexpect.sourceforge.net all end up at http://www.noah.org/wiki/Pexpect which produces a 404 not found problem. Does someone know the current location? -- Antoon Pardon ... 13 Oct 2009 09:55
deepcopy of class inherited from Thread
VYAS ASHISH M-NTB837 wrote: Dear All I am running this piece of code: from threading import Thread import copy class Ashish(Thread): def __init__(self, i): Thread.__init__(self) self.foo = i def run(self): print (self, self.foo) d= ... 13 Oct 2009 00:08
Python vs Java -> Perché i pythonisti ce l'hanno tanto con Java?
Enrico Franchi ha scritto: spazza <spazza(a)alum.com> wrote: ...snip... Non mi pare che al momento Python sia in grado di reggere tutto questo. Scusa, proseguendo in questa maniera andiamo pesantemente OT. Rimane pero' il problema di *dimostrare* la tua affermazione. Da quanto leggo, mi se... 10 Oct 2009 09:26
some site login problem help plz..
hello.. im new to python. i have some problem with mechanize. before i was used mechanize with no problem. but i couldn't success login with some site. for several days i was looked for solution but failed. my problem is , login is no probelm but can't retrieve html source code from opened site. actually only... 12 Oct 2009 14:04
First  |  Prev |  Next  |  Last
Pages: 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238