Kevin wrote:
Well, for some strange reason I have never found that to be a problem.
But that is perhaps because I'm an administrator and I want full root
access, install the OS as I see fit and don't want others on the same
(virtual)box. So hosting doesn't work for me I need colo or dedicated.
Magnus Lycka wrote:
> Martin P. Hellwig wrote:
>
>> Kevin wrote:
>>
>>
>> Well, for some strange reason I have never found that to be a problem.
>
>
> If you develop software for an external customer, and they have
> an existing web site run by some
Kay Schluehr wrote:
> Eric Pederson wrote:
>
>>Raise your hand if you think the best technology wins!
>
>
> Who is interested in such a matter? Is this a forum dedicated to some
> programming language or a popularity contest?
>
> If Python dies in a few years / looses attention but the Python Z
Magnus Lycka wrote:
> or what have you. How do you sell this without making it sound
> like snake oil? (Particularly with that name! :)
This *is* the languange you are looking for ...
Stops the argument every time, although afterwards they look kind a
funny at me.
--
mph
--
http://
ldn't an alarm be much simpler than a whole thread just for this?
Mike
--
Michael P. Soulier <[EMAIL PROTECTED]>
"Those who would give up esential liberty for temporary safety deserve
neither liberty nor safety." --Benjamin Franklin
pgp0gNXOorhuD.pgp
Description: PGP signat
Wade wrote:
> http://www.slate.com/id/2124561/entry/2124562/
>
> Nice little series by Seth Stevenson for Americans daydreaming about
> emigration. Somewhere, anywhere ... maybe Amsterdam?
>
> I've never been to the Netherlands myself, but it sounds very
> civilized.
>
> Extra Python connection,
Sybren Stuvel wrote:
> Martin P. Hellwig enlightened us with:
>
>>Personal transportation sucks in the Netherlands, if you live in the
>>Randstad (the area of the above mentioned cities) and you have to
>>travel across the Randstad, you go with the bike and/or
>>bus
Lars Gustäbel wrote:
> [Fredrik Lundh]
>
>>han har försökt, men hans tourette tog överhanden:
>
>
> IMHO it's more likely an Asperger's syndrome.
>
> http://en.wikipedia.org/wiki/Asperger_Syndrome
>
I disagree, in his writings I found no evidence of autisme.
Actually most of it can be classif
Peter Hansen wrote:
> Martin P. Hellwig wrote:
>
>> The only thing I am disappointed at his writing style, most likely he
>> has a disrupted view on social acceptable behavior and communication.
>> These skills might be still in development, so perhaps it is
>> r
ue1, row2value2, row2value3),..., (rowNvalue1,
rowNvalue2, rowNvalue3)]
Then, I get what I want with tuple(a).
Luis P. Mendes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
|
| Why? What is it about the list of tuples that you don't like?
| Philosophically, it's more in line with Guido's separation of list and
| tuple.
I'm not saying that I don't like, I was just curious to know if there
was a way to do it using exclusi
Stefano Masini wrote:
Although I'm not experienced enough to comment on python stuff itself I
do know that in general there are 2 reasons that people reinvent the wheel:
- They didn't know of the existence of the first wheel
- They have different roads
Those reasons can even be combined.
The m
Gianluca Sartori wrote:
> Hi guys,
>
> What web framework do you suggest to develop with? I had a look both
at
> Nevow and Quixote. These seemes to be the most appreciated by the
> community. Anyway, I had no luck looking for a complete and coherent
> documentation.
>
> Thanks for any suggestion,
You should definitely have a look at Zope 3. There is good
documentation available and it can do a lot of good stuff.
--
http://mail.python.org/mailman/listinfo/python-list
On Sat, 25 Jul 2015 14:44:43 +0200,
Laura Creighton wrote:
> And because I was rushed and posted without revision I left out
> something important.
>> So this is, quite likely, the pattern that you are looking for:
>> try: all_your_code_which_is_happy_with_non_scalars except
>> WhateverErrorPyt
On Sat, 25 Jul 2015 18:34:30 +0200,
Laura Creighton wrote:
> Gmail eats Python. We just saw this mail back from Sebastian Luque
> which says in part:
try: all_your_code_which_is_happy_with_non_scalars except
WhateverErrorPythonGivesYouWhenYouTryThisWithScalars:
whatever_you_want_
On 22/09/11 Ian Ward said:
> Announcing Urwid 1.0.0
> --
Congrats.
--
http://mail.python.org/mailman/listinfo/python-list
On 29/09/2011 10:21, Steven D'Aprano wrote:
I have a Python script which I would like to test without a tty attached
to the process. I could run it as a cron job, but is there an easier way?
I am running Linux.
Well you could double fork and drop the parent, that would lose the tty
which is
I need to write prototype XMLRPC clients using xmlrpclib for a server
that has variable RPC names and I'd like to use Python as the
prototyping tool. I've searched but can't find any relevant advice
online. Any pointers would be gratefully received; details follow.
The server in question constru
First of all let me say that I have no authority or knowledge of
language design or multi-processing except from a user point of view,
having a decade or so experience.
I would like your opinion and appreciate any feedback and value any
hints to documentation, procedures or related ramblings :-)
On 13/10/2011 15:13, Stefan Behnel wrote:
Martin P. Hellwig, 13.10.2011 14:35:
I was wondering if there could be an advantage to add another control
flow
statement.
Changes at that level must be very well justified, are often rejected
for the reason of being not too complicated to write in
On 10/25/11 15:13, Arnaud Delobelle wrote:
On 25 October 2011 14:50, Laszlo Nagy wrote:
Hi,
Anyone knows a framework for webapp development? I'm not talking about
javascript/html compilers and ajax frameworks. I need something that does
not require javascript knowledge, just pure Python. (S
On 11/15/11 12:04, Roark wrote:
Hi,
I am first time trying my hands on python scripting and would need
some guidance from the experts on my problem.
I want to execute a windows command within python script from a client
machine on a remote target server, and would want the output of the
command
On 17/11/2011 23:54, W. eWatson wrote:
My mistake above. I was talking about the previous 2.5.2 of install in
Win7. Where I'm at is 2.7.2 now. However, I still find in very odd there
is no Edit with IDLE when I right-click on junk.py. That's the way it
worked on 2.5.2 on my XP and earlier, 2010,
On 01/12/2011 03:15, Roy Smith wrote:
Well, I have seen much worse, so the WTFs/minute(*) count won't be too bad.
However, as general rule for readability; If you think you have to ask,
don't bother asking, spend that time rethinking and write a more
readable solution.
*) http://www.osnews
On 13/12/2011 16:50, Sagy Drucker wrote:
hello
Hi
i am relatively new to python, so please be considerate...
As I am only responding to one of your questions, perhaps it would be
best if you don't get any other more helpful replies to split your
questions up and post them separately.
i'm im
On Wed, Dec 21, 2011 at 2:57 AM, Jim Fulton wrote:
> On Wed, Dec 21, 2011 at 2:15 AM, Chris Withers
> wrote:
> > Hi All,
> >
> > What's the general consensus on supporting Python 2.5 nowadays?
> >
> > Do people still have to use this in commercial environments or is
> everyone
> > on 2.6+ nowada
Xah Lee wrote:
Nice rant, btw in most EU countries the software creator can not
withdraw the responsibility of his/her/it creation, regardless of what
the disclaimer says. The law is the leading authority and not some
Disclaimer/EULA, that's why most US EULA's are unauthoritative in the EU.
--
Ulrich Hobelmann wrote:
>
> The piece that a European programmer can never withdraw responsibility
> could be a big problem to open-source software, though. I'm not sure
> I'd want to freely publish anything that could result in liability for me.
>
Not that big of a problem, in EU a user is s
Hi there,
I have a string in which I want to calculate how often the character ';'
occurs. If the character does not occur 42 times, the ";" should be added so
the 42 are reached.
My solution is slow and wrong:
for Position in range (0, len(Zeile)):
if Zeile[Position]==';': AnzahlS
rbt wrote:
> Alex Martelli wrote:
>> I don't think there was any official announcement, but it's true -- he
>> sits about 15 meters away from me;-).
>
> For Americans: 15 meters is roughly 50 feet.
Well they could have used google for that ;-)
http://www.google.com/search?hl=en&q=15+meter+in+feet
Ilias Lazaridis wrote:
So I guess you volunteer http://www.python.org/psf/volunteer.html ?
--
mph
--
http://mail.python.org/mailman/listinfo/python-list
Ilias Lazaridis wrote:
> Martin P. Hellwig wrote:
>> Ilias Lazaridis wrote:
>>
>> So I guess you volunteer http://www.python.org/psf/volunteer.html ?
>
> I volunteer and contribute already (with a general validity and python
> specific analysis)
>
> A medi
Ilias Lazaridis wrote:
>> The only thing that holds "you" theoretically back is "acknowledged
>> authority by the participating group _and_ yourself" and of course the
>> resource for "restricted" information.
>
> what do you mean by "resource for "restricted" information"?
>
Well, I mean that
Ilias Lazaridis wrote:
I'm suspecting that we have different definitions (or at least the
implications of that) of used terms.
I think it's important to first define these definition in a form
acceptable to both of us.
In the link you gave, the title was "Efficiency Management".
Now I believe t
Ilias Lazaridis wrote:
> Martin P. Hellwig wrote:
>> Ilias Lazaridis wrote:
>>
>> I'm suspecting that we have different definitions (or at least the
>> implications of that) of used terms.
>> I think it's important to first define these definition in a
Mike Meyer wrote:
> [EMAIL PROTECTED] writes:
>> I have looked at the options for developing the client for these
>> "electronic job sheets" and have decided upon Microsoft Pocket PC and
>> the .net compact framework. It seems the easiest environment for
>> developing and the PDA's can be obtained
Anton Vredegoor wrote:
>
> Most people can survive (without damaging their souls so to speak) when
> working for corruption themselves in this way, but sooner or later one
> is asked to corrupt others (defending one's title during a promotion,
> leading a community and so on). This is the crucial
Lad wrote:
> I have a list
> L={}
> Now I can assign the value
> L['a']=1
> and I have
> L={'a': 1}
>
> but I would like to have a dictionary like this
> L={'a': {'b':2}}
>
> so I would expect I can do
> L['a']['b']=2
>
> but it does not work. Why?
>
> Thank you for reply
> Rg,
> L.
>
Hi,
Pe
[EMAIL PROTECTED] wrote:
> Does anybody know how to get the:
>
> Free hard disk space
> Amount of CPU load
> and Amount of RAM used
>
> on windows? I am making an artificial intelligence program that has
> "moods" based on how much stress the system is under, based on these
> param
[EMAIL PROTECTED] wrote:
> thank you!
>
> from what I can see from the second website you listed, there is a way
> to get harddisk space information, but is there any way to get CPU load
> and RAM usage?
>
Have a look at the snippet:
#>>> import wmi
#>>> t = wmi.WMI()
#>>> for i in t.Win32_Perf
Hey all,
I'd like to wrap libpam so that I can use that for authentication and
password management. I build ctypes (0.9.9.6) on my platform via ports.
Now according to OpenPAM documentation all sessions start with pam_start().
According to the man page it should contain this:
pam_start(const cha
Frederik & Ganesan,
Thanks for the explanation, it did me realize that I should learn some C
first before I'm going to start wrapping something :-)
At least I got a reason now to do something with C, though it should
take me some time.
But again, thanks!
Martin
--
http://mail.python.org/mail
Dan Stromberg wrote:
> I've been a sysadmin for about 13 years, but I'm realizing that my
> favorite part of being a sysadmin are those moments where there's a reason
> to write some code - preferably in python.
>
> What might one do to make the transition from sysadmin to python
> programmer, asi
mbstevens wrote:
> I keep chatting with the tech support people at Earthlink, asking where
> the location of the Python interpreter is. They don't seem to know where
> it is. They don't know if Python is running on my server, either. I know
> Perl is at /usr/local/bin/perl ...but when I use a si
Elliot Hughes wrote:
> Hi Everyone, I am trying to right a server that can receive a message
> and send it to all clients using UDP on twisted. I have got it so far
> that it can echo to the client that sent the message but not to the
> rest. I tried using multicast but that requires almost total r
Tim Roberts wrote:
> Although it might be mirrored on a web site somewhere, this is a Usenet
> newsgroup. It is impossible to "close" a thread. The concept simply does
> not exist.
Google, the new de facto website of record for Usenet, disagrees.
But they do about 10 things totally wrong with
Aahz wrote:
> In article <[EMAIL PROTECTED]>,
> Blair P. Houghton <[EMAIL PROTECTED]> wrote:
> >
> >But they do about 10 things totally wrong with Google groups that
> >I'd've fixed in my spare time in my first week if they'd hired me back
>
Aahz wrote:
> In article <[EMAIL PROTECTED]>,
> Bryan Olson <[EMAIL PROTECTED]> wrote:
> >Blair P. Houghton wrote:
> >>
> >> But they do about 10 things totally wrong with Google groups that
> >> I'd've fixed in my spare time in my fi
Bryan Olson wrote:
> Blair P. Houghton wrote:
> > Usenet isn't just the "send this message to all leaf nodes via tree"
> > behavior,
> > it's the "show me the message from 1987 or 1988 written by dickie
> > sexton where
> > he invents the
Bryan Olson wrote:
> Aahz wrote:
> > The problem is the network effect. In this case, what Google has that
> > can't be replicated is the history of posts.
>
> There's no magic there. Get them the same way Google and
> Dejanews got them, plus you might scrape Google, from some
> locality with fav
Tim Peters wrote:
> On Windows 98, time.time() typically updates only once per 0.055
> seconds (18.2 Hz), but time.clock() typically updates more than a
> million times per second. You do /not/ want to use time.time() for
> sub-second time measurement on Windows. Use time.clock() for this
> purp
s. And it brings
some 'heavy' work on disk. The table 'seconds' has 54+ lines right
now.
Can I do something different in order to have a lighter load on the system
and a quicker response?
Luis P. Mendes
--
http://mail.python.org/mailman/listinfo/python-list
tever
> ORDER BY tempounix;
Thank you Stuart, I'll try it.
Luis P. Mendes
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
Can anyone tell me a good python editor/IDE?
It would be great if you can provide the download link also.
Thank You,
-Manoj-
"SASKEN RATED Among THE Top 3 BEST COMPANIES TO WORK FOR IN INDIA - SURVEY 2005
conducted by the BUSINESS TODAY - Mercer - TNS India"
SA
TWiki, written in perl, makes extensive use of versioning/diff
functionality you mention through the use of RCS, which, IIRC, is the
basis for CVS. This method eliminates the need for the repository as
such, and merely requires the presence of the RCS files (and RCS).
Unless you _want_ to host
Laszlo Nagy wrote:
Have a look at:
http://trevp.net/tlslite/
--
mph
--
http://mail.python.org/mailman/listinfo/python-list
Laszlo Nagy wrote:
> Martin P. Hellwig wrote:
>> Laszlo Nagy wrote:
>>
>> Have a look at:
>> http://trevp.net/tlslite/
>>
> C:\temp\ccc>python setup.py install
> running install
> running build
> running build_py
> running build_ext
> erro
Laszlo Nagy wrote:
> http://trevp.net/tlslite/ - no exe installers.
> http://sourceforge.net/projects/tlslite/ - no file packages to download
>
> :-(
Download the zip and unpack it:
http://trevp.net/tlslite/tlslite-0.3.8.zip
Then there is an installers directory
>> SimpleXMLRPCServer uses Simpl
Hi all,
I'm busy with a personal project that does password synchronization
between NT and BSD.
By using a password hook/filter/notifier when password is changed (on NT
PasswdHk and on BSD a modified version of pam_exec*) I can retrieve a
changed password, however when I want to check the valid
move the cursor. And it should be possible to send key and mousebutton event from windll as well I guess(?)
Is there any approach to catch user events from wxpyton? Am I on the right track here? Is it a good ide to access windll for my replay, or is there any better approach?
Thanks in advance
/P
I've been doing some work on a didiwiki-like program written in Python.
Since Python is embedded in browsers, the didwiki approach make sense:
write the server in your language of choice (didwiki uses C), and lay
the necessary (simple) wiki code on top of the server. Roll the entire
thing in
That should have said "Since Python _isn't_ embedded in browsers"!
Rick
R. P. Dillon wrote:
> I've been doing some work on a didiwiki-like program written in Python.
> Since Python is embedded in browsers, the didwiki approach make sense:
> write the server in you
work space. I use pyExcelerator to create the Excel files.
How can I do it? Do I need another excel generator?
Client's information about its working directory should be read, but
how? I could only find the way to read the server environment
variables, where data is processed.
Luis
Hi.
I'm looking for a small script that will take a .zip archive and pull
the first .jpg from the archive and convert it to a .png.
The reason for this is I want to have tuhmbnails for these archives in
nautilus under gnome. I would like something similar to the following
code, which will pull
.ANTIALIAS)
> image.save (file + '.thumb.png')
> except:
> print 'Skipping file', file
>
> Links:
> http://docs.python.org/lib/lib.html - Python Library Reference
> http://www.pythonware.com/library/pil/handbook/image.htm - The Image
> Mod
Thanks everyone.
One last thing (I hope).
How can I get the name of just the first file in a zipfile? I see
routines to list all the files in a zip archive, but I don't see any to
list only the first, or only the second, etc. It doesn't look like
zipfile is storing info in a useful array that I
Thanks a lot! This is what I ended up with.
(I would like to get rar archive support, but browsing the web it looks
like rar support isn't in any python library (yet)) :-( Anyway, I was
able to use the below code unchanged to create thumbnails in nautilus
based on the first .jpg file in a .zip ar
subramanian2003 wrote:
> Hello All,
>
>From where I can get the detailed python 2.4 tutorial(other than
> python.org).
>
> Thanks,
> Subramanian.
>
>
If you're willing to pay for it you can read many python books online at:
http://safari.oreilly.com
Although I like a paper version more (a
mbstevens wrote:
> In such a case you may need to make the page
> into one string to search if you don't want to use some complex
> method of tracking state with variables as you move from
> string to string.
In general it's a very hard problem to do stateful regexes.
I recall something from las
2- I tried to build a simple 'if' formula but couldn't. Is it my
problem or pyXLWriter's problem? If the former, is it possible to post
an example?
TIA
Luis P. Mendes
--
http://mail.python.org/mailman/listinfo/python-list
Gregory Piñero escreveu:
> On 7/7/06, Luis P. Mendes <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> I know that pyExelerator is the supported project now, but I can't use
>> it because I'd need it to generate files from a web platform. Since I
>> can not
Waldemar Osuch escreveu:
> Luis P. Mendes wrote:
>> Gregory Piñero escreveu:
>>> On 7/7/06, Luis P. Mendes <[EMAIL PROTECTED]> wrote:
>>>> Hi,
>>>>
>>>> I know that pyExelerator is the supported project now, but I can't use
>>&
>thermate
So the guy found burned aluminum on iron.
That doesn't mean there were military-grade incendiary devices anywhere
near the WTC.
You idiot.
--Blair
--
http://mail.python.org/mailman/listinfo/python-list
Larry Bates wrote:
> The filesystem is almost always the
> most efficient place to store files, not as blobs in a
> database.
I could get all theoretical about why that's not so in most cases,
but there are plenty of cases where it is so (especially when the
person doing the DB doesn't get the id
Larry Bates wrote:
> As far as "rational extension" is concerned, I think I can relate.
> As a developer of imaging systems that store multiple-millions of
> scanned pieces of paper online for customers, I can promise you
> the file system is quite efficient at storing files (and that is
> what th
Fredrik Lundh wrote:
> Blair P. Houghton wrote:
>
> > Can't be any harder than switching between incompatible filesystems,
> > unless you assume it should "just work...".
>
> so what file systems are you using that don't support file names and
>
Fredrik Lundh wrote:
> Blair P. Houghton wrote:
> > I'm saying that the change from Oracle 9 to Oracle 10 is like changing
> > from ffs to fat32.
>
> well, I'm quite sure that the people I know who's spending a lot of
> their time moving stuff from Oracle N
Hi,
I have the following problem:
I instantiate class Sistema from another class. The result is the same
if I import it to interactive shell.
s = Sistema("par")
class Sistema:
def __init__(self, par):
cruza_ema = CruzaEmas(par)
class CruzaEmas(Ema, Cotacoes):
def __init__(self
Rob De Almeida escreveu:
> Luis P. Mendes wrote:
>> Method a() is not called. Why is this? What is the best option to
>> solve this? Have Cotacoes returning values and not to be an ancestor
>> class of CruzaEmas?
>
> It works for me, after rearranging your code a l
wesley chun wrote:
>
> 1. never write against older versions of Python... you will only
> obsolete your book even faster (well, "sooner")
I believe there is some market for documentation of older
versions of software. Many installations are constrained
by the cost of upgrading and can not mi
Lawrence D'Oliveiro wrote:
> In message <[EMAIL PROTECTED]>, Blair P.
> Houghton wrote:
>
> > wesley chun wrote:
> >>
> >> 1. never write against older versions of Python... you will only
> >> obsolete your book even faster (well,
Aahz wrote:
> You did see my advice, seconded by Wes, that any book should cover the
> version differences? How is that sufficiently inadequate that new books
> should specifically target older versions?
I think it's a good idea, but I also think that it may cause authors to
rely on the old docu
walterbyrd wrote:
> If so, I doubt there are many.
>
> I wonder why that is?
Because Java has Sun's crazy-money behind it, and that pisses Microsoft
off, so C# has MS's crazy-money behind it. And long before that, C was
/the/ language because it was the only one that would allow you to
actually
[EMAIL PROTECTED] wrote:
> Hi.
> I was searching for some information regarding a problem and found an
> interesting post that includes an answer to the problem; thought the
> post is very helpful it is based on a wrong assumption and thus the
> solution it suggests is incorrect. It took me some t
Steve Holden wrote:
> Since this message was never on topic, I'd appreciate it if all
> concerned would close this thread now.
I already did. How did you get in here?
--Blair
--
http://mail.python.org/mailman/listinfo/python-list
Aahz wrote:
> In article <[EMAIL PROTECTED]>,
> gavino <[EMAIL PROTECTED]> wrote:
>> wtf
>
> Because programming in Python makes me feel happy and contented, while
> programming in Java just makes me want to scream in agony.
Or in my case, Python made me code, Java made me brew java.
ymmv
--
mp
Python doesn't annoyingly rip you out of the real world to code in it.
Anyone looking at a python script can get a sense of where it's going.
--Blair
--
http://mail.python.org/mailman/listinfo/python-list
Hi all,
I'm playing a bit with PostgreSQL, in which I've set me the target to
create a python script which with user input creates a new user role and
a database with that owner (connecting to template1 since I know that at
least that db exists).
Ok so I installed PostGreSQL and pygresql since
Dan Jacobson wrote:
> Can I feel even better about using perl vs. python, as apparently
> python's dependence of formatting, indentation, etc. vs. perl's
> "(){};" etc. makes writing python programs perhaps very device
> dependent. Whereas perl can be written on a tiny tiny screen, and can
> withst
king kikapu wrote:
> Hi to all,
>
> is there a way to use an RDBMS (in my case, SQL Server) from Python by
> using some built-in module of the language (v. 2.5) and through ODBC ??
> I saw some samples that use statements like "import dbi" or "import
> odbc" but neither modules (dbi, odbc) are pre
king kikapu wrote:
> Hey Martin,
>
> thanks for the fast reply!
>
> I have already seen that link and i just downloaded the pyodbc module
> but isn't Python already containing a "built-in" odbc module so to
> allow for db communication ??
>
Not that I'm aware of, but it is possible to do odbc w
Uwe Hoffmann wrote:
> [EMAIL PROTECTED] schrieb:
>> Is there a function/module to find the login name of the user under
>> UNIX environment?
>
>
> http://docs.python.org/lib/os-procinfo.html
>
> http://docs.python.org/lib/module-pwd.html
Speaking of that, is there any reason why there isn't any
[EMAIL PROTECTED] wrote:
> I have been trying to find a way to add a directory to Python's sytem
> path on my MS Windows XP computer. I did some searching online, but the
> only solution I found involved editing the MS Windows Registry. That
> seemed a little to hard core. Is there another easier w
I'm just learning Python, so bear with.
I was messing around with the webbrowser module and decided it was
pretty cool to have the browser open a URL from within a python script,
so I wrote a short script to open a local file the same way, using the
script file as an example target:
# browser-tes
Oh, uh, Python version 2.4.2, in case you're wondering.
--Blair
--
http://mail.python.org/mailman/listinfo/python-list
I'm going to try it out on a remote server later today.
I did use this script to fetch remote HTML
(url='http://www.python.org') before I tired the remote file, and it
opened the webpage in Firefox.
I may also try to poke around in webbrowser.py, if possible, to see if
I can see whether it's sele
Grant Edwards wrote:
> Try something like this at the beginning of your program and
> see if it does what you want:
>
> print os.path.abspath(sys.argv[0])
Wanna see something freaky?
In IDLE, I type the following:
>>> import sys
>>> import os.path
>>> os.path.abspath(sys.argv[0])
Sorry...should read:
"I did use the script to fetch remote HTML
(url='http://www.python.org') before I tried the local file, and it
opened the webpage in Firefox."
Too many chars, too few fingers.
--Blair
--
http://mail.python.org/mailman/listinfo/python-list
>Would it be sufficient in your case merely to allow only .html files to
>be loaded? Or URLs without .extensions? Or even just permit only the
>http: protocol?
Personally, I'm just noodling around with this right now.
So "my case" is the abstract case. I think the solution if
one was needed wou
601 - 700 of 1684 matches
Mail list logo