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. Find directory name of file?
  2. stumped by tricky logic
  3. Tkinter PhotoImage won't show ;-(
  4. Tk.quit() now working!
  5. adding current date to a file name in a python script
  6. Using bytecode, not code objects
  7. Builder Pattern
  8. Trouble opening files
  9. Data Crunching and Charting....
  10. Python loading library containing embedded python...
  11. Decoupling the version of the file from the name of the module.
  12. Calling C++ function from python script
  13. String Manipulation Help!
  14. User login system
  15. Calling DLL with several data fields in output params
  16. Curses won't update screen - Solved!
  17. MYSql, CGI web page search code not working
  18. curses won't refresh screen
  19. General Type Checks (int, str, tuple, etc.)
  20. textvariable help
  21. SLUT distibution mangled?
  22. File date attribute
  23. Python vs C for a mail server
  24. Returning a value from code string
  25. How do I tell if I'm running in the PyWin interpreter?
  26. cookielib extracting a cookie value as a string
  27. indentation messing up my tuple?
  28. Howto? popen4("python -u script.py") redirected to a gui window
  29. Efficient Find and Replace
  30. VB to Python migration
  31. py-ext: casting pointers to ints on 32bit and 64bit systems
  32. jython/python: read file and allow read to be terminated
  33. Printing HTML
  34. os.path.join - Isn't working
  35. We have zipimport, how about dllimport?
  36. Logging into a website using urllib2
  37. How do I dynamically create functions without lambda?
  38. writing large files quickly
  39. SOAPpy
  40. "Python Drive Name" is the search, what is the question?
  41. decorators to add test* TestCase methods
  42. Problem with odbc (pywin32) and unicode
  43. problems with documentation
  44. matplotlib legend problem
  45. str as param for timedelta
  46. Large XML Document Processing
  47. Dictionary inserts into MySQL (each key in its own field)
  48. any way to customize the is operator?
  49. "Intro to Pyparsing" Article at ONLamp
  50. Strange behavior of int()
  51. Python String Substitution
  52. generating method names 'dynamically'
  53. ODBC
  54. Running a DOS exe file from python
  55. Automatic Logging
  56. 2-dimensional data structures
  57. How to run a dos executable from python
  58. Changing numbers into characters using dictionaries
  59. loading modules in debug
  60. jython how to use Fit and Fitnesse
  61. Question about isinstance()
  62. exporting multiple modules from one dll?
  63. Are there memory limits for external C modules?
  64. mod_python, dates, strings and integers
  65. Ovum quote about Python
  66. Start a python interactive shell from python.
  67. Tkinter listener thread?
  68. replacing \n characters in a hash
  69. Match First Sequence in Regular Expression?
  70. Nitpicking - slightly misleading traceback
  71. isplit
  72. en la misma linea
  73. While loop - print several times but on 1 line.
  74. good library for pdf
  75. history
  76. Assigning to self.__class__
  77. How to handle two-level option processing with optparse
  78. regular expressions, unicode and XML
  79. Problem compiling Tkinter program with bmp images using py2
  80. ImportError: No module name MySQLdb
  81. Sample code to handle cookie based login/password forms automatically?
  82. List of files to be opened
  83. Executing script with embedded python
  84. while/break - The pure-python FSM implementation to Rule Them All.
  85. float formatting
  86. Help with fast tree-like structure
  87. Convert a long XML string into indented format
  88. remote file
  89. Python and XML Schema
  90. exception given by minidom.parse
  91. win32com early binding problem
  92. Best way to extract an item from a set of len 1
  93. Fast generation of permutations
  94. Trying to understand logging.Filter
  95. ActivePython & SSL
  96. writing arrays to binary file
  97. Mining strings from a HTML document.
  98. What's wrong?
  99. Is there a way to profile underlying C++ code?
  100. logging into secure website with script
  101. Dynamic pull down menus (CGI)
  102. Codec Search Function
  103. Possible memory leak?
  104. CTI library interest?
  105. Converting date to milliseconds since 1-1-70
  106. Pulling numbers from ASCII filename not working
  107. am i using findNextSibling wrong?
  108. customized instance dictionaries, anyone?
  109. Creating a more random int?
  110. a 32 bit number to integer
  111. PyAmazon and Book Descriptions
  112. "wxPython in Action" book
  113. append to the end of a dictionary
  114. ZODB and Zope on one Linux machine, how?
  115. Unified web API for CGI and mod_python?
  116. PyWeek Challenge #2: write a game in a week
  117. xHTML/XML to Unicode (and back)
  118. Show content of an external page in plone.
  119. socket examples
  120. PyGTK Notebook button_press_event connection
  121. How to enable rotor in python 2.4.2?
  122. Using non-ascii symbols
  123. os.unlink() AND win32api.DeleteFile()
  124. Weekly Python Patch/Bug Summary (Revised)
  125. file_name_fixer.py
  126. Suggestions for workaround in CSV bug
  127. obtain client ip address from SimpleXMLRPCServer ?
  128. problem getting started with pyDB2
  129. How to build Boost.Python
  130. logging module question
  131. trying to get hash from os.urandom
  132. C Extended module init/cleanup
  133. trying to use swig for the first time
  134. XML + Elementree + (ZODB or Durus) experiments?
  135. Oddities of Tkinter
  136. Loading a Python collection from an text-file
  137. wxPython layout problem
  138. Redirecting stdin/stdout to self
  139. Problems with import of modules
  140. Backreferences in python ?
  141. wxPython or wxWidgets
  142. Dr. Dobb's Python-URL! - weekly Python news and links (Jan 23)
  143. Testing for the presence of input from stdin.
  144. Pyro problems...
  145. Executing python script in non-interactive mode on cygwin (windows)
  146. Some thoughts on garbage collection
  147. Dr. Dobb's Python-URL! - weekly Python news and links (Jan 23)
  148. Cross-module imports?
  149. Numeric Entry in Tkinter
  150. converting wiki markup to html (or xml)
  151. Making dir's
  152. calling python from C#...
  153. yet another list compr. suggestion
  154. Multiplication Station (wxPython/PyGame/OpenSource GPL)
  155. Tkinter Mouse Cursor
  156. Concatinating PDF files
  157. Catching very specific exceptions
  158. OpenGL
  159. Background/foreground on disabled Tkinter.Entry
  160. Help needed with Weave and XP and MSVC 6.0
  161. Some thougts on cartesian products
  162. new.instancemethod as a form of partial()
  163. how to run python scripts on a website
  164. Embedding matplotlib into page GUI builder
  165. Compiling cx_Oracle and LD_LIBRARY_PATH
  166. Regular expressions: recursive patterns and callouts
  167. The "real" name
  168. Error in Python documentation
  169. "Dynamic" website content
  170. [Python for .NET] Any plans for supporting CLR2.0?
  171. ValueError: need more than 3 values to unpack
  172. New Bee
  173. Python shell interpreting delete key as tilde?
  174. Read from Serial Port
  175. Numarray, numeric, NumPy, scpy_core ??!!
  176. Why optparse wont import?
  177. saxutils.XMLGenerator and CDATA
  178. python & camera
  179. Extended List Comprehension
  180. PyXML: SAX vs. DOM
  181. Problem with running external process
  182. zipfile and file permissions
  183. Firefox bug in webbrowser module on Ubuntu?!
  184. Bittorrent RPM Dependency Problem
  185. Redirecting standard out in a single namespace
  186. Concurrency, I guess
  187. accessing hardware information using python
  188. Using freeze or other application to create linkable dynamic librariesfor c++ applications?
  189. Simultaneous connections
  190. Finding the relative path of a file from a dir
  191. DB API and thread safety
  192. CSV Parser and unusual (?) linesterminator - misunderstanding?
  193. Prevent Tkinter Canvas from resizing
  194. question about dictionaries
  195. weakref and memoizing
  196. Is possible to combine handle_data and regular expressions?
  197. Determining thread id on Linux
  198. Python code written in 1998, how to improve/change it?
  199. wxPython - is it possible to determine List Box item under a right click?
  200. XML SAX parser bug?
  201. add pexpect to the standard library, standard "install" mechanism.
  202. Zooming Idle window
  203. list comprehention
  204. wxPython - x-platform menu bar color changes
  205. reportlab - ttf justify
  206. simple pythonpath query
  207. Decimal vs float
  208. Multiple modules with database access + general app design?
  209. Efficient implementation of deeply nested lists
  210. Python on an embedded platform
  211. tools to manipulate PDF document?
  212. why is my hash being weird??
  213. Need Help with Python/C API
  214. web crawling.
  215. Returning a tuple-struct
  216. A learning exercise...yet another Sudoku solver with GUI
  217. verify a user
  218. socket.ssl with key files?
  219. getopt.gnu_getopt: incorrect documentation
  220. Pythonise this algorithm ?
  221. understanding stat module names
  222. PyCon Vs. Europython
  223. Duplicate entries in a matrix
  224. A simpler more pythonic approach to adding in
  225. Problem getting MoinMoin going
  226. Shell-like Decorators
  227. Is the Python binding for ncurses unicode capable?
  228. MySQLdb - Query/fetch don't return result when it *theorically* should
  229. how to find not the next sibling but the 2nd sibling or find sibling "a" OR sinbling "b"
  230. a more precise re for email addys
  231. list(...) and list comprehensions (WAS: Arithmetic sequences in Python)
  232. Determine the IP address of an eth interface
  233. Clicking at a certain x,y position in python? (Mac OSX)
  234. use cases for a defaultdict
  235. CGI module callback / upload hook
  236. distutils user questions
  237. Guessing _charset for MIMEText ?
  238. Threads sleeping all instead of just one.
  239. pythonic way of making a config module
  240. Addressing the modem via pyserial
  241. Registering COM python based components when not admin
  242. MSSQL LIKE and IN statements in ADO problem
  243. Dr. Dobb's Python-URL! - weekly Python news and links (Jan 18)
  244. Retaining Unix EOL when reading/writing in windows
  245. Uncompressing TIFF files directly in Python
  246. How to set a wx.textctrl can editable or readonly?
  247. Is there a maximum length of a regular expression in python?
  248. ldap passwd need help
  249. Puzzled by py.test output
  250. mod_python apache directives
  251. Python embeding error!!
  252. Can a simple a==b 'hang' in and endless loop?
  253. Debugging python 2.2 code with Pydev
  254. extending python: which python code calls the c iterator methods?
  255. making objects unassignable "read-only" (especially when extending)
  256. Being unjust
  257. 10060, 'Operation timed out'
  258. Funny! More offers to select a search engine!
  259. Python 2.4, Win XP Pro and Tix
  260. search multiple dictionaries efficiently?
  261. check to see if value can be an integer instead of string
  262. Another method of lazy, cached evaluation.
  263. Dr. Dobb's Python-URL! - weekly Python news and links (Jan 18)
  264. Ordering numbers
  265. pythonw problem?
  266. Converting TIFF files to PDF and/or JPEG
  267. Using CGI to interface with an XML-RPC server
  268. Bounce messages
  269. time scheduling in ptyhon
  270. chi-squared tests in python?
  271. Looking for standalone Python
  272. Find and slice problem
  273. Convert Active Directory Object to string
  274. rational numbers
  275. forced spaces when inserting a variable between strings
  276. EOF occurred in violation of protocol
  277. Addressing a COM port from Python
  278. _bsddb on NetBSD
  279. SMPP implementation in python
  280. Testing complex new syntax
  281. magical expanding hash
  282. Problem with FTPLib and incomplete files on some downloads
  283. Running DOS App on win32 via python over ssh
  284. Mutable bytes type
  285. embedding python: simulating sequence get item / set item methods
  286. Web application design question (long)
  287. Decimal ROUND_HALF_EVEN Default
  288. StringVar() IntVar() vs. Dictionary of same
  289. Implied instance attribute creation when referencing a class attribute
  290. Parsing files -- pyparsing to the rescue?
  291. Shrinky-dink Python (also, non-Unicode Python build is broken)
  292. zipfile decompress problems
  293. Space left on device
  294. Space left on device
  295. Extracting results from a large hotshot profile
  296. recursively removing files and directories
  297. Python and Word
  298. Trying to generate a list of the subclasses of C
  299. boost.python on Debian
  300. Linking to Python for Windows CE
  301. Socket Programming HOWTO example
  302. Removing a substring from a string
  303. strange (and orrible) behavior in gtk.CellRendererCombo using pygtk
  304. Class __init__ trouble
  305. FrOSCon 2006 - Call for Papers
  306. Arithmetic sequences in Python
  307. ConfigParser: writes a list but reads a string?
  308. Can one class have multiple metaclasses?
  309. Preventing class methods from being defined
  310. proposal: another file iterator
  311. oss mixer usage
  312. instance attributes not inherited?
  313. Clear Thinking Power for Comp Developers
  314. socket.gethostbyaddr() question
  315. Replacing bidirectional unicode strings/regexps
  316. urllib2.urlopen Progress bar
  317. PEP 309 (Partial Function Application) Idea
  318. (Different) Try Python Update
  319. [help] how to generate a empty ".MDB" file using python
  320. Listing partitions (on win32)
  321. On Numbers
  322. Just want to walk a single directory
  323. SQLObject connection pooling
  324. SQLObject connection/transaction blowing up
  325. Limitting the Contents of an Entry Widget in Tkinter
  326. Recursive tree list from dictionary
  327. Dynamically changing button text in python
  328. Getting better traceback info on exec and execfile - introspection?
  329. Running python apps from within python apps
  330. WSGI
  331. filtering DNS proxy
  332. I've started new blog
  333. two questions about thread
  334. problem of types:
  335. full screen gui
  336. Pythonic wrappers for SQL?
  337. Tomcat username and password2
  338. Sudoku solver: reduction + brute force
  339. httplib or urllib2 tomcat username and password
  340. Marshal Obj is String or Binary?
  341. Extend&Embed : how to pass user-defined object to scripts
  342. XML vs. cPickle
  343. timeout a process
  344. import module and execute function at runtime
  345. Why can't I "from module import *" except at module level?
  346. Python Desktop Framework?
  347. XEmacs python-mode question
  348. return values of os.system() on win32
  349. paypal SOAP API from ZSI or SOAPpy?
  350. ssl question
  351. PDA Implementations
  352. Spanish Translation of any python Book?
  353. ldap .passwd method, need help
  354. Changing fill in tkinter
  355. Newcomer question wrt variable scope/namespaces
  356. Limiting the size of List and making it Homogeneous
  357. Creating shortcuts?
  358. FW: Options enabled under optimization
  359. HP open source printer drivers are in Python
  360. Why is there no post-pre increment operator in python
  361. decode unicode string using 'unicode_escape' codecs
  362. How to get Windows system information?
  363. time.strftime() NOT producing RFC2822-compliant Date strings?
  364. Retrieve a GIF's palette entries using Python Imaging Library (PIL)
  365. Remote Function Call
  366. Conditionals stored as text to translate to real compares
  367. Looking for a particular http proxy...
  368. Converting a string to an array?
  369. how do "real" python programmers work?
  370. File Navigation using python
  371. Adding an extension class using C++
  372. Help with super()
  373. ANNOUNCE: OSCON 2006 (Python 14 Conference) Call for Proposals
  374. atexit + threads = bug?
  375. Freezing
  376. Python and Solaris 10
  377. Placing graphics & text on printed page - jan06call.jpg (0/1)
  378. How to remove subset from a file efficiently?
  379. How can I make a dictionary that marks itself when it's modified?
  380. Widget that displays a directory tree?
  381. Link List in Python
  382. XML Writer in wxPython
  383. Asking for help effectively
  384. Template language with XPath support for source code generation?
  385. Embedding Python: Creating Python Class from Application
  386. ajax python module??
  387. Extending & Embedding Python
  388. Can't compile
  389. help on eval()-like but return module object
  390. jython base64.urlsafe_b64xxx
  391. python create mail
  392. setup.py vs autoconf install/uninstall,
  393. How to hide output characters on Windows
  394. Hiding input charachters
  395. different versions for 2.3.4 documentation
  396. How can I create a dict that sets a flag if it's been modified
  397. can't solve an exercise-help me with it
  398. Exception Handling
  399. can't import module in ASP
  400. Can dictionaries be nested?
  401. void * C array to a Numpy array using Swig
  402. Psycopg2 date problems: "Can't adapt"
  403. Help me in this please--is Python the answer?
  404. flatten a level one list
  405. Python on WinXP Embedded
  406. cross compile python for linux-ppc-604
  407. Python+tkinter errors on OSX
  408. creating dictionarie names, using variables?
  409. Accessing Windows file metadata?
  410. Linux NETLINK Sockets
  411. Timeout at command prompt
  412. Programming Eclipse plugins in Jython?
  413. batch tiff to jpeg conversion script
  414. How do initial login/password before can download web file with urllib?
  415. Python Scripts to logon to websites
  416. The effbot does not exist!
  417. Problems with WX and program loop...
  418. Memory Profiler
  419. How can I determine an HTTPMessage ?
  420. MVC in wxPython HELP!
  421. PyConn--anyone needing roommates?
  422. Optimal Control Algorithms in Python
  423. Python script running as Windows service: Clean shutdown
  424. for OpenOffice:how acces to file->properties->user defined without xml solution
  425. how to improve this simple block of code
  426. exec a string in an embedded environment
  427. Maximum List size (item number) limit?
  428. PyDev 0.9.8.6 released
  429. Bug in struct.pack?
  430. Restart process with SIGHUP
  431. python-soappy
  432. Change Gateway Programmatically
  433. File Paramaterized Abstract Factory
  434. A bug about unicode string in Python 2.4?
  435. A bug for unicode strings in Python 2.4?
  436. Reading from input file.
  437. copying a file from windows file system to ext2 and ext3
  438. Cross Compile Mips / Linux
  439. How can I test if an argument is a sequence or a scalar?
  440. Dr. Dobb's Python-URL! - weekly Python news and links (Jan 10)
  441. Interned Strings
  442. Where to report Python bug?
  443. COM automation, Internet Explorer, DocumentComplete event
  444. An app without GUI
  445. Opening for Python Professionals
  446. Augmented generators?
  447. String question - find all possible versions of a person's firstname
  448. could not find module vtk in MayaVi
  449. Help needed with controlling the python parser
  450. urllib.urlopen and https question
  451. Regex help needed
  452. Python and location of .so files?
  453. Efficient mechanism for str.startswith on a set.
  454. Client side web programming
  455. XMLBooster 2.10.1 supports Python
  456. Mysterious non-module A.sys
  457. syntax error
  458. try: except <never>:
  459. AW: Calling foreign functions from Python? ctypes?
  460. PyDev 0.9.8.6 released
  461. Printing Python Postscript
  462. Implementing Tuples with Named Items
  463. Maximum List size (item number) limit?
  464. another docs problem - imp
  465. Unicode Question
  466. Testing MySQLdb connection object
  467. Why keep identity-based equality comparison?
  468. thread hangs when using subprocess only in specific circumstances
  469. how to test for a dependency
  470. Help with dbm TypeError
  471. Unicode & Pythonwin / win32 / console?
  472. Help with dbm TypeError
  473. Problema con le RE....
  474. How to create a script that list itself ?
  475. Problem compiling Postgresql-7.3.4 + Python
  476. How login & download file from remote web site? Passwords a problem?
  477. Failing unittest Test cases
  478. PyQt calling an external app?
  479. email modules and attachments that aren't there
  480. Problem with writing an interface for system() call...
  481. return a default form with BaseHTTPServer
  482. Getting the start / end of string in regex through match objects
  483. Can't import Tkinter module.
  484. Help with dynamic attributes.
  485. py2exe and Amara
  486. URL 'special character' replacements
  487. Perhaps Python can do this better ?
  488. testing units in a specific order?
  489. CGI errror in (only in) IIS 6.0 server 2003
  490. Get path of a class
  491. py vs pyc
  492. using livewires in py2exe?
  493. Pliant language
  494. CGI errror in (only in) IIS 6.0 server 2003
  495. .py vs .pyc
  496. CGI errror in (only in) IIS 6.0 server 2003
  497. Determination of disk types
  498. livewires to py2exe problem :(
  499. cant get py2exe exe file to work
  500. Why it doesn't work?
  501. Do you have real-world use cases for map's None fill-in feature?
  502. string to datetime parser?
  503. email.Utils.parseaddr() gives arcane result
  504. Why does Rpy/R-plot work under PythonWin, but not under commandline/IDLE?
  505. is there any lib can split string in this way?
  506. Real-world use cases for map's None fill-in feature?
  507. Building Pywin32 source code?
  508. Newline at EOF Removal
  509. total newb here
  510. project-like or plan extension?
  511. 2D canvas for GTK
  512. Tkinter & GTK in the same application?
  513. decorator question
  514. What is the slickest way to transpose a square list of lists (tuple oftuples)?
  515. Multiway Branching
  516. PIL.Image.frombuffer/string ... who do data using?
  517. Sockets on Windows and Mac
  518. how can I use socket.ssl in python
  519. use browser setting for internet
  520. BayPIGgies: January 12, 7:30pm (Google)
  521. Stackless Python
  522. How to format and print text.
  523. PyQt Access Violations
  524. Optional typecheck
  525. wxPython installation woes on OpenSUSE
  526. Double Click mouse event problems
  527. Help wanted with md2 hash algorithm
  528. Double Click mouse event problems
  529. Double Click Mouse Event in Tkinter
  530. Renaming files in ftplib
  531. Copying files between different linux machines
  532. Converting milliseconds to human amount of time
  533. Viewing Binary Data
  534. os.environ['PATH'] missing
  535. Detecting Python Installs from the Windows Registry
  536. Returning Values from Bash Scripts
  537. PIL implementation
  538. download full sites?
  539. BeautifulSoup fetch help
  540. Help Dialogue
  541. Calling foreign functions from Python? ctypes?
  542. question about mutex.py
  543. libpython2.4.so
  544. Help Please: 'module' object has no attribute 'compile'
  545. bug in Tkinter (FIX)
  546. psexec and os.popen help
  547. JINI service -- Python client
  548. Converting milliseconds to human time
  549. Missing libpython2.4.so during build of python 2.4.2 on AIX 5.1
  550. Copy an Object (Again?)