unicode is a simple python command line utility that displays
properties for a given unicode character, or searches
unicode database for a given name.
It was written with Linux in mind, but should work almost everywhere
(including MS Windows and MacOSX), UTF-8 console is recommended.
˙pɹɐpuɐʇs ə
This is generic colouriser, version 1.12
grc is a colouriser configured by regular expressions, including
a simple command line wrapper for some commonly used unix commands.
Notable changes in this version:
- add several configuration files
- pass invalid UTF-8 unchanged, if possible
- fix
Terry Reedy wrote:
> On 12/31/2020 9:36 AM, garabik-news-2005...@kassiopeia.juls.savba.sk wrote:
>> unicode is a simple python command line utility that displays
>> properties for a given unicode character, or searches
>> unicode database for a given name.
> ...
>> C
unicode is a simple python command line utility that displays
properties for a given unicode character, or searches
unicode database for a given name.
It was written with Linux in mind, but should work almost everywhere
(including MS Windows and MacOSX), UTF-8 console is recommended.
˙pɹɐpuɐʇs əp
سكس اسرائيلى موقع سميرة الشرموطة موقع الشرموطة سميرة موقع ميلتا للجنس العربي
موقع مليتا للسكس العربي موقع مليتا موقع 89
--
https://mail.python.org/mailman/listinfo/python-list
سكس اسرائيلى موقع سميرة الشرموطة موقع الشرموطة سميرة موقع ميلتا للجنس العربي
موقع مليتا للسكس العربي موقع مليتا موقع 89
سكس منيوكه مرفت جنس منيوكة مصرية منديات عرب لبنان سكس منتديات فلام إغتصاب
منتديات سكسية منتديات سكس منتديات شرموطة منتديات رومنسي السكسية منت
https://mslslat2017.blogspot
Robert O'Shea wrote:
> I just want to get into the basics for the moment, eventually getting into
> stuff like machine learning and NLP (Natural Language Processing).
You cannot do wrong by starting with NLTK (https://www.nltk.org/) and
scikit (http://scikit-learn.org/)
--
unicode is a simple python command line utility that displays
properties for a given unicode character, or searches
unicode database for a given name.
It was written with Linux in mind, but should work almost everywhere
(including MS Windows and MacOSX), UTF-8 console is recommended.
˙pɹɐpuɐʇs əp
polynice is a nice(1)-like command line utility for unix systems to
throttle long running processes beyond what can be achieved by nice(1),
by repeatedly suspending and resuming the process.
It is written for python3, though there is some python2.6 & 2.7 compatibility.
Author:
Radovan Garabík
UR
zipher wrote:
> Would it be prudent to rid the long-standing "argument" (pun
> unintended) about self and the ulterior spellings of it, by changing
> it into a symbol rather than a name?
>
> Something like:
>
> class MyClass(object):
>
> def __init__(@):
> @.dummy = None
Believe
polynice is a nice(1)-like command line utility for unix systems to
throttle long running processes beyond what can be achieved by nice(1),
by repeatedly suspending and resuming the process.
It is written for python3, though there is some python2.7 compatibility.
Author:
Radovan Garabík
URL:
htt
unicode is a simple python command line utility that displays
properties for a given unicode character, or searches
unicode database for a given name.
It was written with Linux in mind, but should work almost everywhere
(including MS Windows and MacOSX), UTF-8 console is recommended.
˙pɹɐpu
This is generic colouriser, version 1.7.
grc is a colouriser configured by regular expressions, including
a simple command line wrapper for some commonly used unix commands.
Notable changes in this version:
- add the possibility to replace text in addition to colouring
- add several configurat
pydf displays the amount of used and available space on your
filesystems, just like df, but in colours. The output format is
completely customizable.
pydf was written and works on Linux, but should work also on other
modern UNIX systems.
URL:
http://kassiopeia.juls.savba.sk/~garabik/software/pydf
verynice is a nice(1)-like command line utility for unix systems to
throttle long running processes beyond what can be achieved by nice(1),
by repeatedly suspending and resuming the process.
Author:
Radovan Garabík
URL:
http://kassiopeia.juls.savba.sk/~garabik/software/verynice/
License:
GPL (v3
Andrew Berg wrote:
> On 2013.04.05 20:07, Roy Smith wrote:
>> I know this is off-topic, but I encourage people to NOT invent their own
>> licenses.
> Perhaps he meant this existing license: http://www.wtfpl.net/about/
I like the Python Powered Logo license by Just van Rossum (Guido's
brother, in
Jabba Laci wrote:
> Hi,
>
> I'd like to set autoflush on/off in my script. I have a loop that is
> checking something and every 5 second I want to print a '.' (dot). I
> do it with sys.stdout.write and since there is no newline, it is
> buffered and not visible immediately.
My solution is sys.st
Jorge Alberto Diaz Orozco wrote:
> I want to use a reliable UDP connection like you say, a TCP like
> connection but over UDP. thaks for your recomendation, if I get good
> results I promise to share them.
>
utalk (long since disappeared from the surface of the internet) did have
such an implemen
K. Elo wrote:
> Practically I am looking for something similar than Pascal's
> "keypressed" function
As already mentioned, (n)curses is a good solution.
However, if you need/want to go to lower levels, you can read
/dev/input/event* like this (excerpt from one of my programs):
def opendevs()
unicode is a simple python command line utility that displays
properties for a given unicode character, or searches
unicode database for a given name.
It was written with Linux in mind, but should work almost everywhere
(including MS Windows and MacOSX), UTF-8 console is recommended.
˙pɹɐpu
Jordan Bylsma wrote:
> I'm looking into writing a python script that colorizes particular
> hops when using traceroute. Anyone run across something like this? I
> don't think it would be extremely difficult to write but some example
> code would help.
>
Generic Colouriser
http://kassiopeia.juls
Chris Angelico wrote:
> On Fri, Sep 7, 2012 at 10:53 PM, Ramyasri Dodla wrote:
>> I am brand new to python. checking over basic stuff. I came across the
>> problem while doing so. If any body aware of the problem, kindly respond me.
>>
> 5/10
>> 0
> - 5/10
>> -1
>>
>> The second case also
t_texas wrote:
> On Jun 6, 7:50 am, loial wrote:
>> I have a requirement to test the creation time of a file with the
>> current time and raise a message if the file is more than 15 minutes
>> old.
>>
>> Platform is Unix.
>>
>> I have looked at using os.path.getctime for the file creation time a
Tomasz Rola wrote:
> If you are on tight budget and depend so much on Python, I'm afraid you
> should either:
>
> a. grow your budget
>
> b. try another language
such as PyMite...
--
---
| Radovan Garabík http://kassiopeia.juls.savba.
Thomas Jollans wrote:
> It looks like you don't actually care about the encoding: in your first
> example, you use the default system encoding, which you do not control,
> and in your second example, you're using two different encodings on the
> two platforms. So why do you care whether or not t
harrismh777 wrote:
these will run on either Python2 or
> Python3... except that if you substitute xrange() for range() for
> Python2 they will throw an exception on Python3... doh.
if 'xrange' not in dir(__builtins__):
xrange = range
at the beginning of your program will fix that.
--
Gnarlodious wrote:
> My scripting has grown to the point where the Apache server is a
> problem. My Python websites run and quit, which means I need to save
> data and recreate everything next page load. Bulky and slow. What is
> the simplest solution?
Karrigell?
--
On Dec 11, 12:59 pm, MrJean1 wrote:
> In general, for shared libraries, you need to define those first as
> prototype using ctypes.CFUNCTYPE() and then instantiate each prototype
> once supplying the necessary parameter flags using
> prototype(func_spec, tuple_of_param_flags). See sections 15.16
Hi everyone,
I've been experimenting with the ctypes module and think it's great.
I'm hitting a few snags though with seg faults. I attached two links
that holds the code. The line i'm having problems with is this,
sn=clibsmi.smiGetNextNode(pointer(sno),SMI_NODEKIND_ANY)
It will work one time,
Dax Bloom wrote:
...
> I look to have
> python take a dictionary file or a string input and replace the
> consonants in it with the Grimm rule equivalent.
...
> How easy is it to find the python functions
> to do that?
>
http://code.activestate.com/recipes/81330-single-pass-multiple-replace/
--
Navkirat Singh wrote:
> Hi Guys,
>
> I am programming a web centric app in python for customer, which needs
> to click a snap of the customer and forward the pic to the server via
> POST. I am not very familiar with how I can achieve this. Any
> direction would be much appreciated.
>
For somethi
dmtr wrote:
>
> What I'm really looking for is a dict() that maps short unicode
> strings into tuples with integers. But just having a *compact* list
> container for unicode strings would help a lot (because I could add a
> __dict__ and go from it).
>
At this point, I'd suggest to use one of th
hiral wrote:
> Hi,
>
> Is there any module/utility like 'rsync' in python.
>
http://freshmeat.net/projects/pysync/
http://vdesmedt.com/~vds2212/rsync.html
--
---
| Radovan Garabík http://kassiopeia.juls.savba.sk/~garabik/ |
| __..--^^^-
Harishankar wrote:
>
>> Just opening, and then saving the same file with no changes at all,
>> resulted in a 72 byte file growing to 920.
>>
>> I thought it was GIF87a vs GIF89a... but have since come to determine it
>> doesn't appear to be. I decided to give PNG a try again, since those
>> extr
KLEIN Stéphane wrote:
> Hi,
>
> Today, I've show this static web site generating tools write in ruby :
>
> * http://webgen.rubyforge.org/index.html
> * http://nanoc.stoneship.org/about/
> * http://webby.rubyforge.org/tutorial/
>
> I like this tools, I'm wonder if there are similar tools in Pyth
blumenkraft wrote:
> Hi,
>
> I want to share dictionary between two distinct processes.
>
...
> I have looked at POSH, but it requires master process that will fork
> childs. I want read-only sharing between completely unrelated
> processes.
> Is it possible?
Depends on your exact needs - dbm o
Emanuele D'Arrigo wrote:
> Greetings everybody,
>
> some time ago I saw a paper that used an XSL transformation sheet to
> transform (if I remember correctly) a Chinese xml file (inclusive of
> Chinese-script XML tags) into an XHTML file.
>
> More recently you might have all heard how the ICANN
Bobby wrote:
> Hello,
> We are looking for Python server developer
> location : Hyderabad
> Experience : 3 years .
> Send me your updated resume with availability for Telephonic interview
Hyderabad, India or Hyderabad, Pakistan?
(no, I am not going to apply in either case, even if I think I do
qu
Santiago Romero wrote:
>> Hey, I got 100% with ASM ZX Spectrum emulator on a low end 386 :-) (I do
>> not remember the CPU freqeuncy anymore, maybe 25MHz).
>
> Yes, in ASM a simple 25 or 33Mhz 386 computer was able to emulate
> the
> Spectrum. At least, under MSDOS, like did Warajevo, Z80, x128 a
Santiago Romero wrote:
>
>> > #define STORE_nn_rr(dreg) \
>> > r_opl = Z80ReadMem(r_PC); r_PC++;\
>> > r_oph = Z80ReadMem(r_PC); r_PC++; \
>> > r_tmp = dreg; \
>> > Z80WriteMem((r_op),r_tmpl, regs); \
Steven D'Aprano wrote:
...
> But if you absolutely have to write to the program file, then append your
> data to the end of the file (as a comment) and later read that, rather
> than modifying the actual code in place. That is, you fetch the
> LAST_VERSION by reading the last non-empty line in
Chris Rebert wrote:
> On Sun, Sep 27, 2009 at 8:13 PM, edwithad wrote:
>> I am sure you have not read a question this basic in some time, but I am
>> curious. Using Linux I open a terminal window and type: python.
>>
>> Does Bash Shell go away and to become a Python Shell, or is it still a Bash
>
Donn wrote:
> On Saturday 12 September 2009 07:55:14 Lie Ryan wrote:
>> > f=ImageFont.truetype("FGTshgyo.TTF",1,encoding="utf-8")
>> > print f.font.family
>> > '?s'
>> Are you sure that your terminal (Command Prompt/bash/IDLE/etc) supports
>> utf-8 and that it is properly set up to display
John Kelly wrote:
>
> dh, the daemon helper
...
> dh is its name; a natural companion to sh.
>
A useful little program, but...
this might be OT, but let me point out that the name collides
with Debian's debhelper (also invoked as dh)
--
-
r wrote:
> Some may say well how can we possibly force countries/people to speak/
> code in a uniform manner? Well that's simple, you just stop supporting
> their cryptic languages by dumping Unicode and returning to the
> beautiful ASCII and adopting English as the universal world language.
v>
J. Cliff Dyer wrote:
> I had an objection to using spaces in numeric literals last time around
> and it still stands, and it still stands in the new one.
>
Or, we can use U+00A0 NO-BREAK SPACE, once we already have unicode
variable names :-)
(probably some people would find it difficult to type,
In comp.lang.python James Harris wrote:
> On 22 Aug, 10:27, David <71da...@libero.it> wrote:
...
>>
>> What about 2_1011, 8_7621, 16_c26h or 2;1011, 8;7621, 16;c26h ?
>
> They look good - which is important. The trouble (for me) is that I
> want the notation for a new programming language and a
Diez B. Roggisch wrote:
> Joel Juvenal Rivera Rivera schrieb:
>> I been thinking how to make a 'bash like history shell' in python,
>> i don't know if with stdin and stdout i can accomplish this or do i
>> need something like curses and stuff like that, anyway im start to
>> figure this out.
>> Do
Frédéric Léger wrote:
> I use Debian Lenny and I tried to install the tarball packaging of the
> lastest python realease (http://www.python.org/download/, release
> 3.1). After read README file I launch standard Makefile commands. But
> at the end of "make" command, I have got this message:
>
M
Thorsten Kampe wrote:
> lines". That *is* *exactly* nothing.
>
> Another guy claims he gets times between 2.9 and 6.2 seconds when
> running decode/unicode in various manifestations over "18 million
over a sample of 60 words (sorry for not being able to explain
myself clear enough so th
Thorsten Kampe wrote:
> * garabik-news-2005...@kassiopeia.juls.savba.sk (Fri, 7 Aug 2009
> 17:41:38 + (UTC))
>> Thorsten Kampe wrote:
>> > If you increase the number of loops to one million or one billion or
>> > whatever even the slightest completely negligi
Thorsten Kampe wrote:
> * Steven D'Aprano (06 Aug 2009 19:17:30 GMT)
>> What if you're writing a loop which takes one million different lines of
>> text and decodes them once each?
>>
>> >>> setup = 'L = ["abc"*(n%100) for n in xrange(100)]'
>> >>> t1 = timeit.Timer('for line in L: line.deco
MRAB wrote:
> Justin DeCell wrote:
>> Hi All,
>>
...
>> The only other way I thought
>> of would be to write to a file on disk every so often from the daemon
>> and just read the from the query process but it seems like there should
>> be a more elegant way to do this...
>>
>> By the way I'
Tim Harig wrote:
> On 2009-07-09, Alex Rosslyn wrote:
>> I would like to learn a way of changing the colour of a particular
>> part of the output text. I've tried the following
> On Unix operating systems this would be done through the curses interface:
>
> http://docs.python.org/library/curses
Andre Engels wrote:
> On Mon, Jun 22, 2009 at 6:58 PM, zelegolas wrote:
>> Let me know if it's the right place to ask.
>>
>> I'm looking for wiki writen with python where I can import all
>> wikipedia site.
>> If you have any links please let me know.
>
> I don't think that's possible. If you wna
Hans Müller wrote:
> Hello experts,
>
> I'm looking for secure way to pass messages from a python program to a
> c-library in both ways.
>
> This scenario is given:
>
> display client Calculation module in
> COBOL (yes, big, old but it works well)
> (p
Barak, Ron wrote:
>
>
>
> I thought maybe someone has a way to unzip just the end portion of the
> archive (instead of the whole archive), as only the last part is needed
> for reading the last line.
dictzip (python implementation part of my serpento package)
you have to compress the file with
IL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
On Apr 27, 2:37 am, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote:
On Sat, 26 Apr 2008 20:35:29 -0700, rustom wrote:
> On Apr 27, 12:31 am, [EMAIL PROTECTED] wrote:
>> On Apr 26, 1:14 pm, "Rustom Mody&qu
Jeremy Nicoll - news posts <[EMAIL PROTECTED]> wrote:
> If I understand correctly, when I import something under Windows, Python
> searches the directory that the executing script was loaded from, then
> other directories as specified in "sys.path".
Sorry to followup m
If I understand correctly, when I import something under Windows, Python
searches the directory that the executing script was loaded from, then other
directories as specified in "sys.path".
I assume there are standard locations inside my installed Python - in my
case inside: C:\Program Files\~P-f
Statestep (which includes Python code generation) might
be something to look at.
It's designed to help the user create simplified rules
to begin with rather than derive them post hoc (it's
really for much bigger problems where enumerating
individual rules like you've done would be impractical)
...
On Nov 12, 5:39 pm, ChairmanOfTheBored <[EMAIL PROTECTED]>
wrote:
> On Mon, 12 Nov 2007 22:07:39 -, [EMAIL PROTECTED] wrote:
> >On Nov 12, 11:29 am, "radiosrfun" <[EMAIL PROTECTED]> wrote:
>
> >> It was MUSLIMS who killed close to 3000 people of all races/religions.
>
> >Where is your proof ???
nators and congressmen are the
same ASHKENAZI KHAZAR JEWS.
Tom Lantos and Diane Feinstein are two of the most crooked senators
from CALIFORNIA and both Ashkenazi and khazar.
LAPD to RACIALLY PROFILE MOSLEMS:
http://www.latimes.com/news/local/la-me-lapd9nov09,0,1646403.story?pa...
LAPD to build
On Nov 11, 5:48 am, "GOH, Kheng-Swee" <[EMAIL PROTECTED]>
wrote:
> On Tue, 06 Nov 2007 17:53:01 -, [EMAIL PROTECTED] wrote:
>
> ...
>
> >Using an innovative system of pigeons
> >for communication and encoded letters, ...
>
> I didn't believe you until I read that part. It all makes sense now!
On Nov 10, 2:22 pm, "Frank Arthur" <[EMAIL PROTECTED]> wrote:
> <[EMAIL PROTECTED]> wrote in message
>
> news:[EMAIL PROTECTED]
>
> >A Jew hacker in California admits distributing malware that let him
> > steal usernames and passwords for Paypal ac
://www.latimes.com/news/local/la-me-lapd9nov09,0,1646403.story?page=2&coll=la-home-center
LAPD to build data on Muslim areas
Anti-terrorism unit wants to identify sites 'at risk' for extremism.
By Richard Winton, Jean-Paul Renaud and Paul Pringle, Los Angeles
Times Staff Writers
November 9, 200
911 carried out by evil jews and mossad
http://www.guba.com/watch/2000991770
911 truckload of Explosives on the George Washington Bridge
http://www.youtube.com/watch?v=J520P-MD9a0
Benjamin Freedman's SEMINAL TESTIMONIAL SPEECH
http://video.google.com/videoplay?docid=3552214685532803163
Benjamin
Rothschilds control half the world's wealth directly and indirectly
using zionist proxies, and loyalty based on the zionist racist cult
History of the Rothschilds part 1
http://www.youtube.com/watch?v=o_u2MaNg-EQ
History of the Rothschilds part 2
http://www.youtube.com/watch?v=o2cw-0N_Unk
FBI, W
The world have been after Bill Gates for no reason. The richest group
was and remains the Zionist jew Rothschilds family who own HALF the
worlds total wealth through numerous frontmen zionists.
Mikhail Khodorkovsky, whom Russian President Vladimir I Putin put in
jail rose from the Rothschilds mone
Thanks for the useful info ... appreciate your efforts.
On Oct 26, 10:37 am, [EMAIL PROTECTED] wrote:
> http://www.ft.com/cms/s/0/56cb5b92-10a7-11dc-96d3-000b5df10621.html?n...
>
> Harvard legal expert vows to sue lecturers boycotting Israel
>
> By Jon Boone
>
> Published: June 2 2007 03:00
>
> A
On Nov 5, 4:55 pm, Ivar Rosquist <[EMAIL PROTECTED]> wrote:
> On Mon, 05 Nov 2007 21:43:09 +, zionist.news wrote:
> >http://www.youtube.com/watch?v=BdB2r1ss5Wk
>
> >http://www.jewwatch.com/ <- excellent source for well researched
> > news on world eve
http://www.youtube.com/watch?v=BdB2r1ss5Wk
http://www.jewwatch.com/ <- excellent source for well researched
news on world events and the big movers of history
--
http://mail.python.org/mailman/listinfo/python-list
Tim and Gabriel,
Thank you so much. I was able to find and remove the special character from the
line below and another one after it.
The error has now gone away.
Thanks also for the chdir solution, though I did not need it this time. The fix
above was exactly what it needed to work.
I have my
how to.
Thanks.
Sandipan
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Sandipan News
Sent: Wednesday, August 29, 2007 9:41 PM
To: 'Méta-MCI (MVP)'; python-list@python.org
Subject: RE: Pythonwin Install COM exceptions on Windows Vista Ultimate
How do
How do I deactivate UAC and Router?
I did run as Administrator and installed both Python and Pythonwin into
c:\Python25\
This is the error I got ...
Here is the log at the end of the install:
Copied pythoncom25.dll to C:\Outils\Python\pythoncom25.dll
Copied pywintypes25.dll to C:\Outils\Python\
Aug 28, 8:20 pm, "Sandipan News" <[EMAIL PROTECTED]> wrote:
> What do I do? Can't do without Python!
> Any experience, advice, hope is welcome.
> Thanks.
> Sandipan
You need to post the error traceback along with some more information
so the community can help.
Mike
--
ht
What do I do? Can't do without Python!
Any experience, advice, hope is welcome.
Thanks.
Sandipan
--
http://mail.python.org/mailman/listinfo/python-list
I'm new to Python, but I've been thrown into coding a pretty
complicated regression testing script. I need to email the log of the
daily test to the code owners. I thought I could use SMTPHandler for
this, but our email system requires authentication. I have not been
able to figure out how to lo
Ksenia Marasanova <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am looking for a library that will give me very simple text
> representation of HTML.
> For example
> TitleThis is a test
>
> will be transformed to:
>
> Title
>
> This is a
> test
>
>
> i want to send plain text alternative of html ema
This summary is tagged as being in ISO-8859-1 encoding:
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
However, it really is in UTF-8, which results in this mojibake:
>
> Martin v. Löwis and Marc-Andre Lemburg discussed how to include both
--
-
robin <[EMAIL PROTECTED]> wrote:
> hi,
> i remember seeing this simple python function which would take raw html
> and output the content (body?) of the page as plain text (no <..> tags
> etc)
> i have been looking at htmllib and htmlparser but this all seems to
> complicated for what i'm looking f
Michael Sperlle <[EMAIL PROTECTED]> wrote:
> Is it possible? Bestcrypt can supposedly be set up on linux, but it seems
> to need changes to the kernel before it can be installed, and I have no
> intention of going through whatever hell that would cause.
>
> If I could create a large file that coul
[EMAIL PROTECTED] wrote:
> Suggest keeping it simple:
>
> def use_file():
> return open(options.filename).readlines()
>
> m
>
Very cool..
Didn't know you could do that.
--
http://mail.python.org/mailman/listinfo/python-list
Hi Everyone,
The attached code creates client connections to websphere queue managers
and then processes an inquiry against them.
The program functions when it gets options from the command line.
It also works when pulling the options from a file.
My issue is that it only processes the first l
Hi everyone,
Just to be complete, my final solution was:
parser = OptionParser()
parser.add_option("-m","--qmanager", dest="qmanager",
help="\t\tQueue Manager to inquire against"),
parser.add_option("-s","--server", dest="host",
help="\t\tHost
bruno at modulix wrote:
> News wrote:
>> bruno at modulix wrote:
>>
>>> News wrote:
>>>
>>>> Hi everyone,
>>>>
>>>> My goal is to pull command switches/options from a file and then assign
>>>> the values to select v
bruno at modulix wrote:
> News wrote:
>> Hi everyone,
>>
>> My goal is to pull command switches/options from a file and then assign
>> the values to select variables which would eventually be included in a
>> class object.
>>
>> The data file looks som
Hi everyone,
My goal is to pull command switches/options from a file and then assign
the values to select variables which would eventually be included in a
class object.
The data file looks something like this but the switches could be in any
order and not all may be used.
-m quemanager -s serve
Fredrik Lundh <[EMAIL PROTECTED]> wrote:
> "[EMAIL PROTECTED]" wrote:
>
>> Question: what is a good strategy for taking an 8bit
>> string of unknown encoding and recovering the largest
>> amount of reasonable information from it (translated to
>> utf8 if needed)? The string might be in any of the
Kenneth Xie <[EMAIL PROTECTED]> wrote:
> I need a simple ftpd example in pure python. Is there already such a
> ftpd available?
> Thank you very much in advance.
self-advertising: http://melkor.dnp.fmph.uniba.sk/~garabik/pyftpd.html
it is a bit dated and I do not develop it anymore, but as a base
Kamilche <[EMAIL PROTECTED]> wrote:
> Yeah, that's what I'm thinking, as well. Showing all the text on an
> image is one thing... using that image as the basis of a font engine is
> something different.
>
> Luckily, someone has sent me a link to a set of free TrueType fonts -
> http://www.gnome.or
I am new in using Python
Anyone know how to implement breadth first search using Python? Can Python
create list dynamically, I want to implement a program which will read data
from a file and store each line into a list, is this possible?
Please send mail to me at [EMAIL PROTECTED] or reply this
A year or so ago, there was a posting - I believe on someone's blog -
which told of a unique experiment. The experimenter tried loading and
searching a large XML document based on three strategies:
1. (I think) elementree directly
2. Store entire XML document in ZODB (or Durus, can't remember)
Don't you hate the *.ps/*.pdf texts which are arranged in columns
as if it was a newspaper ? Especially when you want to email
a section after using 'pdftotxt'.
I'm guessing that an algorithm to extract colums could work
like this : [assume 2 column, but 3, 4.. should be similar, remember
that
[EMAIL PROTECTED] wrote:
> It's important that I can read the contents of the dict without
> flagging it as modified, but I want it to set the flag the moment I add
> a new element or alter an existing one (the values in the dict are
> mutable), this is what makes it difficult. Because the values a
[EMAIL PROTECTED] wrote:
> Using a script:--
> lynx -dump '' > Fl1
>
> lynx -dump '' > Fln
>
> where the URLs are filled in off line, is a great online-telco-cost
> saver for me here in 3rd world S. Africa.
>
> I want to similarly send a set of pre-written emails via the
> same script
Diez B. Roggisch <[EMAIL PROTECTED]> wrote:
>> print try_encodings(text, ['ascii', 'utf-8', 'iso8859_1', 'cp1252',
>> 'macroman']
>
> I've fallen into that trap before - it won't work after the iso8859_1.
> The reason is that an eight-bit encoding have all 256 code-points
> assigned (usually, t
Andreas Jung <[EMAIL PROTECTED]> wrote:
> [-- text/plain, encoding quoted-printable, charset: us-ascii, 6 lines --]
>
> Does anyone know of a Python module that is able to sniff the encoding of
> text? Please: I know that there is no reliable way to do this but I need
> something that works for
I'm getting realy tired of learning new languages.
And especially frustrated at the 'syntax errors' when switching
between them.
There are basically only a few common concepts needed for
all the languages. Hence linux's p2c: Pascal to C translator.
A good IDE could hide the irrelevant details
I was playing with python encodings and noticed this:
[EMAIL PROTECTED]:~$ python2.4
Python 2.4 (#2, Dec 3 2004, 17:59:05)
[GCC 3.3.5 (Debian 1:3.3.5-2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> unicode('\x9d', 'iso8859_1')
u'\x9d'
>>>
U+009D is NOT a
1 - 100 of 132 matches
Mail list logo