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. s="aa bb cc dd ee" this is my string,how remove white spaces in that ?
  2. Invalid Syntax Error for an If Statement in a Function
  3. Importing text file data to sqlite3
  4. Convert from one base to another?
  5. Python XML SAX Error while execution
  6. writing Program that print the number of newlines,words and characters in counted fil
  7. What is the best solution for running multi threaded Python program running?
  8. Graphics: Drawing a Circle Intersected by a Line with Red End Points
  9. Can a string attached to a dictionary key and sent through serial port.
  10. I want to run the entire program n times if it is a sameuser else need to exit
  11. Changing a decimal into a binary
  12. find a given string and added a single character at the end of that string
  13. Export chart from excel to powerpoint using python code
  14. help to use nearest neighbour interpolation of Scipy
  15. How to initialize a variable only one time when program starts
  16. all-in-one PyGtk DLL Load Failed
  17. Problem with PyTango installation.
  18. How to render a template page by calling its method from TAL portlet(@@manage-portlet
  19. Saving content of entry through save option in menu
  20. Basic while loop syntax error (101 stuff)
  21. how to replace navigation portlet with my own template file in plone4.3
  22. Reading USB Serial Ports
  23. python32(32bit)+pyserial2.6+pywin32(32bit)+windows 7(64bit)
  24. how to delete all .svn hidden files/folders from a project in ubuntu 11.10
  25. TypeError: __init__() takes exactly 5 arguments (3 given)
  26. How would I write a high score table?
  27. How to Download a linked file on a webpage via Python
  28. Parsing numbers separated with different number of blanks
  29. Computation of cosine similarity over a list of values using python
  30. trying to learn shelving keep getting an error
  31. ImportError: No module named 'Crypto'
  32. Compile the Python interpreter statically with _ctype module
  33. How to open a text file in python?
  34. How to define metaclass for a class that extends from sqlalchemy declarative base
  35. Stop-word removal and document tokenization using NLTK library
  36. How to open and read through multiple files in a directory with python
  37. Opening and processing text in files
  38. python 1-d to 2-d and vice versa
  39. How to display variable serial data on Tkinter window.
  40. How to clear the python interpreter editor window
  41. I need help reinstalling drivers
  42. tkinter StringVar doesn't update
  43. Applying tint to photo
  44. Can I store a variable inside of a function?
  45. How to call Matlab program by Python
  46. How to run AES 128 key lenght on SAGE
  47. python script for a tracker gps by telit gm862-gps
  48. open file and iterate+print to file
  49. Parse .yaml file and enter result into two separate files
  50. Can't Assign to Literal Syntax Error
  51. i have this code, but i don't know how to loop this code
  52. Receiving alert Library (Pythondll) failed on startup
  53. Window Software Application for Python to Configure Cisco Routers
  54. serialize the telnet objects in python
  55. how to loop inside NLTK Arabic Parser grammar
  56. what is _show in python / TkMessageBox?
  57. Displaying filenames in python tkinter
  58. finding the position of a point in a matplotlib plot
  59. How to Modify the XML segment using Python?
  60. making a list with leading zeros
  61. defaults and range checks from multiple xsd
  62. Pixelation Program... trying to pixelate an image in Jython
  63. New Line occurring after text
  64. Reading a file and splitting at the same time
  65. Server app freezes with Tkinter GUI
  66. Combine output in python after break
  67. can't find sendkeys for pywinauto
  68. how to count the number of lines in one text file and create a function of that?
  69. Python least characters function
  70. Python function character proportion
  71. Python symmetric words
  72. fetching values from rrd file
  73. BadZipfile error in xlsx2csv (https://github.com/dilshod/xlsx2csv)
  74. high-pass filter implementation in python
  75. Need python help taking sum...
  76. spawn snmptrap from python
  77. Variable Assignment in a loop as well creating a list..
  78. syntax question
  79. Client and Server on the same program?
  80. add new field(column) to a file
  81. Compare multiple files for common entries
  82. How to get the mac address of other(remote) computers in linux using python
  83. how to pass a function value to another function...?related to kind of error
  84. Get mac address of a remote computer from linux using python
  85. JES account balance function
  86. What are the tools/libraries/frameworks available for python database application?
  87. python rrdtool try catch statement
  88. Python Tkinter Background image
  89. Fetching data from excel.. junk value is appended.
  90. How to pass xml file to stored procedure in sql server using python
  91. only length-1 arrays can be converted to Python scalar
  92. Exact Word Match in String with Regex in Python
  93. how to use if statement to choose from three choices
  94. Python Chat Client getting stuck after entering message
  95. How can I find top words frequencies of combined files?
  96. How to compile python embedded in a html doc to display on screen?
  97. jpype._jexception.ExceptionPyRaisable: java.lang.Exception: Class XXX not found
  98. Segmentation fault (core dumped)
  99. New to Python (only 7 weeks in ) and I would like any help on renaming files.
  100. Creating gui in python using opengl. How can i make the text boxes which take values
  101. pickAFile Question!
  102. Python: Negative result when subtracting two positive values
  103. Which sound does Windows use for console bell
  104. Why is this Variable not defined?
  105. I want to draw a triangle made of letters where you input the height and letter
  106. Regarding Combinatorics
  107. Webpage as Frontend and Python script as Backend
  108. Python: Return outside function error? Tried redoing indentation, spacing, etc.
  109. raw_input stops thread?
  110. Convert multiple xlsx files to csv using xlsx2csv for Python
  111. can't assign to a literal error shows up
  112. sqlite3 - SQL question regarding update of a table based on lookup table
  113. pexpect telnet login from one device to another
  114. Pyasn1 decoding with OS Specific carriage return --' \r\n'
  115. Jython output help (beginner question)
  116. How do I make a for loop for my guessing game?
  117. In Python, loop to delete several substrings delimited by the same pair of substrings
  118. python regular expression screen scrub
  119. How to compare to strings in python 3
  120. Executable Python Program
  121. shutil.move when in use?
  122. Skip The Special Characters in using python on RedHat Linux
  123. an error in run python code
  124. Error inserting data in playlist
  125. error of indent
  126. wx.TextCtrl - can't insert text!
  127. Icons in wxTreeCtrl using py2exe
  128. wx.Timer in seconds to hours and minutes
  129. Loading a file through python using Windows
  130. Buffer size exit...timeout error in the Python program?
  131. How to return matrix index
  132. How to find a overlap between 2 sequences, and make the function return the overlap
  133. 2d Array of (Individual) Objects in Python 2.7.3
  134. ZPL command to query memory status
  135. Scrolling an Entry widget on python
  136. xlrd in python 3.3
  137. Need help displaying text underneath bar on an tkinter embedded matpotlib bar graph
  138. Insert data quickly into database from GUI
  139. not allowing me to input and loop
  140. import sql data to mysql using python script
  141. Dict list question
  142. how to define a function v on an interval in sympy ?? and how to plot x(v) versus y
  143. regular expression and case specificality
  144. problems with Array referencing
  145. Email Via Python so i know when i get an error
  146. storing dictionaries into text file
  147. Edit text file to add row numbers (begins in 1 ) - Python
  148. How do I pass floats to opencl (via the PyOpenCL API) and return python floats?
  149. sending a list from a function to another one
  150. Binary File Parsing and Creation of new Files
  151. Cannot insert new records into Access (Python)
  152. calculating the roots of ax**2+bx+c
  153. Sunrise, Motion & Blending Colors
  154. Date time regular expression help
  155. To receive a message from rabbitmq only once not continuously
  156. How do I split a column of a csv file in excel using python 3.3?
  157. How do I add xticks' text to matpotlib bar graph inside Tkinter (Tkagg)?
  158. library pythondll failed anytime the PC is at startup
  159. Search Operation with Delimiters
  160. Open and Quit from a file using buttons
  161. csv file import only takes values of last row
  162. how to get the middle value of a list in python?
  163. Cool Things to Do with Python?
  164. I get error message „WARNING: terminal is not fully functional” when I use telnetlib
  165. How to Press a Webpage Button with Python
  166. Make a full text reader
  167. Video player in tkinter
  168. DRAW 3D Objects in Tkinter
  169. AttributeError: 'tuple' object has no attribute 'join'
  170. dpkt and parsing of pcap file
  171. File is used by another program how to find this using python?
  172. I can't seem to get Ctypes to find my c++ functions declared within a DLL file.
  173. tkfont some fonts are not working
  174. Problem with gtk.CellRendererCombo and TreeStore
  175. My interpreter be unable to find the pyOpenCL function "create_some_context".
  176. TypeError: unbound method (got int instance instead)
  177. Getting/setting status of multiple checkbuttons made in loop
  178. removing locations of characters that repeat
  179. "For" loops with GTK boxes
  180. How to access the values from a dictionary
  181. can only concatenate list (not "str") to list
  182. Problem with Numpy Standard Deviation
  183. Unable to access textbox on an HTML form
  184. Problems understanding working recursive combinations code
  185. Converting Text file into excel sheet
  186. How to write and save program from Terminal
  187. Indented block error
  188. sigma formula, issues with exponents or structure?
  189. Making Client threads constantly reading from the Queue for other client messages
  190. Python shows an error when it needs to exit the program
  191. How do I maintain spaces in the Caesar's cipher code
  192. I get the following error message global name error message
  193. how to add user input to file and print
  194. How to break a paragraph to sentences in python?
  195. Error with form
  196. How to build a word index for data in large set of files using Python ..any ideas wou
  197. Plot dates in int format against values
  198. Can someone help me debug my script?
  199. How do I round numbers in a list?
  200. Python API
  201. python 3: sorting with a comparison function (another question)
  202. Command to compile a python program on Putty
  203. PythonCard standaloneBuilder
  204. made a eventbox invisible in a transparent window??
  205. Help with random number generator? (I'm a beginner)
  206. CSV read, edit specific field, write
  207. Tkinter: visualizing parameters in real time
  208. BOA Constructor
  209. debugging issue; Deprecation and exception in TKinter ...
  210. Threading not working
  211. How to implement a simple reader/writer in python chat-server
  212. What does [::-1] means in Python?
  213. Extract data from a file and write it to another file
  214. run javascript function into frame with Pamie
  215. UnboundLocalError: local variable 'additional_info' referenced before assignment
  216. using dejavu-orm
  217. TypeError: 'NoneType' object is not iterable - Learning python, tad confused.
  218. In ControlDesk 3.2.2
  219. Inverting a 10x10 antisymmetric matrix
  220. Capture output from external C program with python GUI in realtime
  221. Run a python script and the #!/usr/bin/python line
  222. split string in multiple lines
  223. Game advise Python
  224. How to convert markup text to plain text in python
  225. Function object is not iterable
  226. converting columns of a file(say excel ) into separate lists
  227. Running a script within a loop
  228. unordered set in python...question about how the items within it are displayed
  229. Abaqus 6.9-2
  230. Module Not Found in Script.. Works Interactively
  231. Setting up python in windows powershell
  232. Ordering a list by date substring
  233. Detection of intersecting circles on python
  234. csv columns into variables
  235. How to add canvases to a sizer and refresh the parent frame?
  236. Python Dict-List
  237. Python Mark book with multiple marks per student?
  238. Pychecker Tool
  239. reading a column from text
  240. Sort file name by date in jython
  241. How to run a script on Windows XP
  242. Counting words from text file
  243. Receiving error when installing PyWin 2.7
  244. How do I hide the answer given to a raw_input (and replace it with stars)?
  245. MMTK import Error: ImportError: No module named Scientific.Geometry
  246. running the content of a created file on system prompt
  247. Unable to create executable - error: invalid command 'py2exe'
  248. How can I make .exe from .py file with py2exe on Python2.2.3 (WinXP)
  249. Pixelperfect Collision, hitmask/blank error
  250. How to get the value of msExchMailboxGuid from Actvie Directory
  251. Comparing lists
  252. Removing spaces and empty lines from a file Using Python
  253. SIP Python/C++ binding fails to compile
  254. How to correctly set a cookie value in headers
  255. Printing duplicates from a text file
  256. Python script - How to set the right serwer, when I perform request/open of applicati
  257. Help with Random Sequence Generator
  258. Python string frequency program
  259. Python mark book?
  260. Read from file into dictionary
  261. Trying to justify text using Python
  262. Running a txt file with other application in Python
  263. How do I get the 2d position of a 3d object, relative to the camera?
  264. Replacing a string in a text file
  265. how to avoid infinite loop in python?
  266. basic question about random array
  267. How to format spaces in output?
  268. How can i import serial module in python 3.2.2?
  269. how to perform collision detection in a 3d pyopengl & pygame environment.
  270. Making graphics appear on the desktop
  271. Using multiprocessing inside decorator
  272. How to retrieve key value pairs in python
  273. how to execute shell script using python scripts
  274. How do I use scrollbars in Python Grid
  275. Tkinter table menu
  276. Error: IndexError:list out of range
  277. Reading from a file
  278. Parsing a file, and matching numbers of a sequence (python)
  279. Matching parts of lines in a file (python)
  280. Easy Python Function Question
  281. Leaving a .py file before all code is executed
  282. Basic question- for _ in range(#)- What exactly causes the loop?
  283. Python cgi server py2exe
  284. ImportError: No module named Scientific_netcdf
  285. cleanup actions on sys.exit()
  286. How to search for vector in list of input arguments
  287. IndexError: narray: index out of range (While working with Ocropus)
  288. how to convert a string to binary ?
  289. How to insert null decimals / datetime into MYSQL from python?
  290. How can i plot a graph using values stored in two different lists
  291. Want connect planes to eachother in OpenGl example, but can't pass a tuple as vertex.
  292. NameError: global name 'numbers_t' is not defined
  293. help with this error ?
  294. How to change what os.startfile() opens?
  295. Django: 404 page not found
  296. Distutils on windows with mingw, messed up includes?
  297. Jython: cannot import Java packages
  298. Django base.py: 'str' object is not callable
  299. Fixed width txt to csv
  300. Django: Why cannot I use the custom file field?
  301. Map Matching script
  302. how do i restore pythondll to my pc
  303. Memory management for Large dataset in python
  304. Read between tags in txt file.
  305. Django: Indentation Error: Unexpected indent
  306. Where should I store the code when I build "custom file field"?
  307. formatted printing
  308. I want to make an icon for my Python program.
  309. What is python.exe?
  310. Using python program created on 64bit on 32bit system
  311. A file sharing site to publish my dist folder for my Python Application?
  312. Making a pyw. extension to no show your command console window
  313. How to determine number of output arguments in Python? (nargout in MATLAB)
  314. Dealing with MULTIDIMENSIONAL dictionaries python
  315. What is "if not" in python?
  316. incremental count between two values on the same line in a list
  317. Tkinter text widget - check if the text is edited
  318. Functionality of fcntl.ioctl ?
  319. Screen Input() for filling list to be used later in program
  320. UnicodeDecodeError: 'ascii' codec can't decode byte 0xe6 in position 74: ordinal not
  321. Size of a string
  322. Filling a list of lists...
  323. Need steps to convert binary file after download shc?
  324. M2Crypto - Unable to get local issuer certificate
  325. How to test for collision with pygame corner, and drag selected corner?
  326. Residual Sum of Squares routine, NumPy, SciPy, etc.
  327. Pygame issue while using scrolling to "zoom in/out".
  328. Django error: django.db.utils.DatabaseError: You mustnot use 8-bit bytesrings
  329. Pygame program to executable error color dict?
  330. I don't understand why this isn't working, help?
  331. Don't understand why my simple pygame script (draw rectangle) isn't working...
  332. Installing matplotlib
  333. Adding elements of list into a string
  334. unsupported operand type(s) for +: 'instance' and 'int'
  335. Reading a line from text, and separating it into variables/ Structure
  336. Tkinter Reloading Window displaying an Image
  337. How do I close the python debug session? tried shortcut (cntrl-alt-F9)
  338. Print/ String variables
  339. Why it does not work?
  340. Python package
  341. clear shell screen
  342. Proxy chain in python, socks
  343. print without newline
  344. How to execute a string?
  345. Hash function in python
  346. python acronym output
  347. What is the PATH i need for nosetools?
  348. PyKota, Python: AttributeError: 'module' object has no attribute '_quote'
  349. How to get element value of array even if array is randomized
  350. I want to make python script in abaqus 6.10
  351. Hash function in python
  352. how to highlight text in tkinter? , do you know what i am doing wrong ?
  353. invalid syntax inpython(ver 3.2.2)
  354. How do I bind a button action to affect a pyopengl object in a separate panel?
  355. Hyperlink in wx.Grid cell?
  356. Matplotlib show/draw works only once
  357. get input
  358. CGI or Python ?
  359. Removing duplicates from a dict
  360. i used read() and readlines() but format is not the same ??
  361. How to close "Tk" Window without closing whole GUI
  362. Tkinter Button Commands are Called Only at Startup?
  363. tkFileDialog with tKinter
  364. whats the problem with my scrollbar ?
  365. Cross Platform Active Directory Module
  366. list / index
  367. High Low game
  368. Wrapping pure function (not method)
  369. help on message splitting code
  370. connection mssql via database api 2.0
  371. Syntax error in python 2.3.4
  372. Python: Can't use 2 files?
  373. new to python, like really new.
  374. real time updating of subprocess.Popen()
  375. replace a set of strings in a .txt file
  376. Adding scroll bar to text box in Tkinter Python
  377. Ctypes example won't work :(
  378. How to compare a wxPython class attribute inside of a function. :P
  379. to remove the items
  380. Get item of a list by index
  381. My widgets are having trouble communicating.
  382. help importing Pmw
  383. passing list to a function
  384. Python / Visum Error Message
  385. Why will this not do anything?
  386. cx_Oracle in HPUX 11.23 with python 2.7
  387. Python 3 writing in excel
  388. whats wrong?!
  389. How to manipulate data in a list while rely on references to it with a dictionary?
  390. How do i append data to a list contained inside a dict ?
  391. how to keep the same format for text that has been read
  392. Is there a bulit-in way to create variabe names without writing them explicitly?
  393. Import PyTango
  394. How to give a single Tab Space between two or columns in Output In python
  395. TypeError: input_Func() takes exactly 1 positional argument (2 given)
  396. postgresql
  397. time and input
  398. Django forloop template variables
  399. If I want to add a timer to my program (Timed practice exam)
  400. is it possible to highlight text in python?
  401. learning how to find characters in searches i think some call it pick statements
  402. how to store soucre code from urlopen?
  403. Image not displayed on label
  404. how to use python to extract certain text in the file?
  405. Change the comma delimiter in python output to csv
  406. SQL IN statement on oracle via python
  407. Control on 'Button' avilability
  408. Load library(pythond11) failed error message
  409. [PyQT4]Receiving data from UDP and writing into textEdit
  410. Speech Recognition with Speech.py on Windows 7
  411. * ImportError: No module named graphics.
  412. error with py2exe
  413. socket.error in Telnet application
  414. Can't seem to send or read data on Garmin using pygarusb
  415. Python word game, functions wont work?
  416. Why is nothing happening when i run this?
  417. Python to check status of the port in linux machine
  418. Item Checking not possible with UltimateListCtrl in ULC_VIRTUAL mode
  419. Return from C extension throws segmentation fault
  420. splash screen problem
  421. tkinter textbox
  422. Pass text variables to Labels in Tkinker GUI?
  423. IndexError: list index out of range
  424. Directories and subdirectories
  425. Parse HTML file to EXCEL
  426. Can Python Be Used To Create A Simple IPA File?
  427. Program won't let me do anything until I open the URL with my browser!
  428. How to Get gencache.EnsureDispatch Name ?
  429. Python - To find region between start.start and end.start
  430. creating huge transition matrix
  431. Get cell value from google spreadsheets
  432. writing lines from multiple text files into one text file
  433. Managing multiple input in a .exe file
  434. Using python method in other program
  435. how to solve the syntax error in beautifulsoup
  436. MySQL Select, from tuple to list
  437. Using ctypes in Python - arrays and derived types from Fortran 90
  438. Comparing the date in a file to present date
  439. Trying to bin one column and sum the other simultaneously. Please help.
  440. How to Validate IPv4 address in Python using Regular Expression.
  441. Python transfer an object between lists
  442. Infinite loops and string comparision in a lists
  443. objects not working right: attribute error
  444. Script as .pyw don't start...
  445. Making Circles smaller via a loop
  446. An endless loop
  447. string as variable
  448. Float arithmetics
  449. Global Variables
  450. to check existence of list in list of lists
  451. Selecting numbers in a list to be added together
  452. problem in running script file of modeller
  453. tab error
  454. Help with Classes
  455. How to return a global variable from a function
  456. How to replace dots in Python?
  457. Python and GM862 (import Math library)
  458. Print string at an address in python.
  459. Xls to Pdf
  460. Combine a list of strings
  461. Python surface error? Why?
  462. How to get PMW counter to call a function when value changes
  463. Sort items in UltimateListCtrl
  464. how to return the characters in string "s" in outermost pair of matching quotes
  465. AttributeError: 'RequestWithUserAttribute' object has no attribute 'translate'
  466. eval function
  467. regular expressions
  468. histogram in python
  469. Abaqus 6.9-2 pde
  470. Need help converting a list of strings to a dictionary
  471. how to count letters only in a string
  472. To search for text in file and then returns the two lines following it
  473. Error message...object cant find attribute
  474. (python) for some reason file.readline() is only reading every second line
  475. Dijkstra's Algoithm
  476. Syntax error in a while loop
  477. the str.split(sep,maxsplit) function
  478. Python urlparse how to edit parameter values?
  479. How do I call a user defined variable from another module... :P
  480. What is the difference between "command" option and bind method?
  481. Python MySQLdb
  482. Easiest question you'll get all day, Python math related
  483. How can i set a DateTimePicker to read only?
  484. AttributeError: 'module' object has no attribute 'randint'
  485. Advice for non programmer looking to learn Python
  486. Combine two lists
  487. pythondll failed
  488. Looping issues
  489. Updating values in nested dictionary
  490. Telit GPRS using GE865-QUAD Python
  491. Positioning frames on screen
  492. Python Error: [Errno 13] Permission denied:
  493. How to write an animation (Matrix) in python
  494. While statement returns false even if it's true
  495. Ping using socket module in Python
  496. matrix in python
  497. Draw five times on one window with for loop
  498. follow-up: python function taking scalar or list argument
  499. can i draw graph in xul?
  500. watsup Windows Application Test System Using Python
  501. webpage points to python file upon form submit
  502. How to send automatic emials in python
  503. What are some reasons I might run into assertion failure during write file operations
  504. how to parse a tab delimited text file into separate lists
  505. removing pythondll
  506. AttributeError: 'module' object has no attribute 'getElementsByTagName'
  507. Upload file. Sql with python in Oracle
  508. change a variable thru a dialog box
  509. parse the html to get tr in python
  510. excel in python
  511. Python Upside Down Triangle using For loop
  512. JES Problem
  513. Tk Search widget in a Lbox
  514. comparison of two dna sequences
  515. Python library for iPod support
  516. xrange and range Which one is faster and why?
  517. path modules with windll in Python
  518. tab in a print statement in Python
  519. about max() and min()
  520. Query in SQLAlchemy
  521. socket connection error 10061
  522. Tk Calendar widget problem
  523. Problem in Installing SRILM package
  524. how to delete the rows with the delete button and how to edit with edit button
  525. I need to split an inf with some specified values.
  526. Questions on installing numpy
  527. scrolled canvas ,strange problem
  528. to calculate the universal distribution of continued fraction expansion
  529. DOMImplementationLS' has no member named 'createDOMWriter'
  530. What is wrong with my little 20-line program?
  531. http proxying python and Mechanize
  532. how to mount from python 2.6
  533. Button Label change on EVT_BUTTON in wxpython!!!
  534. ValueError: setting an array element with a sequence
  535. Error: 'als15.py' is not recognized as an internal or external command
  536. How to convert degrees, min, secs to decimal degrees with Python
  537. strange partial function aciton
  538. Calling a web service using python
  539. why no sound?
  540. what's the difference between mainloop and app.mainloop and root.mainloop?
  541. Tkinter event handlers and command callbacks
  542. how can i call dll in python
  543. "can only concatenate list (not "str") to list"
  544. Question about how to solve this problem (Change char)
  545. How to read specific item in a list
  546. building ssl extension
  547. pythond11 failed
  548. Translation and comparison of user input, to a list using a dictionary
  549. how to test SMS for Gt863-py module
  550. Translating my script from perl to python