python gui ide under linux..like visual studio ;) ?

2010-01-19 Thread ryniek90
Il 18/01/2010 21:59, Mike Driscoll ha scritto: > On Jan 18, 8:32 am, ted wrote: >> Hi at all... >> Can someone please give me some advice, about a good IDE with control >> GUI under Linux ? >> >> Actually i know QT Creator by Nokia which i can use with Python (but i >> don't k

"Advanced" Python programming book?

2010-01-10 Thread Ryniek90
> I've just finished reading a sort of beginner Python book, and I know > quite a bit now but I'm looking for a book that can teach me advanced > aspects of Python - code optimisation, threading, etc. > > Any recommendations? > > Cheers. Check those link: http://www.amazon.com/Beginning-Python-V

Is pythonic version of scanf() or sscanf() planned?

2009-10-13 Thread ryniek90
In article , ryniek90 wrote: But I remember that lambda function also was unwelcome in Python, but finally it is and is doing well. So maybe someone, someday decide to put in Python an alternative, really great implementation of scanf() ? How long have you been using Python

Re: Is pythonic version of scanf() or sscanf() planned?

2009-10-08 Thread ryniek90
On 6 Paź, 06:37, Dennis Lee Bieber wrote: > On Sun, 4 Oct 2009 15:48:16 -0700 (PDT), TerryP > declaimed the following in gmane.comp.python.general: > > > In the last 4 years, I have never missed functions like .*scanf() or > > atoi(). > > > It's probably a greeaaat thing that Python provides neth

Is pythonic version of scanf() or sscanf() planned?

2009-10-03 Thread ryniek90
Hi I know that in python, we can do the same with regexps or *.split()*, but thats longer and less practical method than *scanf()*. I also found that ( http://code.activestate.com/recipes/502213/ ), but the code doesn't looks so simple for beginners. So, whether it is or has been planned the

Python and 3d

2009-09-13 Thread Ryniek90
> > azrael wrote: > >> Has anyone any exipience with python and 3d. >> >> I mean, is there a module to deal with popular 3d formats like 3ds, or >> vrml. is it possible to import into python opengl models and then use >> it in application for GUI purposes like through WX. I know that WX >> supp

TypeError: _getfullpathname() argument 1 must be (buffer overflow), not str in windows xp, while making tarfile

2009-08-27 Thread Ryniek90
> >>>>>> Ryniek90 (R) wrote: >>>>>> > > >> R> Hahah right. My fault. Must remember to read documentation so many times >> R> until I find the solution. Thanks, now works fine. :-) >> > > And, by t

TypeError: _getfullpathname() argument 1 must be (buffer overflow), not str in windows xp, while making tarfile

2009-08-26 Thread Ryniek90
[snip] Here's my script code: *http://paste.ubuntu.com/259310/ *Shouldn't that bug be patched already :-? Are you giving it the contents of the file when it's actually expecting the filename? Of course the content of the file: [snip] See? *backup_obj.add(read_obj.read())* In previous pa

TypeError: _getfullpathname() argument 1 must be (buffer overflow), not str in windows xp, while making tarfile

2009-08-25 Thread Ryniek90
Ryniek90 wrote: Referring to my earlier posts: http://groups.google.pl/group/comp.lang.python/browse_thread/thread/4e34f995800f5352?hl=pl and http://groups.google.pl/group/comp.lang.python/browse_thread/thread/abf5573b8fceb37e?hl=pl# I've dealt with those errors. but now have an

TypeError: _getfullpathname() argument 1 must be (buffer overflow), not str in windows xp, while making tarfile

2009-08-25 Thread Ryniek90
Referring to my earlier posts: http://groups.google.pl/group/comp.lang.python/browse_thread/thread/4e34f995800f5352?hl=pl and http://groups.google.pl/group/comp.lang.python/browse_thread/thread/abf5573b8fceb37e?hl=pl# I've dealt with those errors. but now have another. When my backup scripts st

IOError: [Errno 22] invalid mode ('wb') or filename: in windows xp while making tarfile

2009-08-24 Thread Ryniek90
>> John Machin wrote: >>> Erik Max Francis alcyone.com> writes: >> I also suspect the "pipe" symbol. I don't know if it's an invalid >> character to Windows, but it's certainly a bad idea. The '|' character >> means something special to the shell. > The "pipe" character is not a valid charact

Temat:,Re: IOError: [Errno 22] invalid mode ('wb') or filename: in windows xp while making tarfile

2009-08-24 Thread Ryniek90
John Machin wrote: Erik Max Francis alcyone.com> writes: I also suspect the "pipe" symbol. I don't know if it's an invalid character to Windows, but it's certainly a bad idea. The '|' character means something special to the shell. The "pipe" character is not a vali

IOError: [Errno 22] invalid mode ('wb') or filename: in windows xp while making tarfile

2009-08-23 Thread Ryniek90
Hi I've got my backup script which opens tarfile for add chosen file to it. But while setting it up, i've got Traceback: here's the url: -->http://paste.ubuntu.com/258081/<-- I have searched among google's result but didn't found anything useful. Only found info that it may be the backslashes

Re: TypeError while checking for permissions with os.access() on windows xp

2009-08-22 Thread ryniek90
WTF?? Why on IDLE it works, but when i run this script in cmd.exe, the os.getenv('HOME') goes NoneType? I'm to newbie yet to understand this :/ HOME is simply not a standard environment variable that Windows provides. Any program can set/add environment variables as it deems

Re: TypeError while checking for permissions with os.access() on windows xp

2009-08-22 Thread ryniek90
First, some nitpicking: Include the whole traceback when posting about errors please. Don't write "if some_boolean_expression != True:" instead prefer "if not some_boolean_expression:". Also, in your code "except (Except), ex: return ex" the parentheses are redundant, there's no "Except" Excep

Re: TypeError while checking for permissions with os.access() on windows xp

2009-08-22 Thread ryniek90
First, some nitpicking: Include the whole traceback when posting about errors please. Don't write "if some_boolean_expression != True:" instead prefer "if not some_boolean_expression:". Also, in your code "except (Except), ex: return ex" the parentheses are redundant, there's no "Except" Excep

TypeError while checking for permissions with os.access() on windows xp

2009-08-21 Thread ryniek90
I've got some code that checks priviliges on two paths: First - chosen by user Second - hardcoded home directory represented by **os.getenv('HOME')** - (os.getenv('HOME') works both on Linux and Windows) Here's the code: " def __check_set_perm(self, rd_obj_path, backup_dest): try:

How to write replace string for object which will be substituted? [regexp]

2009-08-06 Thread Ryniek90
2) If you really want to learn regexes, get a copy of _Mastering Regular Expressions_ by Friedl (either 2nd or 3rd edition) I made preview of that book, but some pages are disabled from preview. Has that book topics about Python regexp's? If so, i must buy it. -- http://mail.python.org/ma

How to write replace string for object which will be substituted? [regexp]

2009-08-04 Thread ryniek90
Hi. I started learning regexp, and some things goes well, but most of them still not. I've got problem with some regexp. Better post code here: " >>> import re >>> mail = '\nn...@mail.com\nname1 [at] mail [dot] com\nname2 [$at$] mail [$dot$] com\n' >>> mail '\nn...@mail.com\nname1 [at] mail

Re: how to embed the python interpreter into web App (Mehndi, Sibtey)

2009-07-29 Thread Ryniek90
Hi All I am trying to embed the python interpreter in to a web app but could not get the way, any one can suggest me how to do this. Thanks, Sibtey Mehdi This e-mail (and any attachments), is confidential and may be privileged. It may be read, copied and used only by intended reci

Re: Python-list Digest, Vol 70, Issue 282

2009-07-22 Thread Ryniek90
When i use this class in Python IDLE, i've got this error: " ... Traceback (most recent call last): File "", line 1, in mod.print_module('socket') File "", line 48, in print_module module_open = open(self._this_module, 'rb') IOError: [Errno 2] No such file or directory: ''

Re: Changing the private variables content

2009-07-22 Thread Ryniek90
Got it: exec('self.' + attr + '=\'' + val + '\'') That worked. I think it'll do what you want now ;) Ching-Yun "Xavier" Ho, Technical Artist Contact Information Mobile: (+61) 04 3335 4748 Skype ID: SpaXe85 Email: cont...@xavierho.com Website: http://xavierho.com/

Re: Re: Changing the private variables content

2009-07-22 Thread Ryniek90
Temat: Re: Changing the private variables content Od: Gary Herron Data: Tue, 21 Jul 2009 14:14:44 -0700 Do: Ryniek90 Do: Ryniek90 Kopia: python-list@python.org Ryniek90 wrote: Hi. I'm writing some class, and de

Changing the private variables content

2009-07-21 Thread Ryniek90
Hi. I'm writing some class, and decided to use inside private method and some private variables. While with method i haven't got any problem's with variables i have. Maybe some example. A class with private method and private variable: " >>> class Secret(object): # def __init__(self):

Re: What text editor is everyone using for Python

2009-05-25 Thread Ryniek90
Temat: Re: What text editor is everyone using for Python Od: Esmail Data: Mon, 25 May 2009 14:07:24 -0400 Do: python-list@python.org Do: python-list@python.org LittleGrasshopper wrote: So what do you guys use, and w

Re: Python servlet for Java applet ?

2009-04-24 Thread ryniek90
Temat: Python servlet for Java applet ? Od: Linuxguy123 Data: Fri, 24 Apr 2009 11:34:09 -0600 Do: python-list@python.org Do: python-list@python.org Hi guys. Is there a way to use a python application as the back end (i

Python interpreter speed

2009-04-19 Thread Ryniek90
Hi. Standard Python interpreter's implementation is written in C language. C code while compilation, is compilled into machine code (the fastest code). Python code is compiled into into byte-code which is also some sort of fast machine code. So why Python interpreter is slower than Java VM? B

Sending directory with files in it via sockets

2009-04-17 Thread Ryniek90
Hi. Last time i've got problem with sending big files, but i've already dealt with it. Now, when i want send directory (with some files in it) i iterate that directory for files in it, and then in while loop open iterated files, read them and send. But something's not working. It iterate's firs

Re: What IDE support python 3.0.1 ?

2009-04-16 Thread Ryniek90
Temat: Re: What IDE support python 3.0.1 ? Od: Fabio Zadrozny Data: Wed, 15 Apr 2009 22:25:36 -0300 Do: Deep_Feelings Do: Deep_Feelings Kopia: python-list@python.org I want to start learning python and not wanna was

Re: Python-list Digest, Vol 67, Issue 192

2009-04-12 Thread Ryniek90
Chris Rebert pisze: On Sun, Apr 12, 2009 at 3:38 PM, Ryniek90 wrote: Paul Rubin <http://phr...@nospam.invalid> Ryniek90 writes: When i wanted to send an .iso file of 4GB length, i had traceback: "OverflowError: requested number of bytes is more than a Python stri

Re: Python-list Digest, Vol 67, Issue 192

2009-04-12 Thread Ryniek90
Temat: Re: OverflowError while sending large file via socket Od: Paul Rubin <http://phr...@nospam.invalid> Data: 12 Apr 2009 15:28:43 -0700 Do: python-list@python.org Do: python-list@python.org Ryniek90

OverflowError while sending large file via socket

2009-04-12 Thread Ryniek90
When i wanted to send an .iso file of 4GB length, i had traceback: "OverflowError: requested number of bytes is more than a Python string can hold" Sockets are being used in every network app, i.e: p2p progs (like BitTorrent), and exchanged data is often bigger than 4GB. So why i've had that

Re: GUI Programming

2009-04-12 Thread Ryniek90
I think you should get involved with Eagle Python GUI or Kiwi GUI Framework . Good luck. -- http://mail.python.org/mailman/listinfo/python-list