View Full Version : python answers


Pages : 1 2 3 4 [5] 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91

  1. Array Problem
  2. Connecting to a Mysql database using Active Python (Windows Vista)
  3. How to make a sort function?
  4. How to update a GUI dynamically?
  5. Creating MS Word documents
  6. very simple string to list function
  7. file to nested list
  8. how to Running a particular funtion at a regular interval of time
  9. parse command output in variable with loop
  10. merging dictionaries
  11. Need a help on list....
  12. file to dictionary
  13. insert the values into the database using python.
  14. Moving an object by user input
  15. anyone
  16. searching for character in file
  17. A problem with my text based game
  18. Multiple file selection in Qfiledailoug
  19. urllib.urlencode multidimensional dictionary
  20. Runtime error when starting a game.
  21. How to extract a Payload data and IP addresses from a captured packet
  22. urllib2 gets 404 error cannot display after a while
  23. notification on a event
  24. pygtk closing popup - destroy function doesn't work for button
  25. How to convert a String to a Dictionary?
  26. If statement trouble
  27. intermediate python csv reader/writer question from a beginner
  28. http post and get the parameter from url
  29. pysqlite smart search
  30. debugging a while loop
  31. sum of squares of consecutive numbers
  32. random numbers in a matrix in python
  33. multiplying indeces
  34. Program freezes
  35. Invalid Syntax
  36. Copying values from one spreadsheet to another
  37. Call Java Methods from Python Script
  38. a matrix as a grid
  39. Getting a memory address
  40. how to insert images in python using mac os x
  41. Wait for Excel to calculate
  42. python and matrices
  43. make lines and circle with python
  44. How to bounce a ball within a square?
  45. Floating Point to Integer?
  46. Problem appending new class to a list of classes
  47. retrieveing data in pysqlite by user input
  48. Reading time field from excell sheet by python?
  49. GUI form Builders
  50. Square Root function
  51. Proc_open() a python script
  52. debugging a simple code.
  53. returning the 2nd value of a sublist.
  54. How to write a function to remove digits from a str
  55. installing mysqldb module in python
  56. Error Connection in MySQLdb and Python in MAC OS X.
  57. Automated form submission
  58. Using pyserial to control synchronous serial device.
  59. adding numbers together in a string
  60. How extract data from a file xml parsed with pyrxp
  61. How to execute a program in python script directory
  62. removing numbers from string
  63. access file from desktop
  64. SendKeys automation
  65. Whether Python can be used for Geograpical Information System (GIS)?
  66. button to execute debian package silent
  67. Finding text in a string
  68. Getting information from website
  69. shutil module (directory input from terminal)
  70. make a function for plotting
  71. Why does this cause KeyError: 0?
  72. Copies of Code
  73. color in python programming
  74. Error Message that I can't explain.
  75. Run python script in Firefox browser
  76. Why? UnboundLocalError: local variable 'red' referenced before assignment
  77. Pickling Unicode
  78. a command I can't find.
  79. blackjack
  80. XMLRPC binary file transfer
  81. Making a money managing program with python
  82. telit script run number
  83. Blackjack Code Help!!
  84. email attachment in python
  85. "UnicodeError: UTF-16 stream does not start with BOM"
  86. isdigit( ) not supported in PythonWin?
  87. __import__ Query
  88. Import speeds
  89. Similar programming languages?
  90. The future scope of the Python ?
  91. Happy Christmas & Happy New Year from kudos
  92. BLT Graphics
  93. Why is my wxPython code skipping steps
  94. Unknown errors, RSS feed
  95. trouble calling OpenCV cvFitLine
  96. RSS Feed Generator help
  97. Problem connecting telit gm862 module with Python
  98. list code
  99. mylist code
  100. gallons code
  101. how to convert pymedia.audio.acodec ACString to ctypes.c_char_p
  102. Forking? Calling unix commands from python
  103. How can i generate a schema inferred from an xml document using xml.dom.minidom
  104. sqlite3/python dumb question
  105. Help with this code
  106. Questions about the import ordering
  107. Creating folder browse dialogue gui
  108. Convert String Name to a variable name
  109. blackjack game
  110. name
  111. gallons
  112. Calculation of hours worked
  113. A question about "Intra-package References"
  114. Cipher/decipher program
  115. Noobie Question reg Delimited Text
  116. thumbnails in Qfilediloug using pyqt
  117. Can someone describe what these functions do?
  118. Counting pixels in image
  119. Detect song is over - wxpython
  120. Pygtk, treeview problem in the layout
  121. help- run EXE from my program
  122. Socket timeout in IronPython
  123. Deleting item of list while visting list...
  124. Problem loading vb.net dll in Python
  125. open browser using cpamie - how to maximize?
  126. PythonCard
  127. PythonCard
  128. Help with a heartbeat program
  129. python code
  130. Help me to understand and run the code
  131. Import dll
  132. need help converting decimal numbers to binary and vice versa
  133. need help converting a list into a string or vice versa
  134. Help with lists
  135. help with python code
  136. Pysqlite text data importing problem
  137. Help with tic tac toe game
  138. Some help with strings
  139. bluetooth discover
  140. Read from TXT file - Please Help
  141. File log
  142. Help! Python scripting PythonWin 2.4.1
  143. Re: Re: how to get all repeated group with regular expression
  144. Re: RELEASED Python 3.0rc3
  145. Re: RELEASED Python 3.0rc3
  146. Re: RELEASED Python 3.0rc3
  147. how to dynamically instantiate an object inheriting from severalclasses?
  148. matching exactly a 4 digit number in python
  149. __new__ woes with list
  150. initialization in argument definitions
  151. Please Help! need help creating a matrix!
  152. Re: how to get all repeated group with regular expression
  153. Re: how to get all repeated group with regular expression
  154. Building Python 2.5.2 for Itanium
  155. Re: how to get all repeated group with regular expression
  156. Custom Formatting The Output Of subprocess.Popen
  157. Need help converting text to csv format
  158. Best strategy for finding a pattern in a sequence of integers
  159. RELEASED Python 3.0rc3
  160. Re: how to get all repeated group with regular expression
  161. how to get all repeated group with regular expression
  162. Re: call an exturnal program in python
  163. call an exturnal program in python
  164. Re: Can't find Python Library packages in Ubuntu (Debian)
  165. WSDL and SSL certification
  166. strange pythoncom.com_error - it only happens once
  167. Dynamic features used
  168. How to read space separated file in python?
  169. A little comments of ctypes and construct.
  170. capacitor
  171. Re: GzipFile as a Context manager
  172. Re: F2PY: Access Fortran module data from multiple python module
  173. Re: Problem with writing fast UDP server
  174. Sending username password to a webpage
  175. Re: Python / Debian package dependencies
  176. Searching for Regular Expressions in a string WITH overlap
  177. Batch photo renaming with FTP interaction
  178. How to run a python app in the background?
  179. Re: How to get the class instance of a passed method ?
  180. Re: How to get the class instance of a passed method ?
  181. function parameter scope python 2.5.2
  182. How to get the class instance of a passed method ?
  183. How to get the class instance of a passed method ?
  184. Tools for using virtual environments and PEP 370
  185. Re: Fwd: Problem with writing a long line in a text file
  186. Python 3 __cmp__ semantic change?
  187. Re: Fwd: Problem with writing a long line in a text file
  188. SOAPpy SyntaxError
  189. C extension type gives type error in power operator
  190. Get XML tag values with Python
  191. Problem with writing fast UDP server
  192. imported method from module evaluates to None in some cases
  193. strange permission issue with nosetests
  194. Ip format
  195. Hooking windowsmessages with python
  196. Re: Two functionaly identical functions -> different results ??!
  197. RE: Why is try...except in my code not working (gzip/text files) ?
  198. [ANN] logilab-astng 0.17.4
  199. Re: Getting fractional part from a float without using stringoperations
  200. Re: Getting fractional part from a float without using stringoperations
  201. Moving file on remote server: How?
  202. Question about "global" statement
  203. Module Structure/Import Design Problem
  204. [ANN]: circuits-1.0a2 released!
  205. help with comparison
  206. Re: Exception difference 2.4 ==> 2.5
  207. Re: Quick nested loop syntax?
  208. Python / Debian package dependencies
  209. Using eval, or something like it...
  210. Re: Why is try...except in my code not working (gzip/text files) ?
  211. how to attach execute commands to button?
  212. distance between multiple locations
  213. Re: Building musical chords starting from (a lot of) rules
  214. Write a conditional branching script
  215. Re: Problem with writing a long line in a text file
  216. Re: Exception difference 2.4 ==> 2.5
  217. Designing superclasses so inherited methods return objects with sametype as the instance.
  218. Re: Exception difference 2.4 ==> 2.5
  219. Re: spam update
  220. Re: Exception difference 2.4 ==> 2.5
  221. Re: Programming exercises/challenges
  222. GzipFile as a Context manager
  223. calling python scripts as a sub-process
  224. Re: Quick nested loop syntax?
  225. Re: Quick nested loop syntax?
  226. Re: PEP 324 error
  227. Re: Inheriting frozenset gives bug if i overwrite __repr__ method
  228. broken setuptools dependencies
  229. Re: Exception difference 2.4 ==> 2.5
  230. Re: XML -> Tab-delimited text file (using lxml)
  231. Re: redirecting stdout/err to mysql table
  232. Python image library issue: domain users cannot save files?
  233. Confusing
  234. wxPython BoxSizer
  235. More elegant way to try running a function X times?
  236. Getting fractional part from a float without using string operations
  237. Inheriting frozenset gives bug if i overwrite __repr__ method
  238. Non blocking socket server and storage engine
  239. Possible bug in Tkinter for Python 2.6
  240. Python bytecode STORE_NAME
  241. python vs smalltalk 80
  242. zope vs openACS
  243. ImportError: No module named server
  244. Re: Exception difference 2.4 ==> 2.5
  245. Exception difference 2.4 ==> 2.5
  246. PEP 324 error
  247. Re: Programming exercises/challenges
  248. Re: Programming exercises/challenges
  249. Programming exercises/challenges
  250. How to deal with globals during refactoring classes into separatefiles.
  251. Re: Do a Gnuplot of a file in python
  252. file tell in a for-loop
  253. how to acces the block inside of a context manager as sourcecode
  254. Re: Class instantiation fails when passed in a file but work via lineby line interpreter
  255. Re: Class instantiation fails when passed in a file but work vialine by line interpreter
  256. redirecting stdout to mysql table
  257. Re: Class instantiation fails when passed in a file but work vialine by line interpreter
  258. Class instantiation fails when passed in a file but work via line byline interpreter
  259. spam update
  260. Cython Installation on Windows
  261. Re: setting permissions to a file from linux.
  262. setting permissions to a file from linux.
  263. [ANN] Tyrton ERP 1.0 released
  264. Need help creating the union of two lists (help a noob)
  265. Re: SHA1withRSA in python
  266. who to thank for the new RST doc format?
  267. Design By Contract in Python
  268. Re: PP3E error
  269. Re: subprocess with shared environment?
  270. subprocess with shared environment?
  271. segfault matplotlib with Python2.6
  272. Re: possible newline problems
  273. possible newline problems
  274. Re: Retrieve Custom 404 page.
  275. Retrieve Custom 404 page.
  276. regular expressions ... slow
  277. external program crashes when run through subprocess.popen on XP
  278. Re: parsing grub's menu.lst
  279. Re: Socket Programming and Data transer 'advice'
  280. Multiple equates
  281. parsing grub's menu.lst
  282. Suggestions for an education programming project
  283. compressed serialization module
  284. Will MySQLdb, the Python shim, be supported for Python 2.6 or 3.x?
  285. Re: Problems Writing =?ISO-8859-1?Q?=A3?= (pound sterling) To MSSQL Server using pymssql
  286. Installing Python2.6 on Mac Os (Leopard)
  287. Re: Problems Writing =?UTF-8?B?wqMgKHBvdW5kIHN0ZXJsaW5nKSBUbyBNUw==?==?UTF-8?B?IFNRTCBTZXJ2ZXIgdXNpbmcgcHltc3NxbA==?=
  288. Re: PP3E error
  289. Pythonwin not loading DLL, should I change extensions by .pyo or pyd?
  290. Problems Writing =?ISO-8859-1?Q?=A3?= (pound sterling) To MS SQLServer using pymssql
  291. install wxPython on windows without admin?
  292. Re: How to read fonts in python
  293. Best practise hierarchy for user-defined exceptions
  294. os.pipe and subprocess under Windows
  295. Sorting lists
  296. Uninstall one of two Python's
  297. Python3 - it's awesome
  298. svg and html
  299. Re: PP3E error
  300. Re: end child process when parent dies (on Unix)
  301. PP3E error
  302. RE: [Py2exe-users] py2exe 0.6.9 released
  303. Python and Its Libraries--Who's on First?
  304. Win 98 with Python 2.5--matplotlib and Numpy problem
  305. C:\Python\Scripts\ [*.file]s what are they, why
  306. Dictionary value is property()
  307. Solving Python guessing number game
  308. Re: [Py2exe-users] py2exe 0.6.9 released
  309. document/image viewer
  310. Very simple WSGI question
  311. ANN: PySmell 0.7.2 released, many TextMate improvements
  312. C extension - new and init functions
  313. Midi manipulation
  314. Re: Customizing sequence types
  315. Re: Customizing sequence types
  316. Newbie code review of parsing program Please
  317. python script to act as list server
  318. Does python is suitable for enterprise cluster management?
  319. re.match and non-alphanumeric characters
  320. Have you ever used pydiction?
  321. Customizing sequence types
  322. Win 98 --Is 2.4.x The last version of Python for It?
  323. best gcc version for Python
  324. Is this optparse object abuse?
  325. [urllib2] No time-out?
  326. python 2.6, MS manifest and distutils
  327. Beginner Python-er !!!Need help urgently !!!
  328. py2exe 0.6.9 released
  329. about escape string store in mysql
  330. Palette-mode PNG images
  331. pyspread 0.0.10 released
  332. Need help in understanding a python code
  333. PP3E error
  334. Re: Two instances share an attribute
  335. Two instances share an attribute
  336. Fasta file
  337. New python user need help
  338. Generators and their next() and send() methods
  339. [ANN] TZMud 0.7
  340. Regular expression and exception
  341. Comparing value in two dictionaries?
  342. Efficient custom checksum of one-dim numpy arrays of uint16
  343. Suggest a Labs feature
  344. english
  345. Re: Redirect Graphical output
  346. Optional parameter object re-used when instantiating multiple objects
  347. don't get JPE (Java Python Extension) compiled.
  348. Good practice when writing modules...
  349. AttributeError
  350. How to eliminate quotes around string field written to a file.
  351. Re: web site feedback page using python for sending email
  352. How To Split A Sentence Into Words And Display Each Word Separately
  353. Split function to split sentence into words
  354. Re: Unsubscriptable object when using Exec
  355. ANN: ActivePython 2.6.0.0 is now available
  356. C Function Pointer Wrapping Example not working
  357. object creation
  358. ElementTree XML Namspace
  359. Re: special editor support for indentation needed.
  360. Limiting output for loop
  361. Re: Multiprocessing vs. [Pyro, RPyC]
  362. Re: Multiprocessing vs. [Pyro, RPyC]
  363. Multiprocessing vs. [Pyro, RPyC]
  364. web site feedback page using python for sending email
  365. Question: what to do, my Python is getting crazy
  366. Re: special editor support for indentation needed.
  367. special editor support for indentation needed.
  368. Tkinter event binding
  369. find() a larger string within a smaller string
  370. Fw: automatic reload
  371. Re: Building musical chords starting from (a lot of) rules
  372. Re: Building musical chords starting from (a lot of) rules
  373. Building musical chords starting from (a lot of) rules
  374. automatic reload
  375. SWIG: C++ and Python/ vector<string>
  376. Can I check if I'm running from the interpreter prompt?
  377. Determine the best buffer sizes when using socket.send() andsocket.recv()
  378. C or C++ with Pyparsing?
  379. running same script on same data on two different machines -->different result
  380. Proxy + cookie: urllib2? httplib2? Other?
  381. urllib2 - safe way to download something
  382. Re: using "private" parameters as static storage?
  383. Clustering the keys of a dict according to its values
  384. xlutils 1.1.0 released!
  385. Windows PE and Python 2.6 (Side-by-Side error)
  386. Identifying unicode punctuation characters with Python regex
  387. How to get name of list
  388. [UnicodeEncodeError] Don't know what else to try
  389. Re: setuptools for 2.6 and windows?
  390. Win98, Python 2.5 and plotmatlib
  391. Re: using "private" parameters as static storage?
  392. Re: using "private" parameters as static storage?
  393. Re: using "private" parameters as static storage?
  394. email notifier question ??
  395. Re: using "private" parameters as static storage?
  396. Re: using "private" parameters as static storage?
  397. Re: Little direction please Python MySQL
  398. Code generation architecture question
  399. To throw or to throw not?
  400. How to use a contiguous memory location of n bytes in python
  401. Chinese antique
  402. Re: ctypes shared object FILE*
  403. Python IF THEN chain equivalence
  404. Documenation for yum and rpmUtils modules
  405. Inno Setup Question
  406. Avoiding local variable declarations?
  407. Re: What is the best Python GUI API?
  408. Unable to read/do not receive any data from com port using pyserial
  409. Re: using "private" parameters as static storage?
  410. Help for creating a hangman game
  411. Re: unittest exits
  412. Installing packages
  413. unittest exits
  414. Re: using "private" parameters as static storage?
  415. Re: What is the best Python GUI API?
  416. Re: using "private" parameters as static storage?
  417. Re: using "private" parameters as static storage?
  418. Re: using "private" parameters as static storage?
  419. Re: Text based screens without ncurses
  420. using "private" parameters as static storage?
  421. Text based screens without ncurses
  422. Re: Text based screens without ncurses
  423. win32com and DispatchWithEvents
  424. Re: potential bug in UnixMailbox method of Python
  425. Re: email questions
  426. Re: Problem with sqlite3 cursor and imbricated for loop
  427. The return code
  428. How to "reduce" a numpy array using a costum binary function
  429. multiple breaks
  430. [Regex] Search and replace?
  431. Re: need to suspend/resume a child thread
  432. Re: Single-instance daemons
  433. Python Wrapper Tools; a Performance Study
  434. Re: memory mapped tar file contents
  435. Easy caching
  436. what should we use instead of the 'new' module?
  437. Re: concurrency program design stackless python tasklet or pythonthread?
  438. Re: memory mapped tar file contents
  439. memory mapped tar file contents
  440. need to suspend/resume a child thread
  441. PIL's ImageFile Parser and PNG's
  442. Re: duck-type-checking?
  443. Re: Single-instance daemons
  444. Single-instance daemons
  445. Re: duck-type-checking?
  446. Re: [Python-Dev] Python 2.5.3: call for patches
  447. Re: duck-type-checking?
  448. Passing Arrays (maybe lists) from Python to C
  449. Re: duck-type-checking?
  450. Re: duck-type-checking?
  451. Re: duck-type-checking?
  452. Re: duck-type-checking?
  453. Re: duck-type-checking?
  454. pygoocanvas binaries for windows?
  455. Using the result of type() in a boolean statement?
  456. loading modules, metaclasses, chicken & eggs
  457. Re: Problem with sqlite3 cursor and imbricated for loop
  458. Re: Problem with sqlite3 cursor and imbricated for loop
  459. duck-type-checking?
  460. Re: Problem with sqlite3 cursor and imbricated for loop
  461. [Array] Finding index that contains part of a string?
  462. Re: Problem with sqlite3 cursor and imbricated for loop
  463. Re: return a value to shell script
  464. Re: How can a function know what module it's in?
  465. return a value to shell script
  466. Re: Problem with sqlite3 cursor and imbricated for loop
  467. Re: Problem with sqlite3 cursor and imbricated for loop
  468. Re: Problem with sqlite3 cursor and imbricated for loop
  469. int() and leading zeros in Python 2.6
  470. Help
  471. Search txt file for user input.
  472. fputs in tp_print crashes under Win32
  473. Does Python mess with CRLFs?
  474. Upcoming Conference
  475. help me~!!!'tuple' object has no attribute 'compile'
  476. Where can I get Lucid Toolkit?
  477. Re: [Python-Dev] Python 2.5.3: call for patches
  478. inspect.findsource problem with llinecache
  479. Re: SHA1withRSA in python
  480. Re: How can a function know what module it's in?
  481. How can a function know what module it's in?
  482. cannot pickle object returned by urllib2.urlopen()
  483. Re: python bug when subclassing list?
  484. Re: Problem with sqlite3 cursor and imbricated for loop
  485. Re: python bug when subclassing list?
  486. baa ob baa
  487. How to make arrays from Lists
  488. Problem with sqlite3 cursor and imbricated for loop
  489. best python unit testing framwork
  490. Re: Where to locate existing standard encodings in python
  491. Wing IDE 3.1.5 released
  492. sys.stdout, urllib and unicode... I don't understand.
  493. Parsing: request for pointers
  494. Simple question about Python lists
  495. Re: [Python-Dev] Python 2.5.3: call for patches
  496. Printing a "status " line from a python script
  497. subprocess communication, exec()
  498. Close access to the base class public methods
  499. SHA1withRSA in python
  500. Are there any FOSS Python Single-Sign-on Servers?
  501. Re: concurrency program design stackless python tasklet or pythonthread?
  502. Re: [Python-Dev] Python 2.5.3: call for patches
  503. f2py usage problem
  504. Bug in PIL 1.1.6
  505. [ANN] sqlite 0.8.3
  506. Final "Introduction to Python" of 2008
  507. Re: Final Python Class of 2008
  508. Project layout / Import files from different subdirectories
  509. Re: concurrency program design stackless python tasklet or pythonthread?
  510. concurrency program design stackless python tasklet or python thread?
  511. Plot for sale
  512. hello
  513. Final Python Class of 2009
  514. [Newbie] Strange output from list
  515. Python 2.5 and sqlite
  516. Re: Class v. Instance variables in Python
  517. Stuck with wxPython - first time with GUI
  518. Re: Class v. Instance variables in Python
  519. RE: Remote control of firefox (mozilla) from a python program
  520. Call-By-Object
  521. Memory error due to the huge/huge input file size
  522. First post, recursive references with pickle.
  523. IBM integer and double formats
  524. disable ctrl-P in idle?
  525. Sync paramstyle between sqlite and mysql
  526. =?windows-1256?B?zdXR7ccg5NvjySDHzePPIM3h4+wg3ewg3e3h4yA=?== ?windows-1256?B?x9PdINrh7CDH4cfS2sfM?=
  527. wildcard match with list.index()
  528. Remote control of firefox (mozilla) from a python program
  529. Tone channel BBC World
  530. Re: Python fish simulation?
  531. Python fish simulation?
  532. Re: The London Fetish Week Survival Guide for North Americans
  533. C Module question
  534. Re: Pyro "could not find NameServer"
  535. Threading on an old machine
  536. Pyro "could not find NameServer"
  537. xlutils 1.0.0 released!
  538. Any of you make Python Programs for everyday tasks?
  539. pysqlite install error on hp ux (ld: Can't find library for-lpython2.5)
  540. parsing non-ascii characters
  541. Re: Where to locate existing standard encodings in python
  542. Re: Where to locate existing standard encodings in python
  543. Re: Where to locate existing standard encodings in python
  544. Re: Spawning a new UI process
  545. Re: Where to locate existing standard encodings in python
  546. why does this call to re.findall() loop forever?
  547. Re: Spawning a new UI process
  548. Re: why am I not allowed to redefine a class ?
  549. Logging thread with Queue and multiple threads to log messages
  550. SocketServer.ThreadingTCPServer accepts clients outside server_forever