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