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 to solve the syntax error in beautifulsoup
  2. MySQL Select, from tuple to list
  3. Using ctypes in Python - arrays and derived types from Fortran 90
  4. Comparing the date in a file to present date
  5. Trying to bin one column and sum the other simultaneously. Please help.
  6. How to Validate IPv4 address in Python using Regular Expression.
  7. Python transfer an object between lists
  8. Infinite loops and string comparision in a lists
  9. objects not working right: attribute error
  10. Script as .pyw don't start...
  11. Making Circles smaller via a loop
  12. An endless loop
  13. string as variable
  14. Float arithmetics
  15. Global Variables
  16. to check existence of list in list of lists
  17. Selecting numbers in a list to be added together
  18. problem in running script file of modeller
  19. tab error
  20. Help with Classes
  21. How to return a global variable from a function
  22. How to replace dots in Python?
  23. Python and GM862 (import Math library)
  24. Print string at an address in python.
  25. Xls to Pdf
  26. Combine a list of strings
  27. Python surface error? Why?
  28. How to get PMW counter to call a function when value changes
  29. Sort items in UltimateListCtrl
  30. how to return the characters in string "s" in outermost pair of matching quotes
  31. AttributeError: 'RequestWithUserAttribute' object has no attribute 'translate'
  32. eval function
  33. regular expressions
  34. histogram in python
  35. Abaqus 6.9-2 pde
  36. Need help converting a list of strings to a dictionary
  37. how to count letters only in a string
  38. To search for text in file and then returns the two lines following it
  39. Error message...object cant find attribute
  40. (python) for some reason file.readline() is only reading every second line
  41. Dijkstra's Algoithm
  42. Syntax error in a while loop
  43. the str.split(sep,maxsplit) function
  44. Python urlparse how to edit parameter values?
  45. How do I call a user defined variable from another module... :P
  46. What is the difference between "command" option and bind method?
  47. Python MySQLdb
  48. Easiest question you'll get all day, Python math related
  49. How can i set a DateTimePicker to read only?
  50. AttributeError: 'module' object has no attribute 'randint'
  51. Advice for non programmer looking to learn Python
  52. Combine two lists
  53. pythondll failed
  54. Looping issues
  55. Updating values in nested dictionary
  56. Telit GPRS using GE865-QUAD Python
  57. Positioning frames on screen
  58. Python Error: [Errno 13] Permission denied:
  59. How to write an animation (Matrix) in python
  60. While statement returns false even if it's true
  61. Ping using socket module in Python
  62. matrix in python
  63. Draw five times on one window with for loop
  64. follow-up: python function taking scalar or list argument
  65. can i draw graph in xul?
  66. watsup Windows Application Test System Using Python
  67. webpage points to python file upon form submit
  68. How to send automatic emials in python
  69. What are some reasons I might run into assertion failure during write file operations
  70. how to parse a tab delimited text file into separate lists
  71. removing pythondll
  72. AttributeError: 'module' object has no attribute 'getElementsByTagName'
  73. Upload file. Sql with python in Oracle
  74. change a variable thru a dialog box
  75. parse the html to get tr in python
  76. excel in python
  77. Python Upside Down Triangle using For loop
  78. JES Problem
  79. Tk Search widget in a Lbox
  80. comparison of two dna sequences
  81. Python library for iPod support
  82. xrange and range Which one is faster and why?
  83. path modules with windll in Python
  84. tab in a print statement in Python
  85. about max() and min()
  86. Query in SQLAlchemy
  87. socket connection error 10061
  88. Tk Calendar widget problem
  89. Problem in Installing SRILM package
  90. how to delete the rows with the delete button and how to edit with edit button
  91. I need to split an inf with some specified values.
  92. Questions on installing numpy
  93. scrolled canvas ,strange problem
  94. to calculate the universal distribution of continued fraction expansion
  95. DOMImplementationLS' has no member named 'createDOMWriter'
  96. What is wrong with my little 20-line program?
  97. http proxying python and Mechanize
  98. how to mount from python 2.6
  99. Button Label change on EVT_BUTTON in wxpython!!!
  100. ValueError: setting an array element with a sequence
  101. Error: 'als15.py' is not recognized as an internal or external command
  102. How to convert degrees, min, secs to decimal degrees with Python
  103. strange partial function aciton
  104. Calling a web service using python
  105. why no sound?
  106. what's the difference between mainloop and app.mainloop and root.mainloop?
  107. Tkinter event handlers and command callbacks
  108. how can i call dll in python
  109. "can only concatenate list (not "str") to list"
  110. Question about how to solve this problem (Change char)
  111. How to read specific item in a list
  112. building ssl extension
  113. pythond11 failed
  114. Translation and comparison of user input, to a list using a dictionary
  115. how to test SMS for Gt863-py module
  116. Translating my script from perl to python
  117. Split a single file into multiple files
  118. monitor grid jobs from python via SAGA
  119. scrape info from web:the .text problem
  120. python tcp stack
  121. converting date
  122. Global Variables Over Multiple Source Files
  123. How can I sort 2 parallel lists in the same way?
  124. Dictionary value remains unchanged in "for" loop
  125. Which data type do i use to model a GA algorithm in Python?
  126. List Index out of range in Recurrent Nural Network
  127. Why is the randint func in my code not generating all values within it's ranges?
  128. How to flush pexpect spawn class buffer for subsequent expect calls??
  129. ValueError: shape mismatch: objects cannot be broadcast to a single shape
  130. Numpy and Image error
  131. how to creat an instance of a foreign object with ctypes in python
  132. Python invalid syntax error
  133. How do I make a python list with 7 (or any number) empty elements?
  134. how to download and execute vnc by bash command
  135. ImportError: No module named Numeric
  136. ypeError: this constructor takes no arguments
  137. Pygame TypeError: python.surface object unsubscriptable
  138. why the SOAPPY for client is only using http 1.0
  139. Subtracting units in an array from themselves
  140. Ways to "reset" raw_input
  141. Multiplication of matrices consisting of arrays
  142. Why doesn't urllib show the right source
  143. Inserting the contents of csv file using python mysqldb
  144. numbering sequence
  145. Why do my Python scripts sometimes not run?
  146. eclipse for python
  147. Why doesn't Python recognize list element equal to input string?
  148. Calling a matlab gui from python using pymatlab without allowing python to close it
  149. TypeError: 'module' object is not callable
  150. Python 'NoneType' Error
  151. Import .csv to numpy instead of list to numpy
  152. How to define condition class in Python?
  153. just want to open a simple window keep getting this error
  154. continue "not properly in loop"
  155. User-Agent browser info
  156. good book for python programming (intermediate)
  157. exploring quiver function
  158. Number to binary string
  159. adding 2 matrices
  160. How to save the value of a global variable in a file
  161. Ending string assignment with "\".....
  162. Python 2.5 long
  163. Return value of Thread
  164. question about [0] in os module
  165. Python calling C functions Segment Fault
  166. customize xticks
  167. Understanding __call__ in Python 3
  168. How to get data between two values in a set?
  169. .txt file to excel .csv
  170. wxMessageBox with an auto-close timer in wxPython
  171. python class problem
  172. How to use filter() and map()
  173. CATIA V5-API and Python programming language
  174. How to use python to add a column to a csv file?
  175. Reorder dictionary in pyrhon according to a list of values!!!
  176. How to uninstall wxpython 2.8 from Mac OSX 10.6
  177. How to bypass ExceptWarn.py exceptions/errors
  178. Automating capture of Extent from multiple mxds with multiple dataframes
  179. Writing a simple address book in python
  180. Plot words from reading a file.
  181. normal vector?
  182. zope and mysql
  183. Problems with redrawing tables
  184. subclassing an extension class in c++ (python 3)
  185. Pyserial transposing characters
  186. how do i split a joining multiple file
  187. Translation from Python to CIL(C Intermediate Language)
  188. how to run matlab command on matlab command prompt using Python...?
  189. [pyinstaller] how to compile Python script importing module
  190. Python unicode conversion to UTF-8
  191. Assigning multiple variables in an input statement
  192. wx Python problem; attribute error
  193. How to break up an sql query?
  194. understanding the '?' reg exp
  195. how to run through a loop consisting of os.system
  196. Problem in adding data to hash of hash
  197. Last SQL Update query is lost when table is copied to new database
  198. Convert file with information into dictionary
  199. Duplicate Delete Program
  200. How to construct this function
  201. I need to sort a Class!
  202. I'm having trouble formatting text from a .txt file, into a grid.
  203. Find the offset between two graphs. how is this done?
  204. python web programming
  205. How to compare two tuples and return values.
  206. How to check if a file exists?
  207. Python if statements with strings.
  208. How to parse csv using DictReader?
  209. how to find a time between the two given time
  210. Help with Tkinter Windows
  211. speed up data extraction from large arrays
  212. How to handle or skip end‐of‐line characters
  213. what is difference between list and tuple?
  214. need help regarding creating a .py file and executing it using the shell(GUI).
  215. setup Pmw for programming GUI
  216. How to send data to specific line in text file
  217. psycopg2 array of composite
  218. GUI programming in python
  219. Is it possible to return variables to the main function?
  220. How do I populate array from an string output of a bash string.
  221. Python file copy and rename.
  222. working with strings returned by Sqllite
  223. Remove first line of 100 files in a folder using python script
  224. How do I increase the resolution of a 640X480 jpeg image?
  225. Python 3 Tkinter Frame interaction
  226. [Prob]Sending AT commands through COM PORT
  227. using links vs changing bash
  228. How to launch Handbrake via python?
  229. Why is python program running the wrong part of if else statement?
  230. System Error when running PyQt4's loadUi()
  231. Problem in converting list to string
  232. Calculating Distance From Start Node - Dijkstra's Algorithm
  233. urllib.urlencode wrongly encoding ő character
  234. Strange issue with normal operations
  235. PATH env var precedences for module load on windows
  236. Lambda as a variable, not a Python keyword
  237. How to fix Can't convert 'int' object error for checkerboard cipher?
  238. Error in running IDLE
  239. Deploying django websites in apache2 server
  240. error in an example of oop
  241. How to fix socket and connection errors running Python Module?
  242. How to convert a list of tuples to a list of lists?
  243. listdir returning no values for folder beginning with number
  244. How to merge[Append] many Excel files in to one using Python
  245. How to convert string to long?
  246. accessing dll from python using ctypes...
  247. Python XML-RPC localhost problem
  248. How to split a string and keep the delimiter
  249. python cgi webpage won't redirect before background children processes finish
  250. How Can I Set First Number on Each Text File Line to be Initial Node in Dijkstra?
  251. GM862-GPS Help
  252. List of string to float
  253. duplicate and rename a folder and its contents
  254. Get the current language of the machine
  255. I want a program to repeat itself multiple times before stopping, how do i do this?
  256. Can the window size of tfFileDialog be changed?
  257. stopping .listen command
  258. Telit GM862 GPS/GMS
  259. How to check remote server crash/hang/freeze/BSOD using wmi class?
  260. I am not able to open IDLE in python on Vista.
  261. How do i convert a number to an integer float and string
  262. How to split a list file
  263. how to configure notepad++ to run python script
  264. How to group data read from a file?
  265. Why does print 038 produce an invalid token error.
  266. Is it possible to Export an excel data sheet in to Arcmap Framework?
  267. How to fix if-elif-else syntax error?
  268. Can I import an excel file to Arcmap10 using Arcpy?
  269. Is there any way that i can sort a List like this?
  270. How to access a global object in another function?
  271. How to fix "Object not iterable" error?
  272. Why does if else statement always return if code even when failed?
  273. Is there any control in wx.python which is equivalent to FileUpload?
  274. Is E-Commerce on Zope a good idea?
  275. How to use python to write to a specific cell in a csv file?
  276. How to write and save image from data?
  277. How to correct attribute error?
  278. How to fix invalid syntax else error?
  279. How to write a program in python 2.6 that decodes DNA codons?
  280. How to fix "list index out of range" error?
  281. How to run a python program through a website?
  282. How to write data from a .txt file into an array?
  283. How to write an array to a file in python?
  284. How to Ignore \n when reading in strings?
  285. How to parse command line arguments separated by ':' instead of spacing?
  286. In both IDLE and command line, the print statement is not working. What do I need to
  287. How to "tail" a file using file objects ?
  288. How to execute a .exe file from with Python?
  289. Why doesn't py2exe work?
  290. How to collect data via wireless connection in python?
  291. Is there any module or method available to get the sun position?
  292. What is a good editor for Python coding with content assistance?
  293. How to convert string to date object?
  294. How to fix error "'NoneType' object has no attribute 'split'"?
  295. How to add "select all" and "select none" buttons to MultiChoiceDialog in wxPython?
  296. Not able to print the variable in which popen result of a remote m/c is stored.
  297. How to plot simple graph?
  298. How to set a cookie and then redirect using Python?
  299. How to fix syntax error message?
  300. How to connect to remote server using putty and display disks available in python?
  301. manipulating string question
  302. Python error: GC object already tracked
  303. How to plot graph?
  304. win32com and numpy
  305. There 's an invalid syntax error but i don't know what's wrong with it.
  306. How to append array:mass=2e30*N.ones((100,1)) to have 3 more bodies with mass 2e32?
  307. How to fix "not a directory" error when installing Python 2.7?
  308. How to solve the shared error problem in swig for ld -shared command ?
  309. How to compare 2 files and generate a list of matches, get value error?
  310. There is an indentation error that says expected an indented block
  311. How to insert data where it's missing?
  312. Req: Python 2.x incompatibility with MatPlotlab & SciTools
  313. problems using javaclass.classhook, HELP!
  314. How to loop to make many .csv files?
  315. How to modify font size when print out to screen?
  316. How to prompt the user for a directory location?
  317. I got runtime error R6002 while performing a python script (under python 2.7.1)
  318. Selenium Python Script Issue
  319. How to create an algorithm to evaluate a string?
  320. How to check value in a column?
  321. Req: Calculating Preferred Values ("E Series") for electronic components
  322. How to install PIL on Mac OS 10.5.8?
  323. How to count letters in a text file?
  324. question about multithread in python
  325. How to account for missing data when reading txt files?
  326. How to pass an argument to a javascript script tag in html from a python file?
  327. How to create progress bar?
  328. basic python question about lists and matrices
  329. How to launch another program from GUI button?
  330. How can I write (put) a character in a specific spot on a dos console?
  331. How to convert string with letters to float?
  332. Cannot run any multiprocessing script in PythonWin
  333. Tk, OSX, PYTHON application menu override
  334. What computer specs are nessessary to use python 3.1
  335. Double Click Python Script Launches CMD Window
  336. Average hourly rate for Python developers?
  337. automatic python variables
  338. PyGTk - Drawing onto an Image - not using deprecated functions what is best method?
  339. Keep getting MemoryError while calling copy.deepcopy()
  340. How to import win32com.client though it's installed?
  341. Paramiko and ftp upload
  342. In a dictionary, sum values if similar keys
  343. How do I rerun a progrom outside the shell?
  344. Is Python like C# in respect to chaining?
  345. Linked list questions
  346. Regex for replacing missing value period
  347. problem with mysql 'insert'; not working.
  348. Dict of dicts object to a graphical tree
  349. IDLE GUI in activepython 2.7 is not opening
  350. Why does my code to find primes stop working after prime 300?
  351. Get python to continue if process hangs
  352. Win32Com LDAP Enumerate Users
  353. How do I import a list or array from a text file, manipulate it, then output it?
  354. How to average column data in txt files?
  355. Help installing pywin32 - Can't find a version in Windows.h
  356. Tkinter : how to make an action before closing the window ?
  357. How do I save a series of strings to a text file?
  358. Web Development additions for Python
  359. Netbeans, Jython, mssql module
  360. Remote management software
  361. AttributeError while running ssh (from windows) paramiko need help
  362. How to install pycrypto mode in windows ?!
  363. How to save the video of user in server or other folder of mine?
  364. stuck with Pexpect script need help!!
  365. raw_input encoding diferent from code encoding problem
  366. need help with substring alignment
  367. how to read o/p of telenet (python) ?!
  368. how to Start a script on a remote machine through ssh with python?
  369. How to delete lines between two words from text file?
  370. os.path and manipulating the records within the list
  371. Keylogger in Python
  372. How to use Environment Variables to set location of file in Python?
  373. How to get rid of a character from a password
  374. How to down load web page with script(JAVA) in it?
  375. How do you simulate a dice roll in python?
  376. Compare elements in a matrix
  377. What is the the best and easiest way to remove elements from a list?
  378. Threading Or Multiprocessing???
  379. How to add data into exisitng Excel file at next open row?
  380. [Python] Read .txt file and analayze
  381. Search for 2 words in a file and print out all the lines between these 2 words
  382. How to create my own exception for brackets?
  383. Python circular linked list
  384. how do i fix load library (pythondll) failed?
  385. How to send negative value arguments for command line application?
  386. What is the fastest way to replace elements in list?
  387. Determine multiple indices within a list
  388. How to download web page using python code?
  389. package elementtree doesn't work
  390. how to display the process running on the machine into cmd prompt using pythonstaf
  391. can't assign to literal ERROR, looping through list
  392. Cannot import a Python module
  393. Need help with execfile()
  394. Why won't this write to an outfile?
  395. how do I sort a list of names?
  396. python print statement adds new line and 0
  397. fail to install FreeImagepy in windows 7 64bits
  398. Is there something similar to GOTO in python?
  399. How to write a program to decode a message?
  400. How to fix error: python cannot open cross compiled shared object file?
  401. image download problem (python)
  402. Split words and creating new files with different names
  403. Using classes-TypeError: Unbound must be called as body instance...
  404. PECL python installation problem
  405. Function to determinate whether a number is prime or not
  406. How to break down a python list
  407. How to divide file into separate lists?
  408. Reading data from a txt file and making a graph with the given data
  409. How do I use png files that have a transparent bg in a wx.bitmapbutton control?
  410. Req: Error Trapping / Data Validation
  411. How to run an EXE with input arg, capture output?
  412. help with tkinter/sql global error.
  413. How to get the number of A's in each column?
  414. How do I add a code in so it will put out a Tip Amount on a Bill??
  415. Parsing tag names and values from XML files
  416. How do I strip a new line?
  417. How to work with sets and dicts in Python?
  418. opening a file on a remote host
  419. TypeError: 'file' object is not subscriptable python
  420. Sqlite3 trouble
  421. Multiple conditions in a single IF
  422. How do i work with infiles and outfiles
  423. How to get a value from another python script
  424. IndentationError: expected an indented block
  425. using tkinter from the command prompt window
  426. Create variable for each iteration of a for loop
  427. How reliable is Python and is python safe based on security
  428. Using python code in command line with arguments
  429. How do I make a wx.BitmapButton outside transparent or use my png's alpha?
  430. How to read data from a closed file and use that data?
  431. Combined event handling on Tkinkter
  432. How to copy files named with unicode characters?
  433. How to call a function within a class from another class
  434. How to create different application windows in Tkinter?
  435. Print column numbers that are 100% conserved
  436. help making a tk/msql user login
  437. Easier method to reverse a given pattern?
  438. how to genarate a Linux password
  439. NameError: x
  440. Python Editor Shortcut
  441. How to encrypt data input into fields?
  442. Python overwrites list while changing a copy. How can I keep the original list stored
  443. How to make Python identify GUI buttons by their label
  444. how can i shorten this program??
  445. How to create a sum?
  446. How to list the ip address of the computers connected to my computer
  447. Why am I getting a syntax error
  448. name error global name 'x' is not defined...help
  449. How to use .split
  450. Creating a menu based program based on a list
  451. I'm having trouble with a very simple while loop in 1 program, but not another.
  452. How can I determine the closest point to a given latitude or longitude?
  453. How to fix error: SyntaxError: invalid syntax
  454. How do I split a text file without stripping the character I'm splitting at?
  455. How to add " | " to a mutliplication table?
  456. help combining tkinter & mysql
  457. How to remove words from text file?
  458. Function raw_input usage
  459. "extern variable" in PYTHON:
  460. Can not get struct to read the entire binary file.
  461. How to create a pension calculator?
  462. How to replace an attribute with empty string using regex?
  463. How to setup a gene blast
  464. How to fix: "expected indented block" error
  465. How to split a text to words and then filter it in Python?
  466. How to read the text from file and check for repeated words
  467. How to seperate a list and have it continue onto a different line?
  468. Undefined symbol errors upon import of an extension I made.
  469. How do I get the ASCII values for a word
  470. Printing each item of a list on a separate line?
  471. How to create a dictionary from a sentence
  472. Split a date string on a variable character
  473. How to compare two txt files to see if they are the same?
  474. How to do real time plotting in python
  475. How to keep ado.AddNew() from causing a select *
  476. How to limit the amount of inputs(guesses)
  477. How to change part of a variable (string)?
  478. Video capture works with 1 and 2 web cam but not with 3
  479. how can i search xml file by user input string using DOM in Python ?
  480. Given a string how do you create a list containing sublists?
  481. Creating a list of Exponents
  482. How do I convert the sequential day of the year to a date?
  483. How to make a language dictionary in python?
  484. In str.replace(old, new[, count],what is the use of count?,how to use count
  485. Help on simple input output thing in python.
  486. Is there any way in which the execution of python statements can be made out of order
  487. How to access the middle value of a list separated by commas
  488. How to translate matlab to python
  489. wx.ProgressDialog is not returning a Tuple
  490. Parsing attributes from adf.txt files
  491. A request is sent over urllib2.open(url,param) but the param hasnt reached the server
  492. How to use a for loop to print a list of salespeople with their individual sales
  493. How do I execute another program within a python program?
  494. How do you do binary addition on python?
  495. Please help me translate matlab to python
  496. How to check if a string is equal to a string in a list
  497. Can't find urllib2 or urlretrieve in Pythin 3.1.2
  498. Writting a function
  499. How to separate data into individual columns.
  500. How to loop through previous lines
  501. How to print from a csv file
  502. how to get the column index of m-n dimensional array/list?
  503. Problems in Decimal Package
  504. Plotting problem in python
  505. does Popen.communicate() close all parent-side file descriptors?
  506. motion-notify with DrawingArea response problem.
  507. run another *.py under a python script
  508. Parsing tab separated .txt files with common and distinct attributes
  509. Error message: scons: warning: Ignoring missing SConscript
  510. Why do i get a syntax error when i try to run this code?
  511. Print python code for \t escape character?
  512. Why am I getting this error?
  513. Concerning pyXLWirter: Is it possible to make comment boxes autosize ?
  514. python vlc bindings - vlcwidget.py is unable to open a file.
  515. How do I make tkinter text entry to all uppercase?
  516. Help working Beautifulsoup into Python script
  517. How to create a dictionary using 2 lists?
  518. How to Real time plotting using matplotlib
  519. I have an HP laptop and at startup I get this code which i don't understan.
  520. Should I go with web apps or other languages?
  521. how to display text entered in a textbox?
  522. pySerial getting writeTimeout when sending an sms
  523. How to find on which platform is a remote machine running using python code
  524. Array/List: how to find in which column the minimum value is?
  525. SyntaxError: invalid syntax
  526. Increment of array/list element
  527. ImportError: cx_Oracle.so: cannot open shared object file: Permission denied
  528. Using other .py scipts within a script?
  529. How to select an item in a comboBox?
  530. removing a letter from a sentence
  531. How to use findall to find keywords in file
  532. How do you add an entry into a 'raw_input' string?
  533. How to get image height using Python
  534. Tkinter button placement help
  535. Loop of a text file showing first 20 lines?
  536. how do i install the turtle module on python?
  537. I am getting error message displayed when I try to write to/read from an excel file
  538. Get an error message when launching Idle to use python? What to do?
  539. how to create an unlimited size array in python?
  540. How can I get python to enumarate through an array instead of through a string
  541. Post method in python
  542. how to extract data from Pmw EntryField to usable variables to be passed to a script
  543. Can't run python from CMD window in Windows XP
  544. How to get an approx sum of an infinite series in python.
  545. derivative of Newton-raphson
  546. werid python troubles...
  547. How to listen to serial port
  548. How to return a matrix of checkbox from client to server side?
  549. How to run a Python script.
  550. Example usage of subprocess()