web scraper

2019-10-26 Thread joseph pareti
: (i) loop over a bunch of ISIN codes (ii) access a specific website (=morningstar?), that does the ISIN-to-fund-name translation (iii) "inspect" that page containing the result and grab the fund name. I would appreciate any advice on how to program all this. Thanks. -- Regards, Jos

Re: Hi there! We are here to answer any questions you have about Udacit...

2019-11-11 Thread joseph pareti
i have done the first 6 lessons of python --- https://classroom.udacity.com/courses/ud1110/lessons/bbacebc6-406a-4dc5-83f6-ef7ba3371da6/concepts/50247542-7933-4afe-9130-ff1dff429b03 what do you recommend next? My goal is ML/AI thank you --- Am Do., 7. Nov. 2019 um 22:01 Uhr schrieb joseph

apologies for my latest email; it was not intended for this mailing list

2019-11-11 Thread joseph pareti
-- Regards, Joseph Pareti - Artificial Intelligence consultant Joseph Pareti's AI Consulting Services https://www.joepareti54-ai.com/ cell +49 1520 1600 209 cell +39 339 797 0644 -- https://mail.python.org/mailman/listinfo/python-list

using classes

2020-03-12 Thread joseph pareti
lf.insassen = ins def __str__(self): return Fahrzeug.__str__(self) + " " + str(self.insassen) + " Insassen" def einsteigen(self, anzahl): self.insassen += anzahl def aussteigen(self, anzahl): self.insassen -= anzahl fiat = PKW("Fiat Marea",50,

Re: using classes

2020-03-12 Thread joseph pareti
thank you, that fixes it. I also noticed that both statements work: super(PKW, self).__init__(bez,ge) or super().__init__(bez,ge) Am Do., 12. März 2020 um 12:58 Uhr schrieb MRAB : > On 2020-03-12 10:54, joseph pareti wrote: > > The following code that uses a class

Re: using classes

2020-03-13 Thread joseph pareti
self.insassen += anzahl def aussteigen(self, anzahl): self.insassen -= anzahl fiat = PKW("Fiat Marea",50,0,1) fiat = PKW("Fiat Marea",50,0) fiat.einsteigen(3) fiat.aussteigen(1) fiat.beschleunigen(10) print(fiat) Am Do., 12. März 2020 um 17:38 Uhr schrieb Pieter va

Can you help me solve this?

2020-03-16 Thread Joseph Nail
Hello, I have one problem. Somehow in my function when I wrote y=x, they are the same variable and then it also changes age or height (which were x) in the main program. See more in attached file. Maybe it is bug or maybe it should run that way. -- https://mail.python.org/mailman/listinfo/python-l

Re: Reduce waiting queue at supermarket from Corona with Python-Webapp

2020-03-17 Thread joseph pareti
> >>> If you do not have currently time, but know someone who would possibly > be > >>> interested in working at this project, I would be happy if you let me > >>> know. > >>> > >>> Kind regards, > >>> Orges Leka > >>>

Re: Reduce waiting queue at supermarket from Corona with Python-Webapp

2020-03-18 Thread joseph pareti
> Best regards, > > > > Christian > > -- > > https://mail.python.org/mailman/listinfo/python-list > > > > > -- > Mit freundlichen Grüßen > Herr Dipl. Math. Orges Leka > > Mobil: 015751078391 > Email: orges.l...@googlemail.com

Re: Reduce waiting queue at supermarket from Corona with Python-Webapp

2020-03-20 Thread joseph pareti
the hindmost :) > > -- > > Robin Becker > > > > > -- > Mit freundlichen Grüßen > Herr Dipl. Math. Orges Leka > > Mobil: 015751078391 > Email: orges.l...@googlemail.com > Holzheimerstraße 25 > 65549 Limburg > -- > https://mail.python.org/m

mport pytorch fails on my windows 10 PC

2020-03-28 Thread joseph pareti
a3/pkgs/python-3.6.8-h9f7ef89_1/python.exe ./Users/joepareti/Miniconda3/pkgs/python-3.7.1-h8c8aaf0_6/python.exe ./Users/joepareti/Miniconda3/python.exe -- Regards, Joseph Pareti - Artificial Intelligence consultant Joseph Pareti's AI Consulting Services https://www.joepareti54-ai.com/ cell +49 1520

jupyter notebook permission denied

2020-04-02 Thread joseph pareti
. However, a permission denied issue prevents loading/updating the *ipynb files. Any idea why? Same happens if I do it as Administrator. -- Regards, Joseph Pareti - Artificial Intelligence consultant Joseph Pareti's AI Consulting Services https://www.joepareti54-ai.com/ cell +49 1520 1600 209 cel

Re: NLP Project with Python

2020-04-08 Thread joseph pareti
t; -- > https://mail.python.org/mailman/listinfo/python-list > -- Regards, Joseph Pareti - Artificial Intelligence consultant Joseph Pareti's AI Consulting Services https://www.joepareti54-ai.com/ cell +49 1520 1600 209 cell +39 339 797 0644 -- https://mail.python.org/mailman/listinfo/python-list

Re: Helping Windows first time users

2020-04-15 Thread joseph pareti
ges and reply text? > > Barry > > -- > https://mail.python.org/mailman/listinfo/python-list > -- Regards, Joseph Pareti - Artificial Intelligence consultant Joseph Pareti's AI Consulting Services https://www.joepareti54-ai.com/ cell +49 1520 1600 209 cell +39 339 797 0644 -- https://mail.python.org/mailman/listinfo/python-list

RE: Floating point problem

2020-04-20 Thread Schachner, Joseph
m the IEEE format's assumption that the top bit of the mantissa of a normalized floating point value must be 1. Since we know what it must be, there is no reason to use an actual bit for it. The 53 bits in the mantissa do not include the assumed top bit. Isn't floating point fun

Re: python and numpy

2020-04-21 Thread joseph pareti
ogrammer/data scientist. > > Can someone please walk me through how to download Python, SO THAT I will > > be able to import numpy? > > > > Thanks, > > Derek > > > > Sent from Mail for Windows 10 > > > > -- > > https://mail.python.

RE: [RELEASE] Python 3.9.0a6 is now available for testing

2020-04-29 Thread Schachner, Joseph
1 0 1 0 1 01 0 OK I don't see any violation of quoting or parentheses matching. Still trying to figure out what this lambda does. --- Joseph S. -Original Message- From: Robin Becker Sent: Wednesday, April 29, 2020 10:52 AM To: Łukasz Langa ; python-list@pyt

Re: Pip not working on windows

2020-05-03 Thread joseph pareti
d upgrading it by python -m pip install --upgrade pip which worked but > I still can not use pip. > -- > https://mail.python.org/mailman/listinfo/python-list > -- Regards, Joseph Pareti - Artificial Intelligence consultant Joseph Pareti's AI Consulting Services https://www.joeparet

basic Python question

2020-05-08 Thread joseph pareti
= metrics.accuracy_score(y_test, y_pred) Are the two codes really equivalent? -- Regards, Joseph Pareti - Artificial Intelligence consultant Joseph Pareti's AI Consulting Services https://www.joepareti54-ai.com/ cell +49 1520 1600 209 cell +39 339 797 0644 -- https://mail.pytho

Re: basic Python question

2020-05-08 Thread joseph pareti
yes, it is random forest classifier from scikit learn. Thank you. Am Fr., 8. Mai 2020 um 21:50 Uhr schrieb MRAB : > On 2020-05-08 20:02, joseph pareti wrote: > > In general I prefer doing: > > > > > > X_train, X_test, y_train, y_test = train_test_split(X, y, > t

Re: basic Python question

2020-05-08 Thread joseph pareti
yet, something is still unclear; in Python you can do things like: *clf0.fit(X_train, y_train)* which is not the way I programmed in other languages where a left-hand side and a right hand side is required. Am Fr., 8. Mai 2020 um 21:52 Uhr schrieb joseph pareti < joeparet...@gmail.com>:

RE: why no camelCase in PEP 8?

2020-05-19 Thread Schachner, Joseph
easily readable. notEveyoneThinksReadingCamelCaseIsEasy. -- Joseph S. -Original Message- From: Lance E Sloan Sent: Monday, May 18, 2020 3:47 PM To: python-list@python.org Subject: why no camelCase in PEP 8? I've been using Python for about 18 years. Several things have changed

Re: From an existing Pandas DataFrame, how can I create a summary DataFrame based on the union of overlapping date ranges (given a start and an end date) and an additional column?

2020-06-09 Thread joseph pareti
eturn Charges0 ABC 01/01/2020 > 02/20/202060.671 HIJ 01/01/2020 03/01/202040.002 HIJ > 05/01/2020 05/05/202050.013 DEF 01/12/2020 02/02/2020 > 212.18 > > I have been trying to use a combination of sorting and grouping but > the best I've achieved is reordering the dataframe. Even though I am > able to sort/group based on values, I still run into the issues of > finding overlapping date ranges and pulling out all trips based on a > single company per aggregate/overlapping date range. > > Thank you in advance for any help! > > Aaron > -- > https://mail.python.org/mailman/listinfo/python-list > -- Regards, Joseph Pareti - Artificial Intelligence consultant Joseph Pareti's AI Consulting Services https://www.joepareti54-ai.com/ cell +49 1520 1600 209 cell +39 339 797 0644 -- https://mail.python.org/mailman/listinfo/python-list

i don't understand this python class

2020-06-29 Thread joseph pareti
*):* *print**(*'vehicle is '*,*self*.*make*,*' insurance premium '*,*self *.*insurance*)* *def* claim*(*self*,* discount*):* X *=* self*.*insurance *+* discount *return* X And hence I am not sure about the behavior of the first code in this email. -- Re

RE: Embedded python: How to debug code in an isolated way

2020-08-24 Thread Schachner, Joseph
expects to access. Then you can use any PC based debugger (PyScripter, Jetbrains' PyCharm, Visual Studio with Python support, etc) to debug in the simulated environment. --- Joseph S. -Original Message- From: Grant Edwards Sent: Sunday, August 23, 2020 12:59 PM To: python-list@pytho

RE: Output showing "None" in Terminal

2020-08-25 Thread Schachner, Joseph
he "return answer" line at the end, where the "answer=km_mi" used to be. That should help. The code calculates "answer". It prints "answer". You should return "answer" at the end, after it has been calculated. --- Joseph S. -Original Mes

RE: What this error want to say? Can't we use return without function?

2020-09-08 Thread Schachner, Joseph
delete "return coun". Then your script will run. --- Joseph S. -Original Message- From: Shivlal Sharma Sent: Monday, September 7, 2020 3:09 AM To: python-list@python.org Subject: What this error want to say? Can't we use return without function? N = int(input("enter

Re: dictionaries an matrices

2020-09-16 Thread joseph pareti
o know if i can to create a dictionary with two matrices, > where every element of the first matrix corresponds to dictionary's keys > and the elements of the second matrix will be the values every key. > thanks > -- > https://mail.python.org/mailman/listinfo/python-list

RE: Python 3..9.0

2020-10-09 Thread Schachner, Joseph
dle, it's there in your Python installation. Or download PyScripter, or Jetbrains' PyCharm, or Wing (see recent new version announcement). --- Joseph S. -Original Message- From: jjall...@aol.com Sent: Thursday, October 8, 2020 12:59 PM To: python-list@python.org Subject

RE: Question on ABC classes

2020-10-23 Thread Schachner, Joseph
I'm a C++ programmer and Python programmer as well. Python classes are not exactly like C++ classes. If you define a class where every method has an implementation, then it really isn't abstract. It can be instantiated. You can force it to be abstract by doing from abc import ABCMeta and dec

RE: Letter replacer - suggestions?

2020-12-07 Thread Schachner, Joseph
ts with a letter, then it will be a string. If I say I want to replace "?" that may not exist in the string, but that's OK. Joseph S. -Original Message- From: Bischoop Sent: Monday, December 7, 2020 10:48 AM To: python-list@python.org Subject: Letter replacer -

RE: linear algebric equations

2020-12-08 Thread Schachner, Joseph
your executable, because Python will call it; and in a second of so after it finishes Python can read in results and format whatever report you like. --- Joseph S. -Original Message- From: Tito Sanò Sent: Monday, December 7, 2020 11:59 AM To: python-list@python.org Subject: linear

RE: To check if number is in range(x,y)

2020-12-14 Thread Schachner, Joseph
nd you read Python 101 and when you've done that, read Python 201. I think they are very good "learn Python" books. If you're surprised that the end point is not included in range, you need to read Python 101. --- Joseph S. -Original Message- From: Tim Chase Sent: Sat

RE: dict.get(key, default) evaluates default even if key exists

2020-12-18 Thread Schachner, Joseph
xecuted. Following that it prints '1', because the default value was NOT USED. If it was used, you would see 'Nobody expects this' followed by 0. --- Joseph S. -Original Message- From: Mark Polesky Sent: Tuesday, December 15, 2020 12:07 PM To: python-list@p

Problems posting with urlencode

2005-10-02 Thread Joseph Chase
I have the following form : Created User Auction title Auction url Modification rec State I post the form data with the following calls: params = urllib.urlencode({"auction[user]" :user, "auction[auction_title]": auction_title,"auction[auction_url]": auction_url, "auction[modificatio

Re: SuSe 10.0 missing Idle

2005-11-10 Thread Joseph Garvin
Steve wrote: >Hello, > >Hopefully this is not to of topic. I just installed SuSe 10.0 > and although python installed but no Idle. I can't seem to find it in >the list of available packages either. I was wondering if someone might >steer me in the right direction. I've just started learni

Re: user-defined operators: a very modest proposal

2005-11-22 Thread Joseph Garvin
Tom Anderson wrote: >Jeff Epler's proposal to use unicode operators would synergise most >excellently with this, allowing python to finally reach, and even surpass, >the level of expressiveness found in languages such as perl, APL and >INTERCAL. > >tom > > > What do you mean by unicode operat

Re: Fuzzy matching of postal addresses

2005-01-23 Thread Joseph Turian
MUR: http://www-2.cs.cmu.edu/~lemur/ In this case, a "document" is an address in Database B. A "query" is an address in Database A. (Alternately, you could switch A and B to see if that affects accuracy.) Good luck. Joseph -- http://mail.python.org/mailman/listinfo/python-list

Re: Loop until condition is true

2005-06-18 Thread Joseph Garvin
Peter Otten wrote: >I found 136 occurrences of "do {" versus 754 of "while (" and 1224 of "for >(" in the Python 2.4 source, so using these rough estimates do-while still >qualifies as "rarely used". > >Peter > > > That's 136 times you'd have to use an ugly hack instead. I definitely wouldn't m

Favorite non-python language trick?

2005-06-23 Thread Joseph Garvin
As someone who learned C first, when I came to Python everytime I read about a new feature it was like, "Whoa! I can do that?!" Slicing, dir(), getattr/setattr, the % operator, all of this was very different from C. I'm curious -- what is everyone's favorite trick from a non-python language? An

Re: Favorite non-python language trick?

2005-06-24 Thread Joseph Garvin
enthusiasm over Lua's trick, and I'm glad that C/C++ can do it, but the original issue was non-python language tricks in general. Lets keep the thread on track. So far we've got lisp macros and a thousand response's to the lua trick. Anyone else have any actual non-python lang

Re: Python for everything?

2005-07-03 Thread Joseph Garvin
Larry Bates wrote: >poorly. When new version of Python ships, you just learn what is new. >If you try to keep up with C, C++, Visual Basic, ... it gets to be >impossible. > >Hope information helps. > >Larry Bates > > > Huh? Part of C++'s problem is that it takes too long for obvious good stuff

Re: Python for everything?

2005-07-03 Thread Joseph Garvin
Mike Meyer wrote: >You wind up >having to invoke the function through your data object, and then pass >the data object in - sort of as an explicit "self". > > > Yeah, and us pythonists hate explicit self! ;) -- http://mail.python.org/mailman/listinfo/python-list

Re: Thoughts on Guido's ITC audio interview

2005-07-07 Thread Joseph Garvin
Everyone complaining about Eclipse in this thread needs to go try 3.1. The interface is much much much more responsive. Also, everyone keeps discussing Eclipse as something that gives Java a leg up on Python. *Ahem* PyDev :) Which you should also give another try if you haven't in a few version

Managment of Python Libraries

2005-07-12 Thread Joseph Chase
I am new to Python. In the past, I have noticed that I have spent a lot of time managing my C++ libraries. When my personal frameworks got large enough, and some moving around/refactoring was apparent, it was an absolute nightmare. As I embark on the wonderful language of Python, or there any

Re: Creating anonymous functions using eval

2005-07-12 Thread Joseph Garvin
Robert Kern wrote: >Not everyone is reading this list in a conveniently threaded >form > > Why not? Just about every modern newsgroup reader and e-mail app has a threaded view option. -- http://mail.python.org/mailman/listinfo/python-list

Re: Any Lua Coders About?

2005-07-13 Thread Joseph Garvin
Wendell III wrote: >Hey, > >I'm looking for a few good Lua guys with some IM network experience. >Anyone around fit that criteria? > >Bestest, >-Wendell > > I'd say it's a no brainer to try lua's mailing list ;) -- http://mail.python.org/mailman/listinfo/python-list

Re: Efficiently Split A List of Tuples

2005-07-13 Thread Joseph Garvin
Peter Hansen wrote: >(I believe this is something Guido considers an "abuse of *args", but I >just consider it an elegant use of zip() considering how the language >defines *args. YMMV] > >-Peter > > An abuse?! That's one of the most useful things to do with it. It's transpose. -- http://ma

Re: Porting from Python 2.3 to 2.4

2005-07-13 Thread Joseph Garvin
Anand wrote: >Hi > > Are there any tools that would help in porting code from >Pyton 2.3 to 2.4 ? I have gone through the whatsnew documents >and created a document comparing Python 2.4 to 2.3. But so far >has not been able to find any tool that will signal code in >Python 2.3 that can cause err

Re: Python Programming Contest

2005-07-16 Thread Joseph Garvin
Someone correct me if I'm wrong -- but isn't this the Shortest Path problem? I don't foresee anyone getting a more efficient solution than what they can find in hundreds of algorithms textbooks. If this is indeed the case it should just come down to whoever can pull the narliest tricks to creat

Re: Django - Rails killer comes...

2005-07-16 Thread Joseph Chase
I can't wait to try this out. We'll see how it stacks up next to ROR. "JZ" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > http://www.djangoproject.com/ > > -- > JZ -- http://mail.python.org/mailman/listinfo/python-list

Safest manner to extend search path for modules?

2005-07-25 Thread Joseph Turian
sys.path.append(os.path.join(sys.path[0], "../modules")) If so, is there a cleaner way of doing this than including the above text in all scripts? Thanks, Joseph -- http://mail.python.org/mailman/listinfo/python-list

Re: Replacement for keyword 'global' good idea? (e.g. 'modulescope' or 'module' better?)

2005-08-05 Thread Joseph Garvin
[EMAIL PROTECTED] wrote: >I've heard 2 people complain that word 'global' is confusing. > >Perhaps 'modulescope' or 'module' would be better? > >Am I the first peope to have thought of this and suggested it? > >Is this a candidate for Python 3000 yet? > >Chris > > > Hmm.. instead of 'global', ho

Re: ANN : dxPython 0.3.0

2005-08-05 Thread Joseph Garvin
Atila Olah wrote: >In my opinion, you shoud make an (100%) English version of the site, if >you want more developers to join worldwide. > > > Isn't there some sort of Python directx thingy already? Surprised. -- http://mail.python.org/mailman/listinfo/python-list

Re: Decline and fall of scripting languages ?

2005-08-06 Thread Joseph Garvin
Paul Rubin wrote: >Cliff Wells <[EMAIL PROTECTED]> writes: > > >>It didn't say what they left PHP, Perl and Python for (if you are to >>even believe their findings). >> >>PHP has been losing programmers in droves... to Ruby on Rails, but I'm >>not sure how that is bad news for scripting-language

A few q's on python files.

2005-02-21 Thread Joseph Quigley
hiya, i'm new to python (by a week) but am learning fast (that's what I like about python--it's simplicity). I got disgusted with C and C++ (i was learning) probably because of a bad copy of Visual C++ 6.0 that gave me errors. I noticed that IDLE doesn't have an option to allow you to convert a

Re: Installing Python 2.4 on Linux

2005-04-08 Thread Joseph Garvin
Another solution is to just install 2.4 and then make an alias for yum='/usr/bin/python2.3 yum' or whatever the path is :) Edward Diener wrote: > I can install Python 2.4 on the Fedora 3 Linux system, but after I do > a number of Linux utilities and commands, like yum, stop working > because they

Python 2.3.5 make: *** [Parser/pgen] Error 1 Parser/grammar.o: I n function `translabel': undefined reference to `__ctype_b'

2005-04-14 Thread Karalius, Joseph
or 1 mmagnet:/home/jkaralius/src/Python-2.3.5 # ~~ Joseph Karalius Research Associate - Bioinformatics Molecular Markers and Applied Genomics Seminis Vegetable Seeds, Inc 37437 State Highway 16 Woodland, CA 95695-9353 530-669-6131 joseph.karalius (a) seminis dot com ~~~

writing fortran equivalent binary file using python

2013-11-13 Thread Sudheer Joseph
Hi, I need to write a binary file exactly as written by fortran code below to be read by another code which is part of a model which is not advisable to edit.I would like to use python for this purpose as python has mode flexibility and easy coding methods. character(40) :: TITLE="

Re: writing fortran equivalent binary file using python

2013-11-14 Thread Sudheer Joseph
n 14 November 2013 00:53, Sudheer Joseph wrote: > > My trial code with Python (data is read from file here) > > > > from netCDF4 import Dataset as nc > > import numpy as np > > XFIN=0.0,YFIN=-90.0,NREC=1461,DXIN=0.5;DYIN=0.5 > > TITLE="NCMRWF

finding masking boundary indices

2013-11-23 Thread Sudheer Joseph
Hi, I have a masked array like in the attached link, I wanted to find indices of the bounds where the mask is false ie in this case of depth file where there is depth less than shore. Is there a pythonic way of finding the boundary indices? please advice? https://drive.google.com/file

support for boost::python for build double object

2014-11-03 Thread Joseph Shen
In the boost::python library there is a function >>> boost::python::long_ and this function return a boost::python::object variable I'm trying to wrap a double variale but I can't find something just like >> boost::python::double_ can someone help me to build a double object PS. I know the

Re: support for boost::python for build double object

2014-11-03 Thread Joseph Shen
On Monday, November 3, 2014 10:11:01 PM UTC+8, Skip Montanaro wrote: > On Mon, Nov 3, 2014 at 7:53 AM, Joseph Shen wrote: > > In the boost::python library there is a function > > > > >>> boost::python::long_ > > > > and this function return a boo

Implement multiprocessing without inheriting parent file handle

2014-03-21 Thread Antony Joseph
Hi all, How can i implement multiprocessing without inherit file descriptors from my parent process? Please help me. regards, Antony -- https://mail.python.org/mailman/listinfo/python-list

refresing the edited python function

2013-08-18 Thread Sudheer Joseph
e. So what is the standard way to update the function for further tests after an edit? with best regards, Sudheer   *** Sudheer Joseph Indian National Centre for Ocean Information Services Ministry of Earth Sciences, Govt. of India POST

Re: refresing the edited python function

2013-08-19 Thread Sudheer Joseph
some solution will be evolved. with best regards, Sudheer > > From: dieter >To: python-list@python.org >Sent: Monday, 19 August 2013 11:48 AM >Subject: Re: refresing the edited python function > > >Sudheer Joseph writes: > >&

Re: refresing the edited python function

2013-08-19 Thread Sudheer Joseph
- Original Message - > From: Dave Angel > To: python-list@python.org > Cc: > Sent: Monday, 19 August 2013 4:45 PM > Subject: Re: refresing the edited python function > > Sudheer Joseph wrote: > >> Thank you Dieter, >> I never

Re: refresing the edited python function

2013-08-21 Thread Sudheer Joseph
Thank you,     But I wish if there was a foolproof reload with best regards, Sudheer - Original Message - > From: Jean-Michel Pichavant > To: Sudheer Joseph > Cc: python-list@python.org > Sent: Tuesday, 20 August 2013 10:07 PM > Subject: Re: refresing th

Re: Did https://pypi.python.org/pypi/ became huge and slow?

2015-03-10 Thread Joseph Wayodi
nk the OP was asking about is the whole index of packages: <https://pypi.python.org/pypi/>. Does it make sense that <https://pypi.python.org/pypi> and <https://pypi.python.org/pypi/> are completely different pages? The only difference in URLs being the slash at the end. Joseph. -- https://mail.python.org/mailman/listinfo/python-list

RE: Writing a python editor for blind developers

2015-07-06 Thread Joseph Lee
and PyQT (apps powered by QT 5 is accessible). There exists a list like this for blind Pythoneers at: http://www.freelists.org/list/pythonvis For more info on NVDA, go to: http://www.nvaccess.org P.S. A very short intro: I'm Joseph, a blind Pythoneer and regular code and translations cont

RE: Need assistance

2015-07-16 Thread Joseph Lee
Hi Michael, I have talked to this guy offlist (basically you gave him the answer (smiles)). Cheers, Joseph -Original Message- From: Python-list [mailto:python-list-bounces+joseph.lee22590=gmail@python.org] On Behalf Of Michael Torrie Sent: Thursday, July 16, 2015 7:41 PM To: python

RE: Need assistance

2015-07-16 Thread Joseph Lee
>I do recall the list fuction. But isn't it imperative that I have the index of the spaces in the string name? >I use the Fullname.isspace function. JL: No. Michael's hint lets you turn a string into a list. Good luck. Cheers, Joseph -- https://mail.python.org/mailman

RE: Need assistance

2015-07-18 Thread Joseph Lee
Hi Laura, There are edge cases where this may fail (and let's see if Craig catches this on his own). Cheers, Joseph -Original Message- From: Python-list [mailto:python-list-bounces+joseph.lee22590=gmail@python.org] On Behalf Of Laura Creighton Sent: Saturday, July 18, 2015 5:16

Re: Hi

2015-07-26 Thread Joseph Wayodi
On Sat, Jul 25, 2015 at 8:30 AM, 김지훈 wrote: > Hi. > I recently changed my path to be a programmer so I decided to learn python. > I downloaded files(Python 2.7.10 - 2015-05-23) to setup on your website. > (also got the version of x64 because of my cpu) > But when I try to install it, there is an e

RE: function code snippet that has function calls I have never seen before. How does it work.

2015-10-03 Thread Joseph Lee
returning the result for output. Thus the final expression that print will print is: print((4+-1) * 1) When looking at a function that takes result of another function, it is important to look at what the inner callee does (in this case, look at what funB does first). Cheers, Joseph

memory management

2013-02-18 Thread Sudheer Joseph
HI, I have been trying to compute cross correlation between a time series at a location f(1) and the timeseries of spatial data f(XYT) and saving the resulting correlation coefficients and lags in a 3 dimensional array which is of fairly big size. Though the code I made for this purpose

Re: memory management

2013-02-18 Thread Sudheer Joseph
> Python version and OS please. And is the Python 32bit or 64bit? How > > much RAM does the computer have, and how big are the swapfiles ? > Python 2.7.3 ubuntu 12.04 64 bit 4GB RAM > > "Fairly big" is fairly vague. To some people, a list with 100k members > > is huge, but not to a modern

RE: Top 10 python features

2013-03-17 Thread Joseph Clark
I'm a Python newbie and already found a few things that I love about the language. Among them: - list/set comprehensions - dictionaries and sets - pickle/shelve // joseph w. clark , phd , visiting research associate \\ university of nebraska at omaha - college of

Accessing next/prev element while for looping

2005-12-18 Thread Joseph Garvin
When I first came to Python I did a lot of C style loops like this: for i in range(len(myarray)): print myarray[i] Obviously the more pythonic way is: for i in my array: print i The python way is much more succinct. But a lot of times I'll be looping through something, and if a certain

Re: Accessing next/prev element while for looping

2005-12-18 Thread Joseph Garvin
Steven D'Aprano wrote: >On Sun, 18 Dec 2005 23:36:29 +1100, Steven D'Aprano wrote: > > > >>Python lists aren't linked lists? They are arrays. >> >> > >[slaps head for the stupid typo] >That should have been a full stop, not question mark. Python lists are not >linked lists, period. > > > >

urllib.urlopen and https question

2006-01-10 Thread bowman . joseph
Hi, I'm new to python. I've been handed the job of modifying a script we have here at work that pulls content from a zope site, to create static html. They wanted a check to make sure the database is up, while pulling, to avoid errors. I got it pretty much working how I want without any problems.

Re: urllib.urlopen and https question

2006-01-10 Thread bowman . joseph
That's what I get for scimming the documentation too quickly. Got it, thanks! For anyone else working on something similar, here is all I did... mind you, this is my first experience with python. # subclass of FancyURLopener so we can override the prompt_user_password method class DBCheckUrlOpen

Tkinter

2006-01-10 Thread Rodrigues, Joseph
s been replaced by wxPython and QtPy is this correct?   Also: Is there any point in continuing the use of Tkinter for python GUI apps when other resources are available?    Could you point me to the correct to post the above if you are unable to answer? Thanks Joseph     --

Video capture from webcam on Mac?

2006-06-15 Thread Joseph Chase
Is there a cross-platform solution for video capture from a webcam? I am aware of the Win32 videocapture library, but am unaware of how to accomplish the same functionality on the Mac side. Thanks in advance. -- http://mail.python.org/mailman/listinfo/python-list

Re: Generators vs. Functions?

2006-02-04 Thread Joseph Garvin
Wolfgang Keller wrote: >If this is actually also true in the general case, and not due to eventual >non-representativeness of the test mentioned above, is it simply due to a >less-than-optimum implementation of generators in the current Pyython >interpreter and thus likely to change in the futu

Re: Solipsis: Python-powered Metaverse

2005-05-10 Thread Joseph Garvin
Terry Reedy wrote: >Today I followed a link to an interesting Python application I have not >seen mentioned here before: http://solipsis.netofpeers.net/wiki/HomePage/. > >"A peer-to-peer system for a massively multi-participant virtual world " > >It is a France Telecom R&D project, LGPL licenced

Re: Python Args By Reference

2005-05-10 Thread Joseph Garvin
ncf wrote: >Hello all, I was wondering if there was any way to pass arguments >(integer and such) by reference (address of), rather than by value. > >Many thanks in advance. > >-Wes > > > All mutable types in python are passed by reference automatically. -- http://mail.python.org/mailman/listi

Re: How "return" no return ?

2005-05-12 Thread Joseph Garvin
Ximo wrote: >Hello, I want that the return sentence don't return anything, how can I do >it?. If i do only return it returns None, and pass don't run too. > >Can anyone help me?, thanks. >XIMO > > > > Returning None is the same as returning nothing. What exactly are you trying to do? -- http:

Re: Safe eval, or how to get list from string

2005-05-15 Thread Joseph Garvin
[EMAIL PROTECTED] wrote: >>http://twistedmatrix.com/users/moshez/unrepr.py >>http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/364469 >> >> > >Thanks, this helps - but I was looking at using no additional modules, >or using something that came bundled in with python 2.3 > >I just discove

Monitoring Outgoing Connections?

2005-05-29 Thread Joseph Chase
Is it possible to write a client within Python that would trigger some sort of callback interface when the user is attempting to make an outgoing TCP/IP connection? I'd like to accomplish this on a Windows XP box. Is this something that could be accomplished with the Twisted framework, or am I

jigsae puzzle issue

2007-11-03 Thread Joseph King
Hey i am trying to build a puzzle (jigsaw) game. I have most of the code for it written in python. But having an issue with one part. What i want is to give the player the ability to import there own picture and create a jigsaw from the picture with there own designation of the piece size and

manually cutting a picture

2007-11-06 Thread Joseph king
I have a kinda hard question i am trying to build a jigsaw game with python, i would like to give the option for people to create there own puzzle piece does anyone know how to accomplish this it is becoming increasingly difficult for me -- http://mail.python.org/mailman/listinfo/python-li

Re: manually cutting a picture

2007-11-07 Thread Joseph king
Thanks that is a pretty good idea one thought that i came up with (honestly the only one that made sense) was to give the user a type of cookie cutter approach. where they would be presented with a selection of premade piece's that could divide the picture that they chose to how ever many piec

manually cutting a picture

2007-11-07 Thread Joseph king
well so far the problem for me is not the linking i have a kinda good code for that. here is a little snippet of the idea that i used on an old version that split the picture without input from the user. #this code defines that the edges have a place on the grid. def join_point(self, type): o

Tip of the day generator.

2007-11-28 Thread Joseph king
Hey i was wondering if any one would know if there was a way to have python randomly read form a file or would you ahve to know the byte postion and somehow randomize splicing the file so the sentence you want show's up. i.e have a file with a lot of tips and useless facts and then have python ran

tip of the day generator

2007-11-28 Thread Joseph king
thanks for all the help... -- http://mail.python.org/mailman/listinfo/python-list

python not a good name.

2007-11-30 Thread Joseph king
sorry for not responding to the thread the regular way...[cough] just to prove everyone i counted what was found while searching python in google. i only looked at the first 6 pages but out of them only one did not mention the language plus i can't beleive people would be so synical abou

Story generator....

2007-12-03 Thread Joseph king
I don't know how to pose this question so i will just say what i am trying to do. i am not sure if this is at all possible i am trying to make a story generator like the ones that i did in elementry school where they would supply a story with blanks and you would have to place the nouns-v

ZSI and .NET

2008-01-08 Thread Joseph Bernhardt
I am successfully using ZSI to create a web service for our internal use. A request containing a username and password will respond with user information. Sample Request: Jough joughspassword Response for Sample Request: http://www.w3.org/2001/XMLSch

question

2008-01-25 Thread Joseph king
I just need to pass this through... How does everyone feel about the fact that SUN bought mySQL for $1 billion. I don't find it possible that they would keep it a free product if they invested that much money on it. -- http://mail.python.org/mailman/listinfo/python-list

<    1   2   3   4   5   >