er makers didn't like it. HTML5 seemed to be
a big step forward. I used a program called Citydesk a long time ago
that I think could do what the op might like. But its long gone. I
think django could be used to make static pages quite easily. Its not
hard to learn, and in the event your
its own set of features and applications I know well, if a
> customer wants a dynamic website with a lot of logic (dynamic pages).
>
> -Morten
>
> Blogging at http://blogologue.com
> Tweeting at https://twitter.com/blogologue
> On Instagram https://instagram.com/morphexx
>
here is
> only one function can change its value?
>
> Cameron Simpson 于2019年8月23日周五 下午3:15写道:
>
The problem with deciding that only one function can change the value,
is that someone else can change the other functions. So, if you are
working alone, it won't be a problem, but once
compiles it in order. Since
you don't know what you want to import until after you run your
program, you can't import those modules. You may be able to run a
program to read the module list, then have it output to a new file the
code you eventually want to run based on the modules you discovered.
That sounds cute in a way, but probably not in a good way. You could
also surround import statements with try/except code that will import
what it can, and alert you when it can't
Can you give us the bigger picture of what you want to accomplish?
This might lead to a better solution than the one you are thinking of
now
--
Joel Goldstick
http://joelgoldstick.com/blog
http://cc-baseballstats.info/stats/birthdays
--
https://mail.python.org/mailman/listinfo/python-list
On Mon, Sep 2, 2019 at 9:21 AM Spencer Du wrote:
>
> On Monday, 2 September 2019 15:03:52 UTC+2, Joel Goldstick wrote:
> > On Mon, Sep 2, 2019 at 8:46 AM Spencer Du wrote:
> > >
> > > On Monday, 2 September 2019 13:36:06 UTC+2, Pankaj Jangid wro
copy and pasted traceback.
That said I found this:.. versionadded:: 1.14.0
max_rows : int, optional
Check your version of loadtxt()?
> --
> https://mail.python.org/mailman/listinfo/python-list
--
Joel Goldstick
http://joelgoldstick.com/blog
http://cc-baseballstats.info/stats/birthdays
--
https://mail.python.org/mailman/listinfo/python-list
od idea. However, you can just import
all of the modules you might expect to need, and ignore if they aren't
present with a suitable try/except block. Try explaining the bigger
picture of what you are trying to do, and maybe you can gain some
incite into a better way of proceeding. I'm afraid it looks like you
have been cutting and pasting without understanding what your code's
design is all about. I could be totally wrong. good luck
--
Joel Goldstick
http://joelgoldstick.com/blog
http://cc-baseballstats.info/stats/birthdays
--
https://mail.python.org/mailman/listinfo/python-list
ader to get a list of words between comma. Print the one you
like and join the values on each side of the text you are looking for.
Write that to a file
Lather, rinse and repeat
--
Joel Goldstick
http://joelgoldstick.com/blog
http://cc-baseballstats.info/stats/birthdays
--
https://mail.python.org/mailman/listinfo/python-list
Numpy's astype function. At this stage, I get an error.
>
> This is the error:
> my_data_3 = my_data_2.astype(np.float)
> could not convert string to float: " "81
>
> As you can see, the string "\t"81 is causing the error.
> It seems to be due to char "\t".
>
> I don't know how to resolve this.
>
> Thanks for your help.
>
> --
> https://mail.python.org/mailman/listinfo/python-list
how about (strip(my_data_2).astype(np.float))
I haven't used numpy, but if your theory is correct, this will clean
up the string
--
Joel Goldstick
http://joelgoldstick.com/blog
http://cc-baseballstats.info/stats/birthdays
--
https://mail.python.org/mailman/listinfo/python-list
On Sat, Sep 7, 2019 at 8:28 PM Joel Goldstick wrote:
>
> On Sat, Sep 7, 2019 at 8:21 PM Sharan Basappa
> wrote:
> >
> > I am trying to read a log file that is in CSV format.
> >
> > The code snippet is below:
> >
> > ###
&
>
> def add_vat(amount, vat_rate):
> berekening = amount * (1+vat_rate)
> return round(berekening,2)
>
> print(add_vat(101, 'high'))
> --
> https://mail.python.org/mailman/listinfo/python-list
These code snippets don't run Can you paste your complete code that
runs, with the output you get?
--
Joel Goldstick
http://joelgoldstick.com/blog
http://cc-baseballstats.info/stats/birthdays
--
https://mail.python.org/mailman/listinfo/python-list
On Fri, Oct 4, 2019 at 5:01 AM Hongyi Zhao wrote:
>
> Hi,
>
> Could you please give me some more hints on:
>
> a &= b
>
> It's very difficult for me to understand.
> --
> https://mail.python.org/mailman/listinfo/python-list
& is bitwise And. a
fronts daily -- No one
really knows how anything works under the hood. Think: car, toaster,
microwave oven, Facebook algorithms, light bulbs, and on and on
--
Joel Goldstick
http://joelgoldstick.com/blog
http://cc-baseballstats.info/stats/birthdays
--
https://mail.python.org/mailman/listinfo/python-list
> with it.
> >
>
> This is JUST a default display representation. Nothing more. If you
> care about how something is displayed, just use a formatting tool.
> That's all you need to do.
>
> ChrisA
> --
> https://mail.python.org/mailman/listinfo/python-list
gt; [image: image.png]
>
>
> Thanks and Regards,
> S.V.Bhargava Reddy.
> --
> https://mail.python.org/mailman/listinfo/python-list
Images don't make it through on this mailing list. Try to cut and
paste complete error message. What OS
--
Joel Goldstick
http://joelgoldstick
), pattern, flags]
> TypeError: unhashable type: 'list'
>
> Thanks for any insigths --
> --
> 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
--
Joel Goldstick
http://joelgoldstick.com/blog
http://cc-baseballstats.info/stats/birthdays
--
https://mail.python.org/mailman/listinfo/python-list
em! This is a mailing list where people
will help you solve python problems. You need to do your part as
well. Photos, or any attachments are removed before your message is
sent to list members. Please copy and paste your traceback from when
you run your code, and describe the problems you ar
> --
> https://mail.python.org/mailman/listinfo/python-list
I'm thinking this is a troll or a turing machine experiment?
--
Joel Goldstick
http://joelgoldstick.com/blog
http://cc-baseballstats.info/stats/birthdays
--
https://mail.python.org/mailman/listinfo/python-list
explanation there, and I have placed the cursor at the
> beginning of the first indented line. Moving down 1 line at a time ,
> each line is at the same position upto line 157 in the authors code .
> Then it is closer in to the edge upto line 190, where it goes back out
> again.
>
> What i
PROC SQL:"
This will find the starting index point. It returns and index
3. DO the same for each of the three possible ending strings. Use if/else
4. This will give you your ending index.
5 slice the included string, taking into account the start is start +
len("PROC SQL;") an
ities.
>
> Regards,
> Sandesh Kamble
>
>
> Sent from Mail for Windows 10
>
> --
> https://mail.python.org/mailman/listinfo/python-list
if you are typing something like this:
cd /mydir
but you are in the python shell, and not to linux shell
copy and paste your screen display
) = '/content/gdrive/My
> Drive/3_Classes/'.loads_data()
> 3 trainX = trainX.astype("float") / 255.0
> 4 testX = testX.astype("float") / 255.0
> 5
> --
> https://mail.python.org/mailman/listinfo/python-list
--
Joel Goldstick
http://joelgoldstick.com/blog
http://cc-baseballstats.info/stats/birthdays
--
https://mail.python.org/mailman/listinfo/python-list
python-list
> >
> --
> https://mail.python.org/mailman/listinfo/python-list
I found this article for using a raspberry pi and a gps card. It
might give you some ideas:
https://tutorials-raspberrypi.com/build-raspberry-pi-gps-location-navigation-device/
--
Joel Goldstick
http://joelgoldsti
sticated algorithm for free will in robots. If you have no robot and
> you are building a creature of pure reason, nevertheless include a Volition
> stub for the sake of AI-Complete design patterns.
>
>
> 33. The SeCurity module.
>
> The SeCurity module is not a natural com
ROJ4_VERSION,
> ImportError: libproj.so.19: cannot open shared object file: No such file
> or directory
>
>
> Thank you,
>
>
> Conrado
>
> --
> https://mail.python.org/mailman/listinfo/python-list
--
Joel Goldstick
http://joelgoldstick.com/blog
http://cc-baseballstats.info/stats/birthdays
--
https://mail.python.org/mailman/listinfo/python-list
ht triple quotes are for docstrings?
> ChrisA
> --
> https://mail.python.org/mailman/listinfo/python-list
--
Joel Goldstick
http://joelgoldstick.com/blog
http://cc-baseballstats.info/stats/birthdays
--
https://mail.python.org/mailman/listinfo/python-list
want to learn python, how can i or where can i study python?
> > --
> > https://mail.python.org/mailman/listinfo/python-list
> >
> --
> https://mail.python.org/mailman/listinfo/python-list
start with python.org
--
Joel Goldstick
http://joelgoldstick.com/blog
http://cc
rings contain ' (single quote) characters.
>
> [snip]
>
> --
> https://mail.python.org/mailman/listinfo/python-list
I'm assuming that you don't want the string to start with single
quote, doublequote, or the other way around. If you have that
situation, strip the first and
gt;[2][IMG] Virus-free. [3]www.avg.com
>
> References
>
>Visible links
>1. https://go.microsoft.com/fwlink/?LinkId=550986
>2.
> http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient
>
hon works fine, the variable name is used
> outside of the if block even it has been declared inside.
>
> This does not look right to me. Can we change this behavior or is there
> any point to keep it this way ?
> --
> https://mail.python.org/mailman/listinfo/python-list
iteTimeDate POSIX
> Samplea.py", line 38, in
> dto = datetime.datetime.strptime(d1, '%Y-%m-%d %H:%M:%S.%f')
> AttributeError: type object 'datetime.datetime' has no attribute 'datetime'
> """
> This code will be copied into another program as a function and the presence
&g
w that it is in the Eastern US. If
your server knows where it lives, then this should work for you also.
If it is set to a different timezone, I'm not sure I could help you,
but I'm sure someone could. You even might ask your host if this is
possible.
--
#! /us
one of the gui frameworks for python
certainly will have hooks to invoke code when a (virtual) button is
pressed.
Maybe find a Raspberry pi newsgroup?
>
> --
> Antoon Pardon
>
>
>
> --
> https://mail.python.org/mailman/listinfo/python-list
--
Joel Goldstick
http://joelgoldstick.com
--
https://mail.python.org/mailman/listinfo/python-list
keep it that way for as long as possible.
>>
> FTR, the countries in the EU all change at the same (UTC) time.
> --
> https://mail.python.org/mailman/listinfo/python-list
In the US, the state of Indiana is really weird. Three separate time
zone areas, that don't all flip
ned are bound to be repeated.
>
> --
> https://mail.python.org/mailman/listinfo/python-list
I got the same message. It hasn't happened to me lately but I think
this also happened maybe a couple of years ago.
--
Joel Goldstick
http://joelgoldstick.com
--
https://mail.python.org/mailman/listinfo/python-list
dded
> as a scripting language. Since multiple scripts from
> multiple authors will be running under the same process, any
> one of them can bring the whole house of cards crashing
> down. And with Python's current design, that possibility is
> more likely.
>
> It's sad, because Python is a great choice for scripting,
> but the major design flaws are self defeating. Even
> the best syntax ever created cannot make up for such
> illogical inconsistencies at the core.
>
>> Think of them as leaches. [snip remaining straw-bombs]
> --
> https://mail.python.org/mailman/listinfo/python-list
I've been following along this thread a little bit. From what I get
out of it that the OP thinks only lousy coders can't write good code
with globals. If you are skilled (as he claims) they are useful. The
con argument says that over 50 years of learning how to make better
more productive computer languages, globals end up causing certain
problems.
So, beyond that, what is the point of the thread? Is it about python?
Just barely I guess
--
Joel Goldstick
http://joelgoldstick.com
--
https://mail.python.org/mailman/listinfo/python-list
On Thu, Nov 14, 2013 at 12:56 PM, Ethan Furman wrote:
> On 11/14/2013 09:37 AM, Joel Goldstick wrote:
>>
>>
>> So, beyond that, what is the point of the thread?
>
>
> You haven't met Ranting Rick yet? He's a troll's troll, outdone only by one
>
rstand. It will
pull out the docstrings at the top of the module,and for each method
and function. Normally, that level of documentation won't be good
enough to satisfy the needs of a new reader, so go through each
function and understand them one at a time. Add to the docstrings.
--
Joel Goldstick
http://joelgoldstick.com
--
https://mail.python.org/mailman/listinfo/python-list
hth bit sure was less confusing than codepoint
translations
> --
> Robin Becker
> --
> https://mail.python.org/mailman/listinfo/python-list
--
Joel Goldstick
http://joelgoldstick.com
--
https://mail.python.org/mailman/listinfo/python-list
>
>
> no we had 6 bits in 60 bit words as I recall; extracting the nth character
> involved division by 6; smart people did tricks with inverted
> multiplications etc etc :(
> --
Cool, someone here is older than me! I came in with the 8080, and I
remember split octal, but sixes
> /tmp/pip-build-root/pygeoip/pygeoip
> root@secure [~]#
> --
> https://mail.python.org/mailman/listinfo/python-list
--
Joel Goldstick
http://joelgoldstick.com
--
https://mail.python.org/mailman/listinfo/python-list
that the
new code will be True BASIC you may find that it serves your purposes,
but over time no one will know what to make of the code since no one
learns BASIC (or FORTRAN) anymore I don't think
--
Joel Goldstick
http://joelgoldstick.com
--
https://mail.python.org/mailman/listinfo/python-list
uld share all those
> files as ZIP file.
>
> Regards,
> Johannes
You could fill out this form:
http://www.mpaa.org/contentprotection/report-piracy
> --
> https://mail.python.org/mailman/listinfo/python-list
--
Joel Goldstick
http://joelgoldstick.com
--
https://mail.python.org/mailman/listinfo/python-list
> --
> https://mail.python.org/mailman/listinfo/python-list
Chances are you will get quicker answer in numpy group. Someone here
might be able to help, but this is a general purpose python list.
--
Joel Goldstick
http://joelgoldstick.com
--
https://mail.python.org/mailman/listinfo/python-list
n only the Fortran
> Newsgroup.
>
> --
> https://mail.python.org/mailman/listinfo/python-list
This is just plain senseless. Is the op a Bot?
--
Joel Goldstick
http://joelgoldstick.com
--
https://mail.python.org/mailman/listinfo/python-list
o: python-list@python.org
> Subject: Re: Python Beginner
>
> can someone really help to give me a more details answer please.
>
> what can i do with python?
>
>
> --
> https://mail.python.org/mailman/listinfo/python-list
you can cook dinner with python... really.. this
y stuff. I'm from US and I have
done lots of phone calls with Indian developers. To me it sounds
strange to talk about codes, but I totally understand what they mean.
A bigger problem I have had is in understanding accents during multi
person phone calls with people from other
you will also need to learn a web framework - may
take you a week to 6 months to learn this to the level you would require.
I'm betting on 6 months at least
Finally, you need to collect all of that information you wish you make
available. That in itself is a huge undertaking
To be perfectly honest, this is much too large a project for you. First
read some python tutorials and learn how to code in python. If you work it
every day, maybe you can kind of understand what its about in a very
superficial sense in a month. However, if you are having fun learning,
then add a new small piece to learn.
Good luck
--
Joel Goldstick
http://joelgoldstick.com
--
https://mail.python.org/mailman/listinfo/python-list
soup.find_all('a'):
print(link.get('href'))
# http://example.com/elsie
# http://example.com/lacie
# http://example.com/tillie
In your case, you want the href values for the child of the h2 refences.
So this might be close (untested)
for link in soup.find_all('a'):
print (link.a.get('href'))
# http://example.com/elsie
# http://example.com/lacie
# http://example.com/tillie
--
Joel Goldstick
http://joelgoldstick.com
--
https://mail.python.org/mailman/listinfo/python-list
On Fri, Nov 29, 2013 at 12:44 PM, Joel Goldstick
wrote:
>
>
>
> On Fri, Nov 29, 2013 at 12:33 PM, Mark Lawrence
> wrote:
>
>> On 29/11/2013 16:56, Max Cuban wrote:
>>
>>> I have the following code to extract certain links from a webpage:
>>>
>
list in pytz or in standard python date
> module ?
>
Is this what you are looking for: http://timezonedb.com/download
>
> Best regards,
> Stephane
> --
> Stéphane Klein
> blog: http://stephane-klein.info
> Twitter: http://twitter.com/klein_stephane
> cv: http://cv
I need
> to understand the algorithm more completely, and exactly how you have
> modified it for your needs.
> --
> https://mail.python.org/mailman/listinfo/python-list
>
--
Joel Goldstick
http://joelgoldstick.com
--
https://mail.python.org/mailman/listinfo/python-list
rying to iterate thru a dictionary in a certain order, and you
can't depend on the order
>
> It seems very strange that I need the dateStrs list just for the
> purpose of looping thru the dictionary keys.
> Can I get rid of the "dateStrs" variable?
>
> Thank you.
&g
On Fri, Dec 6, 2013 at 7:16 PM, Roy Smith wrote:
> In article ,
> Joel Goldstick wrote:
>
> > Python lets you iterate over a list directly, so :
> >
> > for d in originalData:
> > dateStr, freq, source = d
> > data[source]
buy the machine, you rent
the programmer by the hour!
Aside from django urls, I am not sure I ever wrote regexes in python. For
some reason they must seem awfully sexy to quite a few people. Back to my
point above -- ever try to figure out a complicated regex written by
someone else?
--
Joel Goldstick
http://joelgoldstick.com
--
https://mail.python.org/mailman/listinfo/python-list
"why can't we all just get along?"
Rodney King, RIP
--
https://mail.python.org/mailman/listinfo/python-list
hers will want to figure it out on their own.
> --
> >> Wo hattest Du das Beben nochmal GENAU vorhergesagt?
> > Zumindest nicht öffentlich!
> Ah, der neueste und bis heute genialste Streich unsere großen
> Kosmologen: Die Geheim-Vorhersage.
> - Karl Kaos über Rüdiger
e of ctypes and
>> it looks like I'm getting different definitions in stackoverflow that may
>> correspond to different version of python.
>>
>
> In particular, I am sure that there have been bugfixes for ctypes.
>
>
> --
> Terry Jan Reedy
>
> --
> https:/
ook for the solution automatically. The dimensionality of
> the search space will be high.
> --
> https://mail.python.org/mailman/listinfo/python-list
>
--
Joel Goldstick
http://joelgoldstick.com
--
https://mail.python.org/mailman/listinfo/python-list
print "Input: ", a, b, c,
x, y, z = invert_three(a,b,c)
print "Output: ", x, y, z
--
Joel Goldstick
http://joelgoldstick.com
--
https://mail.python.org/mailman/listinfo/python-list
at yet.
>
> --
> Neil Cerutti
>
> --
> https://mail.python.org/mailman/listinfo/python-list
>
--
Joel Goldstick
http://joelgoldstick.com
--
https://mail.python.org/mailman/listinfo/python-list
On Thu, Dec 12, 2013 at 2:38 PM, MRAB wrote:
> On 12/12/2013 19:30, Joel Goldstick wrote:
>
>> On Thu, Dec 12, 2013 at 2:26 PM, Neil Cerutti > <mailto:ne...@norwich.edu>> wrote:
>>
>> On 2013-12-12, Ricardo Aráoz > <mailto:ricar...@gmail.c
r and also to handle quotes as field delimiters. This would leave
your quoted strings with spaces as a single field.
http://docs.python.org/2/library/csv.html#dialects-and-formatting-parameters
I haven't tried your example, but I'm pretty sure it can handle it.
--
Joel Goldstick
http://joelgoldstick.com
--
https://mail.python.org/mailman/listinfo/python-list
t think this is the right place for you markshizzle. This is a place
for people who are interested in improving their python skills, and asking
question after they have done there best to learn on their own first.
$20? .. as they used to say on "are you being served': go boil your head
--
Joel Goldstick
http://joelgoldstick.com
--
https://mail.python.org/mailman/listinfo/python-list
less to debug -- not because you don't make as many errors, but the good
code just does more for you
--
Joel Goldstick
http://joelgoldstick.com
--
https://mail.python.org/mailman/listinfo/python-list
rt pointed
out, you then asked the same question again. This is also not good. Then
you complain that you haven't been given service in two days.
So, what you need to do is show a small coding example of the problem you
are having. Give the OS, the python version, and copy the trac
o/python-list
>
>
You might also want to check here:
http://www.python-requests.org/en/latest/user/authentication/
The requests module might be easier to understand.
--
Joel Goldstick
http://joelgoldstick.com
--
https://mail.python.org/mailman/listinfo/python-list
tly have you tried to import a wave file? If you have a short
example of code, (python 2x or 3x) and what OS you will get probably get
some help
Have you googled this: "python play wav file"
Looks like there is something there that might help you get started
--
Joel Goldstick
http:/
On Wed, Dec 18, 2013 at 1:21 PM, Mark Lawrence wrote:
> On 18/12/2013 18:11, Michael Torrie wrote:
>
>> On 12/18/2013 07:51 AM, Chris Angelico wrote:
>>
>>> On Thu, Dec 19, 2013 at 1:48 AM, Joel Goldstick
>>> wrote:
>>>
>>>> So, what you
org/mailman/listinfo/python-list
>
You want to make a symlink to a file ini python. I think this might get
you there:
http://stackoverflow.com/questions/4847615/copying-a-symbolic-link-in-python
--
Joel Goldstick
http://joelgoldstick.com
--
https://mail.python.org/mailman/listinfo/python-list
t;
> any suggestions?
> thanks in advance
> jean
> --
> https://mail.python.org/mailman/listinfo/python-list
>
Write the code to a file. you can run it like:
python program_name.py
Go back to your text editor and do copy all (ctl-a, ctl-v) then open a
python console and paste
ommand will run script.py to its end, then drop you into the
> interactive interpreter with the environment intact from running the
> script.
>
> --
> Jerry
> --
> https://mail.python.org/mailman/listinfo/python-list
>
Wow, Jerry, I didn't know that one. Cool
--
Joel Goldstick
http://joelgoldstick.com
--
https://mail.python.org/mailman/listinfo/python-list
rn w
> >
> > x = switch(x,y)
> >
> >
> >
> > How am I supposed to do so I can return also a value to the variable y
> WITHOUT printing 'Now x =', w, 'and y = ' , z a second time ?
> >
> >
> >
> > thanks in adva
to go to python.org and check out the documentation. I
don't really understand what you are trying to do. The var1, var2 stuff
doesn't make sense
In python you can loop like this:
for x in range(10):
print x
This will print the numbers from 0 to 9.
But your best bet is
a module. Read about
namespaces.
There is nothing wrong with naming things with underscores between the
words. In fact its recommended.
Sorry, my brain is spinning. This code is useless. Why don't you try to
explain what you are trying to accomplish, and you will get better
answers.
agree?
>
>
> --
> Ned Batchelder, http://nedbatchelder.com
>
> --
> https://mail.python.org/mailman/listinfo/python-list
>
I'm with Ned. Ned you do a great job lowering the temperature here. This
group has lots of signal, but alas lots and lots of noise.
So, even though its not my holiday, Merry Christmas to all of you
knuckleheads, and good people!
--
Joel Goldstick
http://joelgoldstick.com
--
https://mail.python.org/mailman/listinfo/python-list
pretty old (b. 1953) and
sometimes younger people think they get something that really isn't that
impressive. I have an android phone and I like it, but as a phone,
compared to phones that sit on a desk it totally sucks.
And then there was the pet rock!
happy new year!
--
Joel Goldstic
s and do:
import pytesser
Good luck. Come back after you've had a go with those ideas
--
Joel Goldstick
http://joelgoldstick.com
--
https://mail.python.org/mailman/listinfo/python-list
explore
> Python possibilities first.
>
> Thank you.
> --
> https://mail.python.org/mailman/listinfo/python-list
>
--
Joel Goldstick
http://joelgoldstick.com
--
https://mail.python.org/mailman/listinfo/python-list
contents to any other
> person, use it for any purpose, or store or copy the information in any
> medium. Thank you.
>
> --
> https://mail.python.org/mailman/listinfo/python-list
>
>
--
Joel Goldstick
http://joelgoldstick.com
--
https://mail.python.org/mailman/listinfo/python-list
n't forget Python Module of the Week pymotw.com/
--
Joel Goldstick
http://joelgoldstick.com
--
https://mail.python.org/mailman/listinfo/python-list
Look at lines around 29
On Jan 27, 2014 2:45 PM, wrote:
> Hi everyone;
>
>
> Im new with python and i just installed it and added it to the path.I have
> already a script that i want to execute(run) but every time i do this
> commend python
>
> > client.py
>
> in CMD to execute it,i got this erro
On Feb 3, 2014 1:05 PM, "Charlie Winn" wrote:
>
> On Sunday, February 2, 2014 9:46:24 PM UTC, Gary Herron wrote:
> > On 02/02/2014 01:16 PM, Charlie Winn wrote:
> >
> > > Hey Guys i Need Help , When i run this program i get the 'None' Under
the program, see what i mean by just running it , can som
hon.org/mailman/listinfo/python-list
>
Cai,
Start small. write some 10 line programs. Then some 30 line programs.
then write 100 more usefull programs. Then you will understand what it is
you can do or can't.
--
Joel Goldstick
http://joelgoldstick.com/stats/birthdays
--
https://mail.python.org/mailman/listinfo/python-list
//www.tutorialspoint.com/python/python_functions.htm
>
>
> I have a question that whether variables are objects?
>
> For example,
>
> a=10
>
> 'a' is an integer. Is it an object too?
>
yes
>
> Thanks,
> --
> https://mail.python.org/mailman/listinfo/
"Segoe UI",
> 24 40,
> 25 "True"))
>
> Any and all feedback is much appreciated. As I said, I'm just beginning
> to learn Python and want to start off with a solid foundation. Thank you
> to everyone in advance for your time and thoughts.
>
> Jason
> --
> https://mail.python.org/mailman/listinfo/python-list
>
--
Joel Goldstick
http://joelgoldstick.com/stats/birthdays
--
https://mail.python.org/mailman/listinfo/python-list
On Wed, Dec 9, 2015 at 12:51 PM, Joel Goldstick
wrote:
>
>
> On Wed, Dec 9, 2015 at 12:49 PM, ICT Ezy wrote:
>
>> Pl refer question which attached image here:
>>
>> link: https://drive.google.com/open?id=0B5L920jMv7T0dFNKQTJ2UUdudW8
>> --
>> https://ma
On Wed, Dec 9, 2015 at 12:49 PM, ICT Ezy wrote:
> Pl refer question which attached image here:
>
> link: https://drive.google.com/open?id=0B5L920jMv7T0dFNKQTJ2UUdudW8
> --
> https://mail.python.org/mailman/listinfo/python-list
>
--
Joel Goldstick
http://joelgoldstick.c
addresses
used to post your 'demands'.
Not to be rude, but if your style of methodology for asking for help is
indicative of your general attitude, and interest in learning to write
software, you may be better served to find a new calling. Its not a good
profession for people who basical
have contributed in asking/answering on
> this same discussion and nobody has any problem with that, so please if
> someone ( same or different) needs help on a single problem , allow them
> contribute, they could be the source of getting the problem solved. thanks
> prince( botic) , will try you suggestion
> --
> https://mail.python.org/mailman/listinfo/python-list
>
--
Joel Goldstick
http://joelgoldstick.com/stats/birthdays
--
https://mail.python.org/mailman/listinfo/python-list
ult is invalid")
>
> def test_prime_number_three(self):
> result = prime_number(11)
> self.assertEqual(result, True, msg="Result is invalid")
> but once i run my code ,it returns error saying Test Spec Failed
>
> Your solution failed to pass all the tests
> what is actually wrong with my code?
>
You need to copy and paste the complete results and or traceback. There is
no string "Test Spec Failed" in anything you have shown
> --
> https://mail.python.org/mailman/listinfo/python-list
>
--
Joel Goldstick
http://joelgoldstick.com/stats/birthdays
--
https://mail.python.org/mailman/listinfo/python-list
easy_install default behavior.
> Any help is appreciated. Thanks in advance!
>
> - Radhika
> --
> https://mail.python.org/mailman/listinfo/python-list
>
https://pypi.python.org/pypi/PEAK-Rules maybe?
--
Joel Goldstick
http://joelgoldstick.com/stats/birthdays
--
https://mail.python.org/mailman/listinfo/python-list
On Wed, Dec 30, 2015 at 3:06 PM, Joel Goldstick
wrote:
>
>
> On Wed, Dec 30, 2015 at 1:21 PM, Won Chang wrote:
>
>>
>> i have these task which i believe i have done well to some level
>>
>> Create a function get_algorithm_result to implement the algorithm bel
vbr
> >
> --
> https://mail.python.org/mailman/listinfo/python-list
>
Can you improve your question? Which python version, which os are standard
to tell. Also, show the code you have written, its output, and what you
think is wrong with it.
This might be homework, sin
()
> ----> 1 np.sum(expectation_A)[0]
>
> IndexError: invalid index to scalar variable.
>
I've not used numpy, but you should print expectation_A to see what's in
it. It may be empty, causing the index. It may be that expectation_A is
an integer, not a list
>
> --
> https://mail.python.org/mailman/listinfo/python-list
>
--
Joel Goldstick
http://joelgoldstick.com/stats/birthdays
--
https://mail.python.org/mailman/listinfo/python-list
;c'])])
>>
>> Is there way union these to a single set, i.e. get
>>
>> Set(['a', 'b', 'c'])
>>
>> ?
>>
>
> There's a built-in "union" method for sets :
>
> >>> a = set( ['a
;
> Ingram Jansen
> Banner ID: 830742998
> --
> https://mail.python.org/mailman/listinfo/python-list
>
--
Joel Goldstick
http://joelgoldstick.com/stats/birthdays
--
https://mail.python.org/mailman/listinfo/python-list
low any
> more of your posts through unless they appear to be engaging with the
> help shown to you (and others?) over the last few days.
>
> TJG
> --
> https://mail.python.org/mailman/listinfo/python-list
>
plus 1!
--
Joel Goldstick
http://joelgoldstick.com/stats/birthdays
--
uch.
>
> ChrisA
> --
> https://mail.python.org/mailman/listinfo/python-list
>
93 messages in this thread. a handful are earnest attempts to help a
beginner with what looks like homework. The rest are an odd barrage of
obsequious please and whining from who knows how many OPs.beggi
iption
> or otherwise, but you!"
>
> :-)
>
>
> Seriously, sorry for being That Guy who asks you to analyse what I expect
> is
> meant as a joke, but I have no idea where the humour is.
>
>
> --
> Steven
>
> --
> https://mail.python.org/mailman/l
201 - 300 of 741 matches
Mail list logo