First  |  Prev |  Next  |  Last
Pages: 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361
Distribute ctypes based modules
Hi, how do you distribute ctypes based modules on a linux machine ? What does your setup.py look like ? I have to copy my shared library to /usr/lib or another common place, but I would prefer .../site-packages/... In the latter case I have to modify LD_LIBRARY_PATH oder some ld.so.conf configuration file. ... 2 Jul 2008 09:49
Using Gnuplot and making an exe file outv the prog
Hello. Been using the gnuplot lately. Program runs fine. And its plots as well. Now i want to make an exe file out of this program using py2exe. Cud some1 help me in telling me how this is done. Thnks ... 3 Jul 2008 16:37
How to modify the data in a binary file?
Le Wednesday 02 July 2008 14:05:39 Jim Brown, vous avez écrit : Hi all, I'm a Python newbie, so please pardon me if my question may look a little silly. :) I want to modify a binary file p.data (which has some C-style "short" integers -- 16-bit integers) in such a way: The bit m and bit n of every "... 2 Jul 2008 08:48
Email Validation with domain
Hi All, import re msg=raw_input('Enter the email : ') def validateEmail(email): #if re.match("^.+\\@(\\[?)[a-zA-Z0-9\\-\\.]+\\.([a-zA-Z]{2,3}|[0-9] {1,3})(\\]?)$", email) != None: if re.match("^([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]{2,})$", email) != None: print 'Valis' else: ... 3 Jul 2008 02:16
Scripting SAP GUI (Windows)
Hi, I need to script SAP GUI running on MS-Windows: Open SAP GUI window, if it is not already open, and then batch input some keystrokes. The following solutions were found by google: - autohotkey: not preferred, since it has an own programming language. This will slow down development. - pyHook... 2 Jul 2008 18:05
beginner's questions - manipulating text files
Le Wednesday 02 July 2008 01:16:30 Ben Keshet, vous avez écrit : Hi, I am a very beginner Python programmer with limited programming experience overall. I am trying to write a script that will search for the second and third appearance of the symbol '@' in a file, will read a random line between ... 2 Jul 2008 07:47
How to identify whether a function is module scoped function orstatic method of a class by using its fully qualified name
Thanks, Srini Best Jokes, Best Friends, Best Food and more. Go to http://in.promos.yahoo.com/groups/bestofyahoo/ ... 2 Jul 2008 06:45
distutils - setup - lib problem
Hi, I've got some problems with the following setup.py file. using "python setup.py install -f" it shows that wrap_ica.so is copied to /usr and not to ..../site-packages as I assumed. What am I doing wrong ? I'm using Python 2.4 on Debian Linux. ----------------------------------------------------- from dis... 3 Jul 2008 12:30
Problem with a for loop and a list
I am not sure what is going on here. Here is the code that is being run: def getWords(self): self.n=0 for entry in self.listBuffer: self.wordList[self.n] = entry.get() self.n=self.n+1 print self.wordList This is the "listBuffer" that you see: self.listBu... 2 Jul 2008 05:44
n00bie wants advice.
This simple script writes html color codes that can be viewed in a browser. I used short form hex codes (fff or 000, etc) and my list has only six hex numbers otherwise the results get rather large. I invite criticism as to whether my code is "pythonic". Are there other ways to generate the hex combos besides the ... 2 Jul 2008 09:49
First  |  Prev |  Next  |  Last
Pages: 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361