Hmm
How about Rainbow Video Encoder Wrapper (Rainbow View for short - RView
is taken, possibly multiple times)?
I added an arbitrary word to a generic name, and the result doesn't seem
to be taken by anything software-related. It wraps more than just video
encoders (in fact, x264 will likely be
On 2011.08.14 12:57 AM, rantingrick wrote:
> Follow these simply rules to become an accepted member of the Python
> community.
Sounds good. You should consider submitting this as a PEP.
--
CPython 3.2.1 | Windows NT 6.1.7601.17592 | Thunderbird 5.0
PGP/GPG Public Key ID: 0xF88E034060A78FCB
--
ht
On 2011.08.16 10:44 AM, rantingrick wrote:
> One word: SYNTAX HILIGHT
And I had thought your troll skills had disappeared. Good one.
--
CPython 3.2.1 | Windows NT 6.1.7601.17592 | Thunderbird 5.0
PGP/GPG Public Key ID: 0xF88E034060A78FCB
--
http://mail.python.org/mailman/listinfo/python-list
On 2011.08.23 10:29 AM, Eric Lemings wrote:
> Hi,
>
> I would like to create/find a Python 3.x distribution that can be
> redeployed simply by copying a directory of required files; i.e.
> without the need for actually "installing" an MSI, modifying Windows
> registry entries, etc. First of all,
I understand that Python Tools for Visual Studio doesn't work with VS
Express, but does work with the (free) VS 2010 Shell. Does anyone know
if you can install VS Express and VS Shell on the same machine?
--
http://mail.python.org/mailman/listinfo/python-list
someone asks if users
will be confused by this and Barry Warsaw replies saying that they won't see
them (well, I do!).
All I did was the usual ./configure; make; sudo make altinstall
So is this a bug?
Andrew
pl6 Python-3.2: ls -l /usr/local/bin/python3.2*
-rwxr-xr-x 2 root root 7368810 2011-
[Sorry I clicked the wrong button so I think my prev reply went only to Tom]
Thanks. Yes, they're hard linked. And the bug report mentions PEP 3149 which
says that "m" means --with-pymalloc was used
http://www.python.org/dev/peps/pep-3149/
Cheers,
Andrew
--
http://mail.pyt
This conflicts with any parameter named "return". Wouldn't it have been better
to use "->" as the key? Is there any way this can be changed?
Andrew
--
http://mail.python.org/mailman/listinfo/python-list
Sorry, ignore that. I just realised that "return" will be a reserved word, so
that can't happen. Andrew
--
http://mail.python.org/mailman/listinfo/python-list
created, so __root will always be missing.
My only guess is that this allows subclasses to do strange things without
breaking the code (and if so, is a nice defensive coding pattern). But I am
worried I am missing something.
Thanks,
Andrew
--
http://mail.python.org/mailman/listinfo/python-list
iting
me, but maybe I'm just lazy). For example, would you consider it a bug if
someone complained that calling __init__() resulted in unexpected behaviour?
Thanks,
Andrew
--
http://mail.python.org/mailman/listinfo/python-list
made somewhere?
If so, can I change that?
Thanks,
Andrew
class TupleDict(dict):
'''Stores additional info, but removes it on __getitem__().'''
def __setitem__(self, key, value):
print('setting', key, value)
super(Tupl
Sorry I should probably have made clear that this is Python 3.2
--
http://mail.python.org/mailman/listinfo/python-list
Yes, I think you're right, thanks. Makes sense from an efficiency POV.
Luckily, it turns out I don't need to do that anyway :o)
Cheers,
Andrew
--
http://mail.python.org/mailman/listinfo/python-list
Related to the above, Is there anything wrong with the following code to
replace the *instance* rather than the class dict? It seems very crude, but
appears to work.
Thanks,
Andrew
class TupleSuper:
def __new__(cls):
print('in new')
instance = object._
rride
assert C().__class__.foo() == 7
It seems to me that the above two cases are inconsistent. ABCMeta declares
__instancecheck__ just like B declares foo. Yet C can override foo, but A is
unable to override the instance check.
Please help!
Thanks,
Andrew
--
http://mail.python.org/ma
Also, there's something strange about the number of arguments (they're not
consistent between the two examples - the "A" to __instancecheck__ should not
be needed). Yet it compiles and runs like that. Very confused :o(
--
http://mail.python.org/mailman/listinfo/python-list
OK, sorry, I see the mistake. I'm confusing __class__ on the instance and on
te class (the latter being the metaclass). Sorry again, Andrew
--
http://mail.python.org/mailman/listinfo/python-list
behaves as you quoted (only on the metaclass).
Cheers,
Andrew
--
http://mail.python.org/mailman/listinfo/python-list
I didn't phrase that very well. I do see the point about this being "an
instance lookup on a class"...
--
http://mail.python.org/mailman/listinfo/python-list
_Matcher = ABCMeta('_Matcher', (object, ), {})
and then
class Matcher(_Matcher):
...
Andrew
--
http://mail.python.org/mailman/listinfo/python-list
the docs package, install Sphinx, and then tweak the Sphinx
configuration as described at the link above and at
http://sphinx.pocoo.org/config.html#confval-man_pages
This second approach should work.
Andrew
--
http://mail.python.org/mailman/listinfo/python-list
I've set up groups of arguments for a script I'm writing, and any time I
give an argument a value, it gets stored as a list instead of a string,
even if I explicitly tell it to store a string. Arguments declared with
other types (e.g. float, int) and default values are stored as expected.
For examp
On 2011.04.28 02:11 PM, Uncle Ben wrote:
> It was suggested to me privately that I search for
> HKEY_CLASSES_ROOT\*\shell,
> right_click on "shell",
> create a new key called "EDIT with IDLE"
> and another called "command python.exe %1"
The key you're looking for is HKCR\Python.File\shell. Add a su
.. raise MyException
... except RootException:
... print('caught')
...
Traceback (most recent call last):
File "", line 2, in
__main__.MyException
If you assume that the ABC "register" class should work likeinheritance (as it
does with issubclass and i
http://bugs.python.org/issue12029
--
http://mail.python.org/mailman/listinfo/python-list
I need to find whether a given file is 32-bit or 64-bit (and raise an
exception if the file doesn't exist or isn't an executable file). I
thought platform.architecture() would do this, but it returns ('64bit',
'') no matter what value I assign to the executable parameter (looks
like it uses the giv
On 2011.05.09 04:10 PM, Irmen de Jong wrote:
> http://stackoverflow.com/questions/1345632/determine-if-an-executable-or-library-is-32-or-64-bits-on-windows
The code using struct doesn't look terribly complicated, so that could
work. I might need to inspect other executable types, but I don't see it
I'm a bit new to programming outside of shell scripts (and I'm no expert
there), so I was wondering what is considered the best way to handle
errors when writing a module. Do I just let exceptions go and raise
custom exceptions for errors that don't trigger a standard one? Have the
function/method
On 2011.05.11 12:57 PM, Patty wrote:
> Hi Andrew -
>
> Sometimes you want an exception come up and then use that information to
> take your
> program in some direction.
Right, but I'm wondering how I should handle errors in a module, where
different people will want their prog
On 2011.05.11 01:05 PM, Roy Smith wrote:
> You want to raise specific errors. Let's say you've got a function like
> this:
>
> def airspeed(swallow):
>speeds = {"european": 42,
> "african", 196}
>return speeds[swallow]
>
> If somebody passes an invalid string, it will raise K
On 2011.05.12 02:25 PM, MRAB wrote:
> You can raise an exception wherever you like! :-)
If I raise an exception that isn't a built-in exception, I get something
like "NameError: name 'HelloError' is not defined". I don't know how to
define the exception.
--
http://mail.python.org/mailman/listinfo/
On 2011.05.12 03:20 PM, Corey Richardson wrote:
> class HelloError(Exception):
> pass
>
> Of course, there are all sorts of other things you could do with your
> exception.
>
> http://docs.python.org/tutorial/errors.html#user-defined-exceptions
So that's where that info is. I wasn't looking in
I'm trying to understand why HMTLParser.feed() isn't returning the whole
page. My test script is this:
import urllib.request
import html.parser
class MyHTMLParser(html.parser.HTMLParser):
def handle_starttag(self, tag, attrs):
if tag == 'a' and attrs:
print(tag,'-',attrs
On 2011.05.15 06:12 AM, Tim Golden wrote:
> ... and for Windows:
>
>
> import wmi
>
> for nic in wmi.WMI ().Win32_NetworkAdapterConfiguration (IPEnabled=1):
>print nic.Caption, nic.IPAddress
>
>
One thing I found out about Win32_NetworkAdapterConfiguration is that it
only contains /current/ i
On 2011.05.16 02:26 AM, Karim wrote:
> Use regular expression for bad HTLM or beautifulSoup (google it), below
> a exemple to extract all html links:
>
> linksList = re.findall('.*?',htmlSource)
> for link in linksList:
> print link
I was afraid I might have to use regexes (mostly because I c
On 2011.05.18 03:30 AM, Stefan Behnel wrote:
> Well, it pretty clearly states that on the PyPI page, but I also added it
> to the project home page now. lxml 2.3 works with any CPython version from
> 2.3 to 3.2.
Thank you. I never would've looked at PyPI for info on a project that
has its own sit
On 2011.05.19 02:43 PM, Tim Golden wrote:
> This is basically issue2528 [1].
> The problem is that, although Windows (and Python)
> expose a version of os.access to match the Posix function,
> the meaning is so far removed on Windows as to be useless.
Does this affect just os.W_OK and directories o
On 2011.05.19 03:08 PM, Tim Golden wrote:
> * A R_OK check always succeeds if the file's attributes can be read
>at all
So is this the same as F_OK then, or does it return false if the user
isn't allowed to read permissions?
> * A W_OK check fails if the file has its DOS read-only attribute set
On 2011.05.16 02:26 AM, Karim wrote:
> Use regular expression for bad HTLM or beautifulSoup (google it), below
> a exemple to extract all html links:
Actually, using regex wasn't so bad:
> import re
> import urllib.request
>
> url = 'http://x264.nl/x264/?dir=./64bit/8bit_depth'
> page = str(urllib
This is probably somewhat off-topic, but where would I find a list of
what each error code in WindowsError means? WindowsError is so broad
that it could be difficult to decide what to do in an except clause.
Fortunately, sys.exc_info()[1][0] holds the specific error code, so I
could put in an if...
On 2011.05.20 02:47 PM, Genstein wrote:
> On 20/05/2011 18:56, Andrew Berg wrote:
> > This is probably somewhat off-topic, but where would I find a list of
> > what each error code in WindowsError means?
>
> Assuming it's a Win32 error code, winerror.h from the Platfo
On 2011.05.21 06:46 AM, John J Lee wrote:
> Since Python 2.5, the errno attribute maps the Windows error to error
> codes that match the attributes of module errno.
I was able to whip up a nifty little function that takes the output of
sys.exc_info() after a WindowsError and return the error code.
On 2011.05.26 10:02 AM, Thomas Heller wrote:
> On Windows, you can use ctypes.FormatError(code) to map error codes
> to strings:
>
> >>> import ctypes
> >>> ctypes.FormatError(32)
> 'Der Prozess kann nicht auf die Datei zugreifen, da sie von einem
> anderen Prozess verwendet wird.'
> >>>
>
> Fo
I have an RE that should work (it even works in Kodos [1], but not in my
code), but it keeps failing to match characters after a newline.
I'm writing a little program that scans the webpage of an arbitrary
application and gets the newest version advertised on the page.
test3.py:
> # -*- coding:
On 2011.05.29 08:00 AM, Ben Finney wrote:
> You are aware that most text-emitting processes on Windows, and Internet
> text protocols like the HTTP standard, use the two-character “CR LF”
> sequence (U+000C U+000A) for terminating lines?
Yes, but I was not having trouble with just '\n' before, and
On 2011.05.29 08:09 AM, Steven D'Aprano wrote:
> On Sun, 29 May 2011 06:45:30 -0500, Andrew Berg wrote:
>
> > I have an RE that should work (it even works in Kodos [1], but not in my
> > code), but it keeps failing to match characters after a newline.
>
> Not all re
On 2011.05.29 09:18 AM, Steven D'Aprano wrote:
> >> What makes you think it shouldn't match?
> >
> > AFAIK, dots aren't supposed to match carriage returns or any other
> > whitespace characters.
>
> They won't match *newlines* \n unless you pass the DOTALL flag, but they
> do match whitespace:
>
On 2011.05.29 10:19 AM, Roy Smith wrote:
> Named after the governor of Tarsus IV?
Judging by the graphic at http://kodos.sourceforge.net/help/kodos.html ,
it's named after the Simpsons character.
--
http://mail.python.org/mailman/listinfo/python-list
On 2011.05.29 10:48 AM, John S wrote:
> Dots don't match end-of-line-for-your-current-OS is how I think of
> it.
IMO, the docs should say the dot matches any character except a line
feed ('\n'), since that is more accurate.
> True, malformed
> HTML can throw you off, but they can also throw a parse
Hello,
i need to wait for the callback function (contractDetailsEnd) to finish before
i can continue with the logic ( in subscribe) further. For that i check the
flag (ContractsUpdatedEnd) in the "while" loop.
Here is the simplified code:
import asyncio
import ibapi
from tws_async import TWSCl
hello,
is there a better approach to populating a function in this situation?
res = self.DB.getPrice(): # returns array of 3x2 always. symbol_id,
symbol, price.
var1 = self.AFunction(symbols=res[0][2] + '.' + res[1][2], conid1=
self.Contracts[res[0][0]].conId,
conid2=self.Contracts[res[1][0]]
Hello,
i wonder how can i accomplish the following as a one liner:
dict= {10: ['a',1,'c'], 20: ['d',2,'f']}
p = 0
for i in dict:
p += dict[i][1]
Thank you
--
https://mail.python.org/mailman/listinfo/python-list
>> Something like that?
>>
> Ah, but that's 2 lines.
>
> sum(val[1] for val in {10: ['a',1,'c'], 20: ['d',2,'f']}.values())
>
> On Sat, Oct 7, 2017 at 11:07 PM, Andrew Z wrote:
>>
>> Hello,
>>> i wonder
and how about adding "IF" into the mix ?
as in :
a=0
dict= {10: ['a',1,'c'], 20: ['d',2,'f']}
for i in dict:
p+= 10 if dict[i][1] in [1,2,3,4,5] else 0
can i "squish" "for" and "if" together ? or will it be
Hello,
apparently my reading comprehension is nose diving these days. After
reading python cookbook and a few other tutorials i still can't get a
simple logging from a few files to work.
I suspected my file organization - all files are in the same directory,
causing problem. But it appears it is
if i change print statements in both files to print out "__name__":
__main__
test1.test
On Wed, Oct 11, 2017 at 10:02 PM, Andrew Z wrote:
> Hello,
>
> apparently my reading comprehension is nose diving these days. After
> reading python cookbook and a few other tutoria
g is working perfectly well.
This brings me to the question - what is wrong with me file
naming/structure that confuses the logging module? I'm not sure i
really want to have each little file in it's own directory too..
but i'm open for suggestions.
On Wed, Oct 11, 2017 at 10:15 PM, Andre
Cameron, Peter,
Thank you. Your comments were spot on. Changing root logger got the logs
spitting into the file. And i now can org these logs into one directory,
instead of the current mess.
Thank you!
On Oct 11, 2017 23:41, "Cameron Simpson" wrote:
> On 11Oct2017 22:27, An
Hello,
pos = {"CLown":10,"BArbie":20}
I want to return integer (10) for the keyword that starts with "CL"
cl_ = [v for k, v in pos.items() if k.startswith('CL')]
cl_pos = cl_[0]
if cl_pos > 0:
blah..
There are 2 issues with the above:
a. ugly - cl_pos = cl_ [0] . I was thinking something
The answer is:
The dict returns list - my mistake obviously.
I think list.pop(0) is better for sanity than list[0]:
Pos= [k,v for ...].pop(0)
On Oct 13, 2017 00:23, "Andrew Z" wrote:
> Hello,
> pos = {"CLown":10,"BArbie":20}
> I want to return intege
Hello,
I wonder what are the "best practises" for passing "time" parameters to
functions?
I noticed that sometimes i pass "time" as a str and then start "massaging"
it into delta or i need this time format or that format. Thats quite
annoying and inconsistent.
I use word "time" as a general word f
Gents,
how do i get this group in a newsreader? The digest i'm getting is not
workable for me - i can't reply , can only read the replies from the
members of the group. Or. maybe, it shouldn't be a news reader
please advise..
P.S. Oh the comp.lang.python is a nightmare because of spam...
--
Michael, that's what i use too - gmail. But i get the digest only and can't
really reply that way. i was hoping to get the mail.python.org list
On Mon, Oct 16, 2017 at 12:00 AM, Michael Torrie wrote:
> On 10/15/2017 08:50 PM, Andrew Z wrote:
> > Gents,
> > how
esn't seemed to filter anything in the comp group. But
what you recommend is to access the group using regular email client and
use it's spam filtering . Did i get that right ?
On Mon, Oct 16, 2017 at 12:19 AM, Andrew Z wrote:
> Michael, that's what i use too - gmail. But i
hmm. i did do that. maybe just a delay.
I'll see how it will go tomorrow then. Thank you gents.
On Mon, Oct 16, 2017 at 12:30 AM, Chris Angelico wrote:
> On Mon, Oct 16, 2017 at 3:19 PM, Andrew Z wrote:
> > Michael, that's what i use too - gmail. But i get the dige
I realize the following has little todo with python per se. But i hope to
get a guidance on how these types of tasks are done nowadays.
The task:
Ive been asked to create an integration process. That is a few webpages
with questioneer with the submission to a "mother" company using its API .
Idea
Hello,
i'd like to create a graph/plot based a DB table's data, but not sure
where to start. I
also would like to have the following functionality:
a. i'd like to have it in the separate window ( xwindow to be precise).
b. and i'd like to have the graph updating with every record added to the
Rrhank you Thomas.
On Oct 27, 2017 04:23, "Thomas Jollans" wrote:
> On 2017-10-27 07:18, Andrew Z wrote:
> > Hello,
> > i'd like to create a graph/plot based a DB table's data, but not sure
> > where to start. I
> >
> > also would like to
Yeah, lets start the war!
// joking!
But if i think about it... there are tons articles and flame wars about "a
vs b".
And yet, what if the question should be different:
If you were to create the "ide" for yourself (think lego) , what are the
functions that you _use_ and like a lot?
--
https://m
I like this trajectory of conversation.
Can we re define "small tiny" as "scripts"?
i can argue, based on my expirience with other languages, that there is no
need for an "ide". The most ive ever needed is a text editor and a few
plugins with "print".
Moving to "average" size projects.
What i fou
hello,
learning python's plotting by using matplotlib with python35 on fedora 24
x86.
Installed matplotlib into user's directory.
tk, seemed to work -
http://www.tkdocs.com/tutorial/install.html#installlinux - the window shows
up just fine.
but when trying to run the simple plot (
https://matplot
Stefan,
I intentionally tried to use the qt backend that i do not have. I wanted to
check i the switch was working (or not).
All i want at this point is to use (seemed to be default) tkagg.
On Oct 31, 2017 20:15, "Stefan Ram" wrote:
> Andrew Z writes:
> >ImportError: *No
Wolfgang,
I tried to ran from ide with no rwsults, so now im trying from a terminal
in xwindow.
The .plot is the last line in the script and it does hang trying to execute
it.
On Nov 1, 2017 05:44, "Wolfgang Maier" <
[email protected]> wrote:
On 01.11.2017
py
imported
^C^Z
[1]+ Stopped python3.5 ./main1.py
On Wed, Nov 1, 2017 at 9:31 AM, Vlastimil Brom
wrote:
> 2017-11-01 13:49 GMT+01:00 Andrew Z :
> > Wolfgang,
> > I tried to ran from ide with no rwsults, so now im trying from a
> terminal
> > in xwindow.
> &g
Tim,
it won't even advance to that line.
On Thu, Nov 2, 2017 at 8:28 AM, Tim Williams wrote:
> On Wednesday, November 1, 2017 at 6:30:27 PM UTC-4, Andrew Z wrote:
> > nope. it doesnt:
> >
> > I added print-s after each line and that produced:
> > [az@hp
Hello,
i wonder how do i get the "for" and "if" to work against a dictionary in
one line?
basically i want to "squeeze":
dct= [ 1 : "one", 2:"two", 3:"three"]
for k, val in dct:
if k >= 2:
# do magnificent things
Thank you
AZ
--
https://mail.python.org/mailman/listinfo/python-list
My implied solution is incorrect.
I should start with using the date type and, for example, dateutil package
for date manipulation and building the dictionary of needed dates/months.
And only after that, map against the fut_suffix.
On Tue, Nov 14, 2017 at 12:56 AM, Andrew Z wrote:
> w
well, yeah, it's unidirectional and final destination is always the same
and have little to do with the question.
Say, i have a dict:
fut_suffix ={ 1 : 'F',
2 : 'G',
3 : 'H',
4 : 'J',
5 : 'K',
6 : 'M',
7 : 'N',
thon.org> wrote:
> On Tue, 14 Nov 2017 00:44:18 -0500, Andrew Z wrote:
>
> > Hello,
> > i wonder how do i get the "for" and "if" to work against a dictionary
> > in
> > one line?
> >
> > basically i want to "squeeze":
dDate + relativedelta.relativedelta(months = -6,day = 1)
LocalSmlSuffix = [ suffix for mnth, suffix in fut_suffix.items() if
mnth == startDate.month]
On Tue, Nov 14, 2017 at 5:01 PM, Rick Johnson
wrote:
> On Tuesday, November 14, 2017 at 1:44:17 PM UTC-6, Ben Finney wrote:
> > Andrew Z
I have hard time seeing the benefits of this "necessity" , just
unreasonable overcomplications for the name of "diversity".
On Nov 23, 2017 22:57, "Ben Finney" wrote:
> Ian Kelly writes:
>
> > On Thu, Nov 23, 2017 at 1:04 PM, Karsten Hilbert
> > wrote:
> > > Using function arguments writte
Thank you Rick for well thought out argument.
On Nov 24, 2017 12:44, "Rick Johnson" wrote:
> On Thursday, November 23, 2017 at 9:57:12 PM UTC-6, Ben Finney wrote:
> [...]
> > This is a necessary consequence of increasing the diversity
> > of people able to program in Python: people will expres
Martin,
Im Late to the party, but my (newbish) .02
I learned hard way not to mix rpm and pip (im on fedora).
Yes, pip ...-user is what i use now exclusively.
I doubt you can _easily_ clean everything up..especially considering that a
few linux core utils depend on python nowadays.
Maybe you ca
Looks like the longest thread for past 2 months.
Should we push it to be the longest for 2017?
:)
On Dec 6, 2017 15:34, "Ian Kelly" wrote:
> On Wed, Dec 6, 2017 at 10:56 AM, Gene Heskett
> wrote:
> > On Wednesday 06 December 2017 12:14:32 Ian Kelly wrote:
> >
> >> On Wed, Dec 6, 2017 at 9:42
Can we mark the entire thread "spam", please?
On Dec 6, 2017 17:55, "Gregory Ewing" wrote:
> Rick Johnson wrote:
>
> DOLT: "Programming is easy! Once you learn the langauge,
>> it's just a matter of fill-in-the-blanks."
>>
>
> To be fair to this person, for someone who has a natural
> a
Id go this way too. Basic C is straightforward. I usually consider
learning a new "thing " if the time to support potwntially combersome
solution using existing methods justifies the effort.
On Jan 23, 2018 09:01, "Ned Batchelder" wrote:
> On 1/23/18 8:48 AM, kushal bhattacharya wrote:
>
>> On
stack-sizes-and-how-alpine-is-different/).
threading.stack_size() can be used to check and perhaps adjust the
allocation size.
--
-
Andrew I MacIntyre "These thoughts are mine alone..."
E-mail: andy
On 11/09/2021 10:09, dn via Python-list wrote:
The stated requirement is: "I'd like to get the number of times I
tried". Given such: why bother with returning any of the pairs of values?
Indeed, if that's the requirement, then you can do even better, noting
that the probability of getting a
I ran pip install pyinstaller fine but after then I type in pyinstaller
and it says pyinstaller is not a internal or external command
Sent from [1]Mail for Windows
References
Visible links
1. https://go.microsoft.com/fwlink/?LinkId=550986
--
https://mail.python.org/ma
that is not an error, its simply the python console intrepeter
--
https://mail.python.org/mailman/listinfo/python-list
I'm trying to develop a tool in python that will allow me to compare two file.
I know this sounds like it's been done before but there is a catch.
Files are stored on a remote server.
There are three separate directories.
StartupConfig, RunningConfig, and ArchiveConfig
I need to have the python
On Tuesday, September 20, 2016 at 3:25:11 PM UTC-5, Lawrence D’Oliveiro wrote:
> On Wednesday, September 21, 2016 at 7:44:22 AM UTC+12, Andrew Clark wrote:
> > If anyone can help me out with sudo code or set me in the right direction
> > would be nice.
>
> You know What
On Tuesday, September 20, 2016 at 7:48:20 PM UTC-5, Steve D'Aprano wrote:
> On Wed, 21 Sep 2016 07:20 am, Andrew Clark wrote:
>
> > I've restarted my code so many times i no longer have a working version of
> > anything.
>
>
> *Restarting* your code doesn
I reinstalled paramiko and now i'm getting a slighty different error but still
says no cryptography.
Traceback (most recent call last):
File "C:\Users\ac40935\workspace\AutoCompare\filecmp.py", line 6, in
from paramiko import SSHConfig, SSHClient
File
"C:\Python35-32\lib\site-packages\p
I'm looking for a way to either completely hide character as you type in
command line or add * to each character as you for simple password
obscurity. I've tried getpass.getpass() however the characters still show up on
the screen as you type it. Can anyone help? I'm using python 2.7 on wind
On Wednesday, September 21, 2016 at 8:26:37 PM UTC-5, Steve D'Aprano wrote:
> On Thu, 22 Sep 2016 01:55 am, Andrew Clark wrote:
>
> > I reinstalled paramiko and now i'm getting a slighty different error but
> > still says no cryptography.
>
> [...]
&
Hello,
with 3.6 and latest greatest lxml:
from lxml import etree
tree = etree.parse('Sample.xml')
etree.register_namespace('','http://www.example.com')
causes:
Traceback (most recent call last):
File "/home/az/Work/flask/tutorial_1/src/xml_oper.py", line 16, in
etree.register_namespace('
parser to
produce the same result as Excel, it must see the raw bytes with no
re-ordering or suppression of CRs.
Unfortunately, I haven't had time to be involved in the module for a few
years. I wasn't involved with the Unicode changes necessary in Python 3,
and I have not verified
> wrote:
> On Tue, 06 Mar 2018 23:03:15 -0500, Andrew Z wrote:
>
> > Hello,
> > with 3.6 and latest greatest lxml:
> >
> > from lxml import etree
> >
> > tree = etree.parse('Sample.xml')
> > etree.register_namespace('','htt
401 - 500 of 1812 matches
Mail list logo