Re: No more Python support in NetBeans 7.0

2011-04-20 Thread Markus
I read it too. I always preferred Netbeans + their Python plugin over Eclipse and PyDev. Perhaps I have another look for working with Aptana + PyDev for my web development stuff, but I am afraid this enviroment (and the base, Eclipse as it's main reason) is as user unfriendly as it always was. But

Re: Learning Python

2005-10-11 Thread Markus
I do highly recommend this site, too. Listen to the python411 podcast shows. It's great. Jeff Fox wrote: > Lots of links to all levels of tutorials and documentation here: > http://www.awaretek.com/plf.html > > Python Podcast too! > > -- http://mail.python.org/mailman/listinfo/python-list

Re: I need Motivation

2005-11-06 Thread Markus
I can recommend you listening to the Python411 podcast. http://www.awaretek.com/python/index.html -Markus- [EMAIL PROTECTED] wrote: > I m not a python Expert or anythin > i need help, i m losin my motivation to continue with python > can anyone inspire me again.??? -- http://mail.p

Re: Running multiple console processes and watching their output

2005-08-23 Thread Markus
If you are under UNIX, try the 'screen' command. Markus -- http://mail.python.org/mailman/listinfo/python-list

Re: Threading: Method trigger after thred finished

2011-10-20 Thread Markus
on(True) >     t.start() > > # Wait until the queue is empty, then close the threads. > queue.join() > for t in threads: >     t.close() > > -- > Steven Hi Steven, great point with the explicit call of destructor. I did a quick test and it is behaving exactly like I need. Thank you very much! Markus -- http://mail.python.org/mailman/listinfo/python-list

How can I optimise this? [intended in good humour]

2006-07-24 Thread Markus
cution speed of small code snippets." The quoted description of Timer and the original code I derived the above snippet from, can be found in the Python documentation. Finally, for anyone who is wondering... I will seek help as soon as I have some free time. ;) Markus -- http://mail.python.org/mailman/listinfo/python-list

parse GET/POST data on simple http server

2011-02-03 Thread Markus
Hi, As a beginner in python, I am looking for example code that would help me understand how to code following idea: 1. Start minimal http server 2. Send GET or POST data (url encoded, or from form) - example Name="Foo" 3. Analyze the GET/POST variable value on server and match to different value

Re: parse GET/POST data on simple http server

2011-02-03 Thread Markus
On Feb 3, 9:35 am, Chris Rebert wrote: > On Thu, Feb 3, 2011 at 12:15 AM, Markus wrote: > > Hi, > > > As a beginner in python, I am looking for example code that would help > > me understand how to > > code following idea: > > 1. Start minimal http serve

Re: 10 sec poll - please reply!

2012-11-21 Thread markus . moldaschl
Am Dienstag, 20. November 2012 13:18:38 UTC+1 schrieb Michael Herrmann: > Hi, > > > > I'm developing a GUI Automation library (http://www.getautoma.com) and am > having difficulty picking a name for the function that simulates key strokes. > I currently have it as 'type' but that clashes with

pyodbc utf-8

2012-12-06 Thread Markus Christen
good morning i am using pyodbc 3.0.6 for win32 python 2.7.3 i used it to connect with a MsSql db. Now i have a little problem with the umlaut. i cant change anything in the db and there are umlauts like "ä", "ö" and "ü" saved. so i have to change my view (of django 1.4.1) to change \xfc into ü

Re: pyodbc utf-8

2012-12-07 Thread Markus Christen
not understood what this really means... http://stackoverflow.com/questions/4805267/problem-with-unicode-decoding maybe you can understand it and you can translate it for a noob. :D Am Freitag, 7. Dezember 2012 13:16:09 UTC+1 schrieb Hans Mulder: > On 7/12/12 08:41:27, Markus Christen wr

Re: pyodbc utf-8

2013-01-07 Thread Markus Christen
When i look at my output on my webpage, i can see this: W\xe4denswil but it have to be this: Wädenswil you know now what i can see exactly... im using django and they told me its a python problem with utf-8. when i turn off debug, i cant see the page, it give me an error 500. the text "Danke für

Re: Help writelines

2012-02-03 Thread Markus Rother
Hi, You have to iterate. Either with for u in users: fob.write( u + '\n' ) or with a lambda function. always a good call: http://python.org/ greets, M. On 02/03/2012 09:27 PM, Anatoli Hristov wrote: Hi everyone, I`m totaly new in python and trying to figure out - how to write a list t

Running Python on a Computer Cluster in the Cloud - cloudnumbers.com

2011-07-18 Thread Markus Schmidberger
know, if your favorite database is missing!). * We have developed a security architecture that meets high requirements of data security and privacy. Read our security white paper: http://d1372nki7bx5yg.cloudfront.net/wp-content/uploads/2011/06/cloudnumberscom-security.whitepaper.pdf Best Markus --

planet.python.org blog registration

2011-07-18 Thread Markus Schmidberger
Hello, whom I have to contact to get a blog aggregated in planet.python.org? Thanks Markus -- http://mail.python.org/mailman/listinfo/python-list

Pure python standard library and License

2011-03-03 Thread Markus Schaber
the software. Best regards Markus Schaber ___ We software Automation. 3S-Smart Software Solutions GmbH Markus Schaber | Developer Memminger Str. 151 | 87439 Kempten | Germany | Tel. +49-831-54031-0 | Fax +49-831-54031-50 Email: m.scha...@3s-software.com <mailto:m.s

AW: Pure python standard library and License

2011-03-04 Thread Markus Schaber
rance of the bsddb module as confirmation of your hypothesis;-). It is a strong indicator, but no guarantee that all the .py files without copyright headers are not covered by the Berkeley license. Thanks for your efforts! Best regards, Markus Schaber -- We software Automation. 3S-Smart Software S

AW: Pure python standard library and License

2011-03-04 Thread Markus Schaber
LICENSE.txt - two of the differences are the Berkeley part, and the windows binary build part. This is just adding somewhat more confusion... Thanks, Markus Original Message: Betreff: Pure python standard library and License Hi, We want to include IronPython in one of our products, including the

AW: import python module from C++ code

2011-03-06 Thread Markus Schaber
uot;. Then I need to create a mymodule based on given > python file (its name mymodule.py). Can it be achieved using SWIG ? Did you configure the module search path properly? Regards, Markus -- http://mail.python.org/mailman/listinfo/python-list

Which subversion interface is the most used one?

2011-03-26 Thread Markus Schaber
light tendency to pysvn, as it seems to be well documented and pythonic. Thanks for your comments. Markus -- Probleme kann man niemals mit derselben Denkweise lösen, durch die sie entstanden sind. (Albert Einstein) -- http://mail.python.org/mailman/listinfo/python-list

Checking network input processing by Python for a multi-threaded server

2019-04-29 Thread Markus Elfring
d programming interfaces (because of multi-threading)? Regards, Markus -- https://mail.python.org/mailman/listinfo/python-list

Re: Checking support for efficient appending to mapped data

2019-04-30 Thread Markus Elfring
ition” (if you care for efficient data processing). https://docs.python.org/3/library/stdtypes.html#mutable-sequence-types Now I am looking again for further clarifications and improvements in this area. Would you like to share any more ideas here? Regards, Markus -- https://mail.python.org/mailman/listinfo/python-list

Re: Checking network input processing by Python for a multi-threaded server

2019-04-30 Thread Markus Elfring
mand. The visualisation of output statistics seems to be more challenging for such a test case. Can any other test tools help a bit more here? Regards, Markus -- https://mail.python.org/mailman/listinfo/python-list

Re: Dynamic selection for network service ports?

2019-04-30 Thread Markus Elfring
pproaches on my test systems. How does the support look like for the handling of ephemeral ports by programming interfaces for Python? Regards, Markus -- https://mail.python.org/mailman/listinfo/python-list

Re: Dynamic selection for network service ports?

2019-04-30 Thread Markus Elfring
ction management difficulties because of an error message like “OSError: [Errno 98] Address already in use”? Regards, Markus -- https://mail.python.org/mailman/listinfo/python-list

Re: Dynamic selection for network service ports?

2019-05-01 Thread Markus Elfring
server”? Regards, Markus -- https://mail.python.org/mailman/listinfo/python-list

Re: Dynamic selection for network service ports?

2019-05-01 Thread Markus Elfring
ack to its caller. Regards, Markus -- https://mail.python.org/mailman/listinfo/python-list

Re: Checking network input processing by Python for a multi-threaded server

2019-05-01 Thread Markus Elfring
ent “server.shutdown()” was sucessfully executed? Regards, Markus -- https://mail.python.org/mailman/listinfo/python-list

Re: Checking network input processing by Python for a multi-threaded server

2019-05-01 Thread Markus Elfring
13|4|0| 16|3|0| 2|7|0| 8|2|0| 3|8|0| 1|1|0| 1|9|0| real0m29,123s user0m5,925s sys 0m1,073s Does this data processing approach indicate a need for further software corrections? Regards, Markus -- https://mail.python.org/mailman/listinfo/python-list

Re: Checking network input processing by Python for a multi-threaded server

2019-05-01 Thread Markus Elfring
; while the server receives everything in a single .recv() call. I hope that the execution of the statement “server.shutdown()” triggers a separation in the reported inter-process communication. Regards, Markus -- https://mail.python.org/mailman/listinfo/python-list

Re: Dynamic selection for network service ports?

2019-05-01 Thread Markus Elfring
ockopt” be triggered by a class like “socketserver.TCPServer”? Regards, Markus -- https://mail.python.org/mailman/listinfo/python-list

Re: Dynamic selection for network service ports?

2019-05-01 Thread Markus Elfring
use of such a configuration parameter might need further considerations. Regards, Markus -- https://mail.python.org/mailman/listinfo/python-list

Re: Checking network input processing by Python for a multi-threaded server

2019-05-02 Thread Markus Elfring
ta consistency because of involved multi-threading? Regards, Markus -- https://mail.python.org/mailman/listinfo/python-list

Re: Checking network input processing by Python for a multi-threaded server

2019-05-02 Thread Markus Elfring
sing data processing consequences from a known test algorithm. https://systeme.lip6.fr/pipermail/cocci/2019-April/005792.html https://lore.kernel.org/cocci/6ec5b70f-39c3-79e5-608f-446a870f0...@web.de/ Will it help to add a bug report in an issue tracker? Regards, Markus -- https://mail.python.org/mailman/listinfo/python-list

Re: Checking network input processing by Python for a multi-threaded server

2019-05-03 Thread Markus Elfring
Did all extra worker threads exit after the statement “server.shutdown()” was successfully executed? > Thus, if your threads modify shared objects, then you are responsible > to protect access to them with appropriate locking. How do you think about to improve the distinction for

Re: Checking network input processing by Python for a multi-threaded server

2019-05-03 Thread Markus Elfring
tioned links)? Regards, Markus -- https://mail.python.org/mailman/listinfo/python-list

Re: Checking network input processing by Python for a multi-threaded server

2019-05-04 Thread Markus Elfring
; between the .shutdown call and the counter test (ie; the main submits > .shutdown, server starts a thread which doesn't get scheduled yet, > main does the .acquire()s, finds counter is 0 so assumes everything is done, > and THEN the last thread gets scheduled and increments

Re: Checking network input processing by Python for a multi-threaded server

2019-05-04 Thread Markus Elfring
ne (with the help of the Python function/class library) that previously submitted tasks were successfully executed? Regards, Markus -- https://mail.python.org/mailman/listinfo/python-list

Re: Checking network input processing by Python for a multi-threaded server

2019-05-04 Thread Markus Elfring
o you expect any more functionality here than an exit from a single thread? * Does this wording include the abortion of threads which were left over? > It is NOT normal for a program to create a server, shut it down, > only to then repeat the sequence. Will your understanding of such an use case grow, too? Regards, Markus -- https://mail.python.org/mailman/listinfo/python-list

Re: Checking network input processing by Python for a multi-threaded server

2019-05-13 Thread Markus Elfring
this area. I imagine that it can be easier to depend on a higher level system infrastructure. How do you think about to reuse software extensions around the standard “CORBA” like “omniORB”? Regards, Markus -- https://mail.python.org/mailman/listinfo/python-list

Re: Checking network input processing by Python for a multi-threaded server

2019-05-13 Thread Markus Elfring
ty varies for these programming interfaces over time. * I am trying to get also a data processing variant working based on the JSON format together with an extended socket server class. * Do you eventually know any proxy services which would provide useful data type conversions? Regards,

Re: Checking network input processing by Python for a multi-threaded server

2019-05-13 Thread Markus Elfring
ty varies for these programming interfaces over time. * I am trying to get also a data processing variant working based on the JSON format together with an extended socket server class. * Do you eventually know any proxy services which would provide useful data type conversions? Regards,

Re: Checking network input processing by Python for a multi-threaded server

2019-05-18 Thread Markus Elfring
in this direction. > you will have to write the extensions to socketserver. Will the development situation evolve any more here? Regards, Markus -- https://mail.python.org/mailman/listinfo/python-list

Re: Checking network input processing by Python for a multi-threaded server

2019-05-19 Thread Markus Elfring
ly achieved by the implementation of my method “perform_command”. I hope that corresponding data processing can be cleanly repeated then as desired for test purposes. Regards, Markus -- https://mail.python.org/mailman/listinfo/python-list

Re: Checking network input processing by Python for a multi-threaded server

2019-05-24 Thread Markus Elfring
the child process (on the local host during my test)? Can the program termination be taken into account for waiting on still incoming data from the server socket? Regards, Markus -- https://mail.python.org/mailman/listinfo/python-list

Checking refusal of a network connection

2019-05-31 Thread Markus Elfring
rno 111] Connection refused How should this inter-process communication difficulty be resolved? Regards, Markus -- https://mail.python.org/mailman/listinfo/python-list

Re: Checking refusal of a network connection

2019-05-31 Thread Markus Elfring
tions work also with a network service address like “[::1]:35529” (which would be used by the C++ server implementation so far)? How does the software situation look like for the support of the IPv6 loopback address? Regards, Markus -- https://mail.python.org/mailman/listinfo/python-list

Re: Checking refusal of a network connection

2019-06-01 Thread Markus Elfring
for the TCP client connection attempt here. > Also, on the service side it isn't enough to create the service socket, > you also need to do an accept IIRC. This should be performed by my implementation of the C++ function “setup”. Regards, Markus -- https://mail.python.org/mailman/listinfo/python-list

Re: Checking refusal of a network connection

2019-06-01 Thread Markus Elfring
uch a connection attempt would be automatically converted to a IPv6 loopback address. Unfortunately, the direct specification “… socket-send_json_data.py --server_id ::1 …” does not work at the moment because of the error message “socket.gaierror: [Errno -9] Address family for hostname not suppo

Re: Checking refusal of a network connection

2019-06-01 Thread Markus Elfring
d > 127.0.0.1 are distinct addresses. How does this view fit to information from the Linux programmer's manual? See also: command “man 7 ipv6” Regards, Markus -- https://mail.python.org/mailman/listinfo/python-list

Re: Checking refusal of a network connection

2019-06-01 Thread Markus Elfring
brary.” also interesting. > So you still need to bind to two addresses. I am unsure about this conclusion. Under which circumstances will the Python programming interfaces support the direct usage of the identification “::1”? Regards, Markus -- https://mail.python.org/mailman/listinfo/python-list

Re: Checking refusal of a network connection

2019-06-01 Thread Markus Elfring
ntification “::1” was passed as a command parameter). Regards, Markus -- https://mail.python.org/mailman/listinfo/python-list

Re: Checking support for network connections from Python client to IPv6 server

2019-06-01 Thread Markus Elfring
[Errno -9] Address family for hostname not supported” on my Linux test system then? Regards, Markus -- https://mail.python.org/mailman/listinfo/python-list

Re: Checking support for network connections from Python client to IPv6 server

2019-06-02 Thread Markus Elfring
transmission seems to succeed by my script “socket-send_json_data2.py” then. Regards, Markus -- https://mail.python.org/mailman/listinfo/python-list

Re: Checking support for network connections from Python client to IPv6 server

2019-06-02 Thread Markus Elfring
transmission seems to succeed by my script “socket-send_json_data2.py” then. Regards, Markus -- https://mail.python.org/mailman/listinfo/python-list

Re: Checking refusal of a network connection

2019-06-03 Thread Markus Elfring
are test client would pass the IPv6 address family for a connection, both processes would use the same network protocol version. Regards, Markus -- https://mail.python.org/mailman/listinfo/python-list

Zope3 Examples?

2005-09-28 Thread Markus Wankus
out there I haven't found in my Googling yet. I also found this nice-looking TODO sample (which looks like the best place to start, frankly) which I plan on using as a starting point as well (http://toulouse.amber.org/archives/simple_todo_application/index.html). Thanks, Markus -- http://mail.python.org/mailman/listinfo/python-list

Re: Zope3 Examples?

2005-09-29 Thread Markus Wankus
bruno modulix wrote: > Markus Wankus wrote: >> Hi All, >> >> Does anyone know of any good Zope3 examples? > > Ask the Zope mailing-list. Zope is a world by itself, and is usually not > discussed here. > > BTW, Zope3 is a really really new thing, so you w

Re: Zope3 Examples?

2005-09-30 Thread Markus Wankus
Jean-François Doyon wrote: > Markus, > > Zope 3 is mature as a framework, but does not provide much "out of the > box". It's a basis upon which to build applications like Plone ... If > you are looking for something that provides Plone-like features on top >

Re: Zope3 Examples?

2005-09-30 Thread Markus Wankus
Gerhard Häring wrote: > Markus Wankus wrote: >> [...] Thanks for the reply - maybe I'll give it another shot. I'm >> currently demoing Snakelets. Quite a turn in the opposite direction, >> but small and super-easy to get going with. [...] > > I also found

Re: Learning Python

2005-10-11 Thread Markus Rosenstihl
On 2005-10-10 18:50:18 +0200, Paul DiRezze <[EMAIL PROTECTED]> said: > I'm spending the next two weeks off and I'm looking to take a crack at > learning how to program in Python. Here's a list of the places I've > bookmarked: > > http://www.python.org/doc/ and more specifically > http://wiki.p

Nicer way of strip and replace?

2005-10-11 Thread Markus Rosenstihl
(rechnung[element][10], '"'), ',' , '.')) I replace commata with dots, then delete leading/trailing "s then add to a sum after converting it to a float. This looks ugly (I htink) and I wonder if there is a nicer way to strip commata and change the comma to a dot already when reading in. Or should i do it with a shell script before processing in python? Regards Markus -- http://mail.python.org/mailman/listinfo/python-list

Re: Nicer way of strip and replace?

2005-10-11 Thread Markus Rosenstihl
On 2005-10-11 23:45:46 +0200, Paul Rubin <http://[EMAIL PROTECTED]> said: > Markus Rosenstihl <[EMAIL PROTECTED]> writes: >> This looks ugly (I htink) and I wonder if there is a nicer way to >> strip commata and change the comma to a dot already when reading in. >&g

Re: Nicer way of strip and replace?

2005-10-12 Thread Markus Rosenstihl
On 2005-10-12 01:29:28 +0200, Paul Rubin said: > > Oh cool. I think you could even say: > >rechnung = list(read_file) > > instead of the for loop. Yes, that is working too. -- http://mail.python.org/mailman/listinfo/python-list

Re: IDLE history, Python IDE, and Interactive Python with Vim

2005-02-03 Thread Markus Wankus
I highly recommend trying pyDev. 0.9 just came out, and I find 0.85 very usable and quite cool. There is nice debug support, and context-sensitive code completion as well as real-time validation of your code. This is an exciting project with a bright future in my opinion. Markus. Ashot

Re: [EVALUATION] - E01: The Java Failure - May Python Helps?

2005-02-03 Thread Markus Wankus
has ever seen.I'll let Google fill in the rest of the picture. You can decide whether or not you want to respond to his posts. Markus. Jeremy Bowers wrote: On Thu, 03 Feb 2005 09:26:08 +0200, Ilias Lazaridis wrote: My question is essentially: How many of those constructs are alrea

Re: [EVALUATION] - E01: The Java Failure - May Python Helps?

2005-02-04 Thread Markus Wankus
Fredrik Lundh wrote: Markus Wankus wrote: Google his name - he has been banned from Netbeans and Eclipse (and Hibernate, and others...) for good reason. Can you imagine how much of a Troll you need to be to *actually* get "banned" from the newsgroups of open source projects suc

Re: Thoughts on Guido's ITC audio interview

2005-06-28 Thread Markus Wankus
you used it more than a few times your view would most likely change. The fact is, code evolves. You simply cannot write high-quality software in one pass. Good refactoring tools save time, and therefore money. I sure wouldn't hire anyone who thought otherwise... Markus. -- http://mail.python.org/mailman/listinfo/python-list

Re: Thoughts on Guido's ITC audio interview

2005-06-29 Thread Markus Wankus
Stephen Kellett wrote: > In message <[EMAIL PROTECTED]>, Markus Wankus > <[EMAIL PROTECTED]> writes > >> Have you ever tried anything that provides real, usable refactoring >> like Eclipse does with Java? I guarantee if you used it more than a >> few t

Re: Tricky Dictionary Question from newbie

2005-07-11 Thread Markus Weihs
Hi! Dict = {'rt': 'repeated', 'sr':'repeated', 'gf':'not repeated'} NewDic = {} for k,v in Dict.items(): NewDic.setdefault(v, []).append(k) Regards, mawe -- http://mail.python.org/mailman/listinfo/python-list

Re: Thoughts on Guido's ITC audio interview

2005-07-12 Thread Markus Wankus
nothing we can say will change your mind. As for me - I'll continue to enjoy the benefits of Eclipse's tools - especially with PyDev coming along the way it is. The ultimate would be for something like Jython or JPype to come to fruition so Eclipse plugins could be written in Python.

Re: Thoughts on Guido's ITC audio interview

2005-07-12 Thread Markus Wankus
Markus Wankus wrote: > > My opinion - If you aren't willing to try something new, or have an > aversion to it in the first place, nothing we can say will change your > mind. Correction... *There are some people, who* if they aren't willing to try something new, or hav

Re: GUI tookit for science and education

2005-08-16 Thread Markus Rosenstihl
>> It doesn't have much math built in. For functions you have to >> plot points. > > If you want to plot stuff, the gnuplot-py module is very easy > to use. http://sourceforge.net/projects/gnuplot-py/ > > The one feature that I'd really like to add is the ability to > plot a python function obj

Re: Creating Pie Chart from Python

2005-09-16 Thread Markus Weihs
ie_chart.py", line 46, in Draw glPopMatrix() OpenGL.GL.GLerror: [Errno 1281] invalid value What am I doing wrong? Regards, Markus -- http://mail.python.org/mailman/listinfo/python-list

Re: How to copy a file from one machine to another machine

2005-09-21 Thread Markus Rosenstihl
Hi I think scp is also a solution. I am sure there exist free sshserveres for windows. THat would make the stuff a bit more secure, and the login can be automated via public-key. Regards Markus -- http://mail.python.org/mailman/listinfo/python-list

Re: [EVALUATION] - E02 - Support for MinGW Open Source Compiler

2005-02-22 Thread Markus Wankus
George Sakkis wrote: "Ilias Lazaridis" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Nick Vargish wrote: You can excuse yourself from this one and stop replying to comments, but you don't get to unilaterally declare a discussion over. [...] The discussion is over. At least the in-top

Re: [EVALUATION] - E02 - Support for MinGW Open Source Compiler

2005-02-23 Thread Markus Wankus
Nick Vargish wrote: Ilias Lazaridis <[EMAIL PROTECTED]> writes: Guido is the one, who should care by time about the status of the python-community. That one crashed my parser. Sounds like a new Ministry song - "Guido Crashed my Parser". Could be the sequel to "Jesus Built My Hot Rod". -- http:/

Handle user abort

2005-02-25 Thread Markus Franz
. Best regards Markus -- http://mail.python.org/mailman/listinfo/python-list

Handle user abort inside of a CGI-script

2005-02-25 Thread Markus Franz
;? Thank you. Best regards Markus -- http://mail.python.org/mailman/listinfo/python-list

SAX: Help on processing qualified attribute values

2005-03-10 Thread Markus Doering
=%s"%(k,v) for k,v in attrs.items()]) ) results in Name:(None, u'mapping') QName=mapping, Attributes=[] Should I maybe try another parser than the default one (Expat?) Thanks for any help, Markus -- Markus Döring Botanic Garden and Botanical Museum Berlin Dahlem, Dept. of Biodive

How do I convert characters into integers?

2004-12-14 Thread Markus Zeindl
Hello, I want to write a simple encrypter, but I've got a problem: How can I convert characters into integers? I have got a string from the user, for example "Hi!". Now I get every character with a loop: buffer = "" for i in range(len(message)): ch = message[i-1:i] ... The character is saved

Re: How do I convert characters into integers?

2004-12-14 Thread Markus Zeindl
Grant Edwards wrote: On 2004-12-14, Markus Zeindl <[EMAIL PROTECTED]> wrote: I want to write a simple encrypter, but I've got a problem: How can I convert characters into integers? $ python Python 2.3.4 (#2, Aug 19 2004, 15:49:40) [GCC 3.4.1 (Mandrakelinux (Alpha 3.4.1-3mdk)] on

Change vars in the parent process

2004-12-21 Thread Markus Franz
Hi! Is there any possibility to change vars inside a parent process from the inside of a child process? Thanks Markus -- http://mail.python.org/mailman/listinfo/python-list

Processes and their childs

2004-12-21 Thread Markus Franz
parent process untill this point is printed by every child process again. How can I avoid this? Does anybody habe a solution for my problem??? Thanks. Markus -- http://mail.python.org/mailman/listinfo/python-list

Execute code after death of all child processes

2004-12-24 Thread Markus Franz
this is the end' will be showed several times. Can you help me? Tanks. Markus -- http://mail.python.org/mailman/listinfo/python-list

Execute code after death of all child processes - (corrected posting)

2004-12-25 Thread Markus Franz
ent_text in texts[0:]: pid = os.fork() if pid == 0: time.sleep(2) print current_text break os.waitpid(-1, 0) print 'this is the end' But this didn't work, 'this is the end' will be showed several times. Can you help me? Tanks. Markus -- http://mail.python.org/mailman/listinfo/python-list

Embedding Python

2005-03-26 Thread Markus Franz
ain': : undefined reference to `PyRun_SimpleString' /home/mmf/tmp/ccVD2V4h.o(.text+0x32): In function `main': : undefined reference to `Py_Finalize' /home/mmf/tmp/ccVD2V4h.o(.eh_frame+0x11): undefined reference to `__gxx_personality_v0' collect2: ld returned 1 exit status What am I

Re: Embedding Python

2005-03-26 Thread Markus Franz
`main': : undefined reference to `Py_Finalize' /home/mmf/tmp/ccVD2V4h.o(.eh_frame+0x11): undefined reference to `__gxx_personality_v0' collect2: ld returned 1 exit status What am I doing wrong? Not linking against libpython.so? I don't understand what you mean... Markus -- http:/

Get document as normal text and not as binary data

2005-03-27 Thread Markus Franz
) f = urllib2.urlopen(req) contents = f.read() print contents f.close() Thanks! Markus -- http://mail.python.org/mailman/listinfo/python-list

Re: Get document as normal text and not as binary data

2005-03-28 Thread Markus Franz
Diez B. Roggisch wrote: You get what the server sends. That is always binary - either it _is_ a binary file, or maybe in an unknown encoding. And how can I convert those binary data to a "normal" string with "normal" characters? Best regards Markus -- http://mail.python.

Re: Get document as normal text and not as binary data

2005-03-29 Thread Markus Franz
Diez B. Roggisch wrote: Addendum: If you give us the url you're fetching data from, we might be able to look at the delivered data ourselves. To guess my problem please have a look at the document title of <http://portal.suse.de/sdb/de/1997/01/xntp.html> Markus -- http://mail.python.

Re: Get document as normal text and not as binary data

2005-03-29 Thread Markus Franz
859-15') ... That was the perfect solution for my problem! Thanks a lot! Best regards Markus -- http://mail.python.org/mailman/listinfo/python-list

Re: Python IDE like NetBeans/Delphi IDE

2005-04-05 Thread Markus Wankus
More specifically, check out the pydev plugin for Eclipse. pydev.sourceforge.net M. Larry Bates wrote: Take a look at ActiveState: http://www.activestate.com/Products/ActivePythonFamily/?_x=1 or for something more general: http://www.eclipse.org/ Larry Bates [EMAIL PROTECTED] wrote: Hi ! I search f

Use string in URLs

2005-04-07 Thread Markus Franz
Hi. I want to use the string "rüffer" in a get-request, so I tried to encode it. My problem: But with urllib.quote I always get "r%FCffer", but I want to get "r%C3%BCffer" (with is correct in my opinion). Thanks. Markus -- http://mail.python.org/mailman/listinfo/python-list

Re: Does Tk provide ComboBox ?

2005-04-10 Thread Markus Weihs
> Does Tkinter provide a combobox or do I have to find some way of making > a listbox do the job ? Hi! In Tkinter this is called "OptionMenu". If you don't like it, PMW (http://pmw.sourceforge.net/) has a *real* Combobox :) Regards, mawe -- http://mail.python.org/mailman/listinfo/python-list

Re: c-extension crashes unexpected

2005-04-23 Thread Markus Wintermann
John Machin schrieb: > ... > > Some suggestions: > > 1. Try Pyrex. You get to write in a higher-level language and it does > all the boring ugly error-prone stuff for you -- this includes > reference counting as well! Look at the C code that Pyrex generates, > to see what Pyrex is saving you from

Bug? ( () == [] ) != ( ().__eq__([]) )

2013-08-04 Thread Markus Rother
ue >>> ( () == [] ) != ( ().__eq__([]) ) True How/why can this be intended? Thanks, everybody. Markus R. -- http://mail.python.org/mailman/listinfo/python-list

Re: Bug? ( () == [] ) != ( ().__eq__([]) )

2013-08-05 Thread Markus Rother
comparison into another function/method. Best regards, Markus R. On 05.08.2013 01:06, Chris Angelico wrote: On Sun, Aug 4, 2013 at 11:35 PM, Markus Rother wrote: Hello, The following behaviour seen in 3.2 seems very strange to me: As expected: () == [] False However: ().__eq__([]) NotI

Re: Language design

2013-09-11 Thread Markus Rother
3: 'c'} 4. As has been mentioned already, some built-in functions do magic stuff behind the scenes: >>> () == [] False But: >>> bool(().__eq__([])) True Because: >>> ().__eq__([]) NotImplemented which yields True when cast to boolean. """ Greets, Markus -- https://mail.python.org/mailman/listinfo/python-list

Re: Language design

2013-09-12 Thread Markus Rother
ms instead of their keys. Looking forward to contrary opinions. Greets, Markus -- https://mail.python.org/mailman/listinfo/python-list

  1   2   >