Account Options

  1. Sign in
Google Groups Home
« Groups Home
comp . lang . python
This is a Usenet group - learn more
Find or start a Google Group about python.
View this group in the new Google Groups
Group info
Language: English
Group categories:
Computers > Programming
More group info »
Discussions
View:  Topic list, Topic summary Topics 1 - 10 of 125478  Older »
Description: The Python computer language.
 

Common LISP-style closures with Python 
  In Python textbooks that I have read, it is usually not mentioned that we can very easily program Common LISP-style closures with Python. It is done as follows: ------------------------------ ------- ... def f1(): n = 0 def f2(): nonlocal n n += 1 return n... more »
By Antti J Ylikoski  - 7:27pm - 1 new of 1 message    

Help writelines 
  Hi, You have to iterate. Either with for u in users: fob.write( u + '\n' ) or with a lambda function. always a good call: [link] greets, M. ...
By Markus Rother  - 3:41pm - 4 new of 4 messages    

Script randomly exits for seemingly no reason with strange traceback 
  It's a rare occurrence, but sometimes my script will terminate and I get this: Traceback (most recent call last): File "C:\path\to\script\script.py", line 992, in <module> That's it. And the line number is always the last line of the file (which in my case is a blank line). I have not seen this on Linux (where... more »
By Andrew Berg  - 3:14pm - 3 new of 3 messages    

[no subject] 
  ... You might prefer to ask such questions on the tutor mailing list instead: [link] Cheers, Chris
By Chris Rebert  - 3:14pm - 2 new of 2 messages    

Linker errors when attempting to install PyCrypto 
  I'm getting linker errors when trying to install PyCrypto on Windows: C:\libraries\MinGW\bin\gcc.exe -mno-cygwin -shared -s build\temp.win-amd64-2.7\Relea se\src\winrand.o build\temp.win-amd64-2.7\Relea se\src\winrandom.def -LC:\Python27\libs -LC:\Python27\PCbuild\amd64 -lws2_32 -ladvapi32 -lpython27 -lmsvcr90... more »
By Alec Taylor  - 1:33pm - 1 new of 1 message    

AMAZING JUST JOIN TO THIS......... 
  [link]
By Devi Priya  - 11:12am - 1 new of 1 message    

Help with COM_error 
  I am not a programmer, but this past week I have had a crash course in python scripting am have been rather impressed with myself for having written a fairly complicated script that among many other processes reads a database table via SearchCursor, populates a word template via Bookmarks, then saves the document out as a PDF.... more »
By John Lay  - 8:10am - 1 new of 1 message    

multiple constructor __init__ 
  ... I believe you can approximate that using a keyword-only argument without a default value: ...class QObject(object): def __init__(self, param1=some_default, *, parent): # … obj1 = QObject(parent=daddy) obj2 = QObject(arg1, parent=daddy) obj3 = QObject(daddy) # ERROR obj4 = QObject(arg1, daddy) # ERROR... more »
By Chris Rebert  - Feb 2 - 2 new of 2 messages    

Use logging level across application and modules 
  Base module: [link] Another module: [link] Application: [link] I have a module that will provide base functionality, such as logging and authentication. I have other specialized modules that provide additional functionality. One module will provide database connections, another... more »
By Jason Friedman  - Feb 2 - 2 new of 2 messages    

Python embeded in c++ application. Can't load python module if application is placed in folder with unicode chars. 
  Hello. Please help me to import python module in my application that has python 2.7.2 embeded. I tried example from this link [link] paragraph 5.3. If i place program in folder D:\temp\test_python\test_pytho nævnes på\Debug I will get error - Failed to load "multiply".... more »
By Сергей Владимирович  - Feb 2 - 2 new of 2 messages    

1 - 10 of 125478   « Newer | Older »

XML