Hello
I studying some way to print few line in the console that won't scroll down.
If was for a single line I've some idea, but several line it may take some
vertical tab and find the original first position.
I don't know anything about course module, some example will be highly
apreciated.
--
Steven D'Aprano wrote:
> def spinner():
> chars = '|/-\\'
Not exactly.
I'd like to show 4~6 line of report and refreshing periodically all of them,
avoiding to scroll down.
example:
this count 50
Second time 90
following line 110
another line xxx
The lines should remain on their position and u
Hans Mulder wrote:
> A minimalist solution would be to print the labels ("This count", etc.)
> only once, and position the cursor after it to update the report.
Generally a good point. Similar sequences are working for coloring and
formatting text. I don't know whether the program would behave t
Hans Mulder wrote:
> If you use curses, you must initialize it by calling curses.initscr(),
> which returns a "WindowObject" representing the konsole window. To
> put things on the screen, you call methods on this object. Keep in
> mind that a "window" in curses jargon is just a rectangle inside
Hello,
I was trying to find out whose the program launcher, but os.environ['USER']
returns the user whom owns the desktop environment, regardless the program
is called by root.
I'd like to know it, so the program will run with the right privileges.
Is there any standard function on python, that
Kushal Kumaran wrote:
> os.geteuid
This return 0 for *root* . I don't know if it's a standard for all distro.
Mine is Archlinux.
I'd just like to avoid error caused by wrong access by user
--
goto /dev/null
--
http://mail.python.org/mailman/listinfo/python-list
Christopher Head wrote:
> It is. Until Linux capabilities, EUID==0 used to be special-cased in the
> kernel
Thank you all, I got a good learning *and* something to rememeber.
--
goto /dev/null
--
http://mail.python.org/mailman/listinfo/python-list
Hello,
originally with python 2.4 ~ 2.7 (I think) iterating a maildir I was using
++Code+
try:
mbox= mailbox.PortableUnixMailbox(open(mbox,'r'))
except IOError:
# if file not found default is None
mbox= None
while mbox:
msg
Hello,
I'm seldomly writng python code, nothing but a beginner code.
I wrote these lines >>
=
_log_in= mhandler.ConnectHandler(lmbox, _logger, accs)
multhr= sttng['multithread']
if multhr:
_log_in= mhandler.mThreadSession(lmbox, _log
OliDa wrote:
> maybe some clarification about kwargs...
>
> http://stackoverflow.com/questions/1098549/proper-way-to-use-kwargs-in-
python
Great point. Now it's clearer :)
I think I'll share the dictionary which contains the configuration loaded
form a file.
--
goto /dev/null
--
http://mail.
Hello
I wrote a program which was working on python 2.x. I'd like to go for newer
version but I face the problem on how the emails are parsed.
In particular I'd like to extract the significant parts of the headers, but
the query to the servers had turned in to list of bytes.
What could be a metho
Steven D'Aprano wrote:
First of all: thanks for the reply
>> header =_pop.top(nmuid, 0)
> To parse emails, you should use the email package. It already handles
> bytes and strings.
I've read several information this afternoon, mostly are leading to errors.
That could be my ignorance fault :)
F
Kruptein wrote:
> Deditor is a text-editor for python developers,
I'd like a editor that runs programs on trace and highlight the line(s)
where it step into.
Obviously, if running at normale speed it will disable or if the speed is
reduced it will works.
--
goto /dev/null
--
http://mail.pyth
Hello
sorry, I'm bit curious to understand what could be the difference to pack up
a class for some number of functions in it and a simple module which I just
import and use the similar functions?
The only perspective that I think of is that class might instantiate a
function several time. For m
Zach Dziura wrote:
> Just repeat this to yourself: Python ISN'T Java
I never had to do anything in Java. But mostly something in Sumatra :D
I'm getting the point that I'll need class very seldom.
Only to understand some more the use of self, whether I'll use a class.
--
goto /dev/null
--
http:
Hello,
Is it possible to compile a regex by supplying a list?
lst= ['good', 'brilliant'. 'solid']
re.compile(r'^'(any_of_lst))
without to go into a *for* cicle?
--
goto /dev/null
--
http://mail.python.org/mailman/listinfo/python-list
Steven D'Aprano wrote:
> def compile_alternatives(*args):
Thank you all, for these good points. For my eyes seem that explicit or
implicit it will take some looping to concatenate the list elements into a
string.
I will see pypy later.
--
goto /dev/null
--
http://mail.python.org/mailman/lis
John Salerno wrote:
> class Character:
I'd vote to point 1
--
goto /dev/null
--
http://mail.python.org/mailman/listinfo/python-list
Hello
Trying to pop some key from a dict while is iterating over it will cause an
exception.
How I can remove items when the search result is true.
Example:
while len(dict):
for key in dict.keys():
if dict[key] is not my_result:
dict.pop(key)
else:
condition_to_brea
zainul franciscus wrote:
> we are looking for
> some ideas for good functionality for the application. T
I was looking for a file cataloger. this program may go into same category
as far as handling file names ad file system's structures.
It also manage to store unused files into zipped archives
Lie Ryan wrote:
Thank you all for the information, really apreciated.
> While there are legitimate reasons for iterating a dictionary, I'd
> consider the alternatives first.
Perhaps the correct answer is in what you said.
For certain reasons, searching in a dictionary is the fastest method,
se
Terry Reedy wrote:
> Other situations will need other solutions.
>
Like a job's completion list.
Some number of workers get a job, and by time the caller sould know who and
what has finished. Then a dictionary would hold number of remaining jobs.
Similar a downloading list.
--
goto /dev/null
Hello,
I'm looking for an idea how to backup emails retrieved by poplib and save
them into mailbox.mbox file.
The problem is the received message which is a list of bytes streams,
mailbox.mbox don't expect a list.
What conversion should I do?
A file type io.StringIO ?
decoding every bytes stream
Michael Hrivnak wrote:
> Do you have a special reason for wanting to implement
> your own email storage?
Learning python :)
It seems very easy to get my mails with the poplib help.
Usually I work with Kmail which imports mbox files.
I'm not prone to set up a SMTP server on my PC.
--
goto /dev/
Hello,
I'm trying to gather some mail and save it. I don't get why it isn't saved
as expected.
==
>>> import poplib, socket, sys
>>> from configparser import Error as ProtocolError
>>> args= sys.argv[1:] # this is fake but i
Steven D'Aprano wrote:
Thank you very much.
> But if you seek back to the beginning:
>
x.seek(0)
> 0
x.read()
> b'hello'
>
Found the matter and *is* working
I discover another problem:
one message contains also a different encoding, but mostly it is not
possible to represent that wr
aspineux wrote:
> Hope this help someone.
>
Yeah
I will learn alot and surely applying to my code.
Merci Beaucoup
--
goto /dev/null
--
http://mail.python.org/mailman/listinfo/python-list
Irmen de Jong wrote:
> No, I misplaced my crystal ball.
I'm waiting mine, brand new in HD :D, with remote control :D :D
--
goto /dev/null
--
http://mail.python.org/mailman/listinfo/python-list
Hello,
I came across the problem that Gwenview moves the photo from the camera
memory by renaming them, but later I forgot which where moved.
Then I tought about a small script in python, but I stumbled upon my
ignorance on the way to do that.
PIL can find similar pictures. I was thinking to re
Billy Mays wrote:
> It worked surprisingly well even
> with just the 64bit hash it produces.
>
I'd say that comparing 2 images reduced upto 32x32 bit seems too little to
find if one of the 2 portrait has a smile referred to the other.
I think it's about that mine and your suggestion are similar,
smith jack wrote:
> have run this program for many times,and the result is always 5050
You might not need to make it in a multiprocess environment
Try it in the python (3) shell
>>> tot= 0
>>> for k in range(1,100):
... tot += k
... print(tot)
...
And watch the risults.
--
goto /dev/nul
Ian Kelly wrote:
> but if somebody later tries to edit the
> file using 8-space tabs
I came across this and I like to put a note on top of the script
to remember to modify it accordingly.
--
http://mail.python.org/mailman/listinfo/python-list
markolopa wrote:
> I would like to find a good system to keep track of my household
> finance. Do Python programmers have suggestions on that? Do you use
> Python to help on this task?
libreOffice doesn't do it?
--
http://mail.python.org/mailman/listinfo/python-list
Alan Meyer wrote:
> This is not properly portable to all OS, but you could simply split on
> the slash character, e.g.,
>
> pathname.split('/')
more portable pathname.split(os.sep)
--
http://mail.python.org/mailman/listinfo/python-list
守株待兔 wrote:
> from matplotlib.matlab import *
maybe you didn't install it
http://matplotlib.sourceforge.net/
BTW you haven't mention what version of python you're running.
--
http://mail.python.org/mailman/listinfo/python-list
Yingjie Lan wrote:
> #the new way
> x = 1+2+3+4+ #line continues as it is clearly unfinished
>
> 1+2+3+4
>
Genrally I prefer this way.
> Of course, the dot operator is also included, which may facilitate method
> chaining:
>
> x = svg.append( 'circle' ).
Dot-ended is to tiny thing that might c
Amit Jaluf wrote:
> is it necessary indentation in python ?
>
Try without and report it
--
http://mail.python.org/mailman/listinfo/python-list
Jabba Laci wrote:
> Could you please help me out how to close the application correctly?
>
I think you should put a flag into the code, which the parent might modify
it, so it will tell the child process to quit.
Then the flag should need to be read periodically to know whether is time to
quit.
Hello,
I've resumed my hold project and I like to convert it for py3k2.
My knowledge has stagnated at version 2.4, then I found some improvements,
but it will take me some time before I get used to.
I was using this logger >>
===
Gregory Ewing wrote:
> because modern architectures are so freaking complicated
> that it takes a computer to figure out the best instruction
> sequence
certainly is, I would not imagine one who writes on scraps of paper
:D :D :D
--
goto /dev/null
--
http://mail.python.org/mailman/listinfo/py
Vinay Sajip wrote:
WoW :O , the creator !!
> import logging
>
> logging.basicConfig(level=logging.DEBUG)
I'm getting there, but the result it's not what I would.
As far as I got to know, it should take to write a configuration file, which
I still not aware of.
I'd like to just have the 4 condi
TheSaint wrote:
> I'd like to just have the 4 conditions mentioned in the first post.
>
OK, my analysis led me to the print() function, which would suffice for
initial my purposes.
Meanwhile I reading the tutorials, but I couldn't get how to make a
formatter to suppress or ke
Vinay Sajip wrote:
8<
> For Python 3.2 and later, it's the terminator attribute of the
> StreamHandler. See:
8<
> Unfortunately, for earlier Python versions, you'd need to subclass and
> override StreamHandler.emit() to get equivalent functionality :-(
>
I'm with 3.2 and willing to stay :)
I was
Vinay Sajip wrote:
> logging.basicConfig(level=logging.DEBUG, format='%(message)s')
logging.basicConfig(format='%(message)s', level=logging.DEBUG)
I formulated in the reverse order of arguments, may that cause an
unpredicted result?
The other points became clearer..
Once again
Thank You
--
Vinay Sajip wrote:
> No, you can pass keyword arguments in any order - that's what makes
> them keyword, as opposed to positional, arguments.
I getting puzzled :)
==code==
myself@laptop-~> python
Python 3.2 (r32:88445, Apr 15 2011, 1
Hello,
some time ago, I wrote a program to eliminate undesided emails from the
server(s) and leave those which comply to certain filter criteria.
I started it when I got to know whit Python 2.3. Now a days I'd like to
spend some time to improve it, just for my interest, however it didn't
gather
Steven D'Aprano wrote:
> Before you re-write it, you should run 2to3 over it and see how much it
> can do automatically:
Widely done, only the results from some query has radically changed on
favour of unicode. Errors raising about results which are not strings
anymore.
> I'm afraid I don't u
John Machin wrote:
> On Thu, May 12, 2011 2:14 pm, Benjamin Kaplan wrote:
>>
>> If the file you're writing to doesn't specify an encoding, Python will
>> default to locale.getdefaultencoding(),
>
> No such attribute. Perhaps you mean locale.getpreferredencoding()
what about sys.getfilesystemenco
rusi wrote:
> tried to install easy_install (This is on windows)
> I downloaded the executable and ran it. It claimed to have done its
> job.
Perhaps, the abit to just click is disordering some easy steps like copy the
script files into the normal place.
Only when there's a particular copy then
Hello
I've stumble to find a solution to get a list from a set
>>> aa= ['a','b','c','f']
>>> aa
['a', 'b', 'c', 'f']
>>> set(aa)
{'a', 'c', 'b', 'f'}
>>> [k for k in aa]
['a', 'b', 'c', 'f']
I repute the comprehension list too expensive, is there another method?
--
goto /dev/null
--
http:/
Peter Otten wrote:
> mylist = list(myset)
> Do you notice the similarity to converting a list to a set?
>
There was something confusing me yesterday in doing that, but (for me
strangely) I got cleared out.
The point was that after a result from:
newset= set(myset1) & set(myset2)
list= [newset]
Ben Finney wrote:
> Another method to do what?
>
Sorry, some time we expect to have said it as we thought it.
The example was to show that after having made a set
set(aa)
the need to get that set converted into a list.
My knowledge drove me to use a comprehension list as a converter.
In anothe
Hello,
first of all, I'm a dummy in programming. My methods are just do-it-and-try-
it.
For more convinience I commonly using and go with step-into
and breakpoints.
Lately I was setting a class, but it's incomplete and just calling it at the
pdb prompt line I can't use breakpoints or stop it to
SigmundV wrote:
> I think the OP wants to find the intersection of two lists.
> list(set(list1) & set(list2)) is indeed one way to achieve this. [i
> for i in list1 if i in list2] is another one
Exactly. I was confused on that I wasn't able to have a list in return.
The set intersection is the sm
Chris Torek wrote:
> >>> x = ['three', 'one', 'four', 'one', 'five']
> >>> x
> ['three', 'one', 'four', 'one', 'five']
> >>> list(set(x))
> ['four', 'five', 'three', 'one']
Why one *"one"* has purged out?
Removing double occurences in a list?
--
goto /dev/null
--
http://mail.python.org/mailman/
Steven D'Aprano wrote:
s = set()
s.add(42)
s.add(42)
s.add(42)
print s
> set([42])
Good to know. I'll remember it
--
goto /dev/null
--
http://mail.python.org/mailman/listinfo/python-list
Thomas Rachel wrote:
> Which loops do you mean here?
list(set) has been proved to largely win against
list = []
for item in set:
list.append(item)
or [list.append(item) for item in set]
--
goto /dev/null
--
http://mail.python.org/mailman/listinfo/python-list
hello,
I'm using to launch a program by subprocess.getstatusoutput. I'd like to
know whether I can get the program ID, in order to avoid another launch.
For clarity sake, I'm calling aria2 (the download manager for linux) and I
wouldn't like to call one more instance of it. So what will I use t
Miki Tebeka wrote:
> The best module for doing such things is subprocess. And the Popen object
> has a pid attribute
I knew that, it's my fault that I'm not good to manage with popen. I found
simplier to use subprocess.getstatusoutput. Maybe this function doesn't
return the child pid, so I shou
Kushal Kumaran wrote:
> That's how it is able to give you the status. So, if you
> are using getstatusoutput, you will have only one instance of your
> command running.
My intent is to launch only one program instance, which will goes as daemon.
To avoid a second call I'd like rather to use Pyth
Kushal Kumaran wrote:
> You could look for a way to make aria2c not become a daemon and use
> subprocess.Popen to start it. That gives you the PID and ways to see
> if the process is still running
I see. It's a step that I've to get on my account. Unfortunately I'll have
to study it some more.
GMail Felipe wrote:
> For the "ps" command, have you seen the psuti module?
>
> The link to it is: http://code.google.com/p/psutil/
You gave a brand new start :)
I bit of additional program to include into the package ;)
--
goto /dev/null
--
http://mail.python.org/mailman/listinfo/python-lis
Anssi Saari wrote:
> Couldn't you just try to call something via this handle, like
> self.handle.aria2.getVersion()? If there's an error, then start aria2
> as a daemon and try again.
>
Very good, you're right. Furthermore I should avoid to call that function
several times. I think to join it w
Hello.
I'm looking into subprocess.Popen docs.
I've launch the program with its arguments and that's smooth. I'm expecting
to read the output by *comunicate()* at every line that prgram may blow
during the process, but the output is given only when the child process is
ended.
I'd like to process
Tim Roberts wrote:
> Are you specifying a buffer size in the Popen command? If not, then the
> Python side of things is unbuffered
The buffer is as per default. The program reports one line around 1/2 second
time.
I think I'll look into the option as Nobody states:
p = subprocess.Popen
Chris Rebert wrote:
> What do you mean by "on-the-fly" in this context
I just suppose to elaborate the latest line, as soon it's written on the
pipe, and print some result on the screen.
Imaging something like
p= Popen(['ping','-c40','www.google.com'], stdout=PIPE)
for line in p.stdout:
TheSaint wrote:
> I just suppose to elaborate the latest line, as soon it's written on the
> pipe, and print some result on the screen.
I think some info is also here:
http://alexandredeverteuil.blogspot.com/
--
goto /dev/null
--
http://mail.python.org/mailman/listinfo/python-list
Chris Torek wrote:
> In at least some versions of Python 2
I'm with P3k :P. However thank you for your guidelines.
Last my attempt was to use a *for* p.wait() , as mentioned earlier
That looks good enough. I noted some little delay for the first lines,
mostly sure Popen assign some buffer even
Chris Torek wrote:
> Since it is a generator that only requests another line when called,
> it should be fine
Is it, then, that until the new itaration, the callee is on pause?
--
goto /dev/null
--
http://mail.python.org/mailman/listinfo/python-list
On 17:02, sabato 30 settembre 2006 TheSaint wrote:
> Hello NG,
>
> Curious to know whether exists a filter class.
> I'm doing some rough mail filtering on my own criteria, but I'm very new on
> programming and I like to find some clue on passing a config file of rules
Hello!
Is there a more pythonic way to implement the following program:
8<--8<--8<--8<--
#! /usr/bin/env python
import os
import sys
a = os.listdir('/media')
# no mount dirs were found, exit nicely
if len(a) == 0:
sys.exit(0)
# Maybe co
Maric Michaud wrote:
> Le Samedi 10 Juin 2006 17:44, TheSaint a écrit :
>>
> begin using more explicit variable names.
Frankly it's a very rooted way of programming, since C64 basic :-)
A part of this, how python catch variables, the longer the slower, isn't it?
Even sup
Maric Michaud wrote:
> Le Samedi 10 Juin 2006 17:44, TheSaint a écrit :
> devices = [ e for e in devices if e.split('/')[-1] in partitions ]
This is _not_ the expected result :)
is missing a not as :
devices = [ e for e in devices if e.split('/')[-1] *not* in parti
George Sakkis wrote:
>
> If by 'rooted' you mean old enough, so is 'goto'...
I was meaning a sort of (very) old style of programming. In fact I wrote
some few hundreds lines on my own, but probably memory was much better
the :)
> will
> thank yourself for doing so if you have to go back at th
Hello there,
I still learning, but I couldn't find anything which tells me where a
symlink is pointing to.
A part of os.system('ls -l ' + path) and cutting down to the need, I haven't
got any specialized function.
F
--
http://mail.python.org/mailman/listinfo/python-list
Hello NG,
Curious to know whether exists a filter class.
I'm doing some rough mail filtering on my own criteria, but I'm very new on
programming and I like to find some clue on passing a config file of rules
which will be regex by Python.
TIA
--
http://mail.python.org/mailman/listinfo/python-lis
Hello,
I'm not a master of python :) If I would publish my program for reviewing,
where should I upload it?
--
http://mail.python.org/mailman/listinfo/python-list
On 18:15, mercoledì 21 maggio 2008 alex23 wrote:
> On May 21, 7:52 pm, TheSaint <[EMAIL PROTECTED]> wrote:
> There's also http://python.pastebin.com, which lets you create a new
> paste by modifying an existing one, and keeps them linked for easy
> diff
On 22:26, mercoledì 21 maggio 2008 zhf wrote:
> I want ro walk a directory and its sub directory on linux
os.path.walk() should do the job.
Recursively you should try this, which I found on some web site:
8<-8<-8<-8<-8<-8<-
def file_find(folder, f
On 22:32, mercoledì 21 maggio 2008 [EMAIL PROTECTED] wrote:
>> appreciate somebody to join and put new views on this project
>
> Send us a link to one of the sites with your code, eg.
> http://python.pastebin.com
Thank you!
Go to : http://it.geocities.com/call_me_not_now/index.html
--
http://ma
On 10:48, giovedì 22 maggio 2008 alex23 wrote:
> Have you thought about putting the full project somewhere like
> http://code.google.com/ ?
Greatly apreciated your suggestion, unfortunately I saw it a bit late ;)
My project is available at http://it.geocities.com/call_me_not_now/index.html
I li
On 06:59, sabato 24 maggio 2008 Johannes Bauer wrote:
> However, this "assignment and comparison" is not working. What's the
> "Python way" of doing this kind of thing?
If you want speak a language that isn't understood mostly you'll face
unexpected risults.
When you got started with C/C++, were
On 19:14, sabato 24 maggio 2008 Johannes Bauer wrote:
> Well, I do not really see your point
You wrote C statements and I felt that you were trying to apply to python
interpreter.
I think that a minimun of knoweledge on python grammar it's the base for
doing some programming.
If your examples were
On 19:48, martedì 27 maggio 2008 Alex Gusarov wrote:
> I tried Eric (on windows), but then decided in favour of Eclipse +
> PyDev.
I'm a KDE fan :) and I like Qt design. I've Qt designer installed, but I much
like if I can use an IDE which write python code, rather than wrappers.
I've just been
hi there,
I've started to build a GUI for my Mailsweeper by the help of QT4 Designer.
I came across the problem that there isn't any prebuild file browser like
Kdialog.
I know some other sample, but PyGTK builded. I'm not happy to use a different
widget set or to have to design my own file browser
On 22:39, sabato 31 maggio 2008 Sebastian 'lunar' Wiesner wrote:
> What about QtGui.QFileDialog?
Yeah! Thank you!
So strange that I was looking for all around and it was already in my
computer.
I'm gonna back to study a little function that will return an existing/new
file or None (if Cancel is p
On 22:01, sabato 31 maggio 2008 globalrev wrote:
> also, lets say i want to send a SMS to my own phone from the internet.
> how would i do that?
IMO, nowadays free SMS sending, via internet, is gone. There should be the
chance from one's own subscribed network.
--
Mailsweeper Home : http://it.ge
On 02:48, domenica 01 giugno 2008 TheSaint wrote:
> I'm gonna back to study a little
I'm facing tough time, I can't get clear by Trolltech's C++ examples.
I'm a bit puzzled :), I'd like to remain with the QT widget set, but hard
learning curve.
Other simplified d
On 19:59, domenica 01 giugno 2008 Gilles Ganault wrote:
> require rich widgets like (DB)grids, calendars, etc.
Qt seems to go a bit further. Try Eric4 as SDK.
--
Mailsweeper Home : http://it.geocities.com/call_me_not_now/index.html
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
I using eval for quite strange reason, as long as I don't know a different
way to implement.
An example:
actions= ('print', 'sum', 'divide', 'myfunction')
parameters=(5, 'nothing',5.63, object)
for routines in actions:
routines(parameters)
I'd like to note that actions are string or st
On 19:06, lunedì 02 giugno 2008 Chris wrote:
>> actions= ('print', 'sum', 'divide', 'myfunction')
>> parameters=(5, 'nothing',5.63, object)
8< 8<
> getattr(...)
> getattr(object, name[, default]) -> value
8< 8<
> for nn in actions:
> func = getattr(cp, nn)
> if callable(func):
>
On 22:00, lunedì 02 giugno 2008 Paul Melis wrote:
> This doesn't exactly make sense, as what you want isn't really clear...
Sorry, I'm bad to express my toughts even I my nature language :)
I'll give a go to getattr() and see whether the results come in my taste :)
--
Mailsweeper Home : http://i
On 06:15, martedì 03 giugno 2008 Mensanator wrote:
> In Access, I create a query with this SQL:
But this isn't python itself.
I'd like to see a small function to let 'locate' the cursor into a TTY
console. Surely it can't scroll.
If it is not possible, then ncurses is the way. I don't know if it w
On 14:25, martedì 03 giugno 2008 Roopesh wrote:
> This error is because of the presence of \', \", \n etc.
>
> I had to do the following to make it work.
> address[i].replace("\'",'').replace('\"','').replace('\n','')
>
it's rather ugly :)
I suggest use re module as follow:
import re
address[i]
On 00:11, mercoledì 11 giugno 2008 Tim Golden wrote:
> "%USERPROFILE%/dir/file".
os.environ('USERPROFILE') should return an info regarding that environment
variable.
I guess that, not yet tried.
--
Mailsweeper Home : http://it.geocities.com/call_me_not_now/index.html
--
http://mail.python.org/ma
Hi,
I'm very new with classes. I still reading something around ;)
I got started to try a concatenation of 2 type of string, which have a
particular property to start with A or D.
My class here:
""" Small class to join some strings according to the leading first
letter"""
def __init
On 16:47, mercoledì 11 giugno 2008 Chris wrote:
> SciTE and Notepad++
Pype, spe, just to point it out. Jedit, but rather a bloatware.
I'd like to know which is the litest multi platform and indipendent.
Pype is very good when compiled in exe, but not doing in Linux in that way.
--
Mailsweeper Ho
On 12:20, mercoledì 11 giugno 2008 cirfu wrote:
> patzln = re.compile("(\w* *)* zlatan ibrahimovic (\w* *)*")
I think that I shouldn't put anything around the phrase you want to find.
patzln = re.compile(r'.*(zlatan ibrahimovic){1,1}.*')
this should do it for you. Unless searching into a specia
On 00:15, giovedì 12 giugno 2008 Ethan Furman wrote:
> I like Vim (Vi Improved)
What about justifying text ?
--
Mailsweeper Home : http://it.geocities.com/call_me_not_now/index.html
--
http://mail.python.org/mailman/listinfo/python-list
On 01:37, giovedì 12 giugno 2008 Ethan Furman wrote:
> Do you mean indenting, or wrapping?
I mean fill the line by increasing spaces between words in order to get a
paragraph aligned both side, left and right on the page.
So if the width is 78 chars it wouldn't have jig saw end to the right side,
1 - 100 of 117 matches
Mail list logo