On Tue, 25 Jun 2019 at 17:08, Sinardy Xing wrote:
>
> My question is, how currently all of this great technology glue together
> and as a final product for the enduser. Because I cant imagine that we
> install Anaconda Jupyter Notebook at frontend for the enduser to use it,
> and give end user bun
On 25/06/2019 15:52, Sinardy Xing wrote:
> My question is, how currently all of this great technology glue together
> and as a final product for the enduser. Because I cant imagine that we
> install Anaconda Jupyter Notebook at frontend for the enduser to use it,
> and give end user bunch of *.py
Hi Mats,
Thanks for the reply. I am so sorry the question was not clear. I was
rushing home when composing the question.
I have learned python and a little about the pandas lib also the
visualization lib such as maplotlib, I also learn on how to generate the
output (thanks again for that example
On 25/06/2019 13:39, Sinardy Xing wrote:
> All of the example that I learned from internet currently are using the
> Anaconda Jupyter Notebook.
> I know there are API where we can output the result of the graph to png,
> will that be possible all these done automatically and dynamically via an
> a
On 6/25/19 6:39 AM, Sinardy Xing wrote:
> Hi,
>
> I am a newbie with python and the data visualization.
> I have completed pandas.DataFrame stuff and also the matplotlib.
>
> All of the example that I learned from internet currently are using the
> Anaconda Jupyter Notebook.
> I know there are AP
>
> So main.py contains:
>
> def get_field(value, start_bit, end_bit):
>
>
> and I see:
>
> >>> import main
> >>> help(get_field)
> Traceback (most recent call last):
>File "", line 1, in
> NameError: name 'get_field' is not defined
>
>
> help(main) works ok but is rather verbose.
Try:
If I have a script called main.py and document a function in it:
def get_value(x):
"""
Some text ...
:param x: Some value
:returns: Something useful
"""
What is the most basic way of showing those docstrings at the
On Thu, Jul 30, 2015 at 04:28:33PM +, David Aldrich wrote:
> So main.py contains:
>
> def get_field(value, start_bit, end_bit):
>
>
> and I see:
>
> >>> import main
> >>> help(get_field)
> Traceback (most recent call last):
>File "", line 1, in
> NameError: name 'get_field' is n
On Thu, Jul 30, 2015 at 08:24:27AM +, David Aldrich wrote:
> I understand that 'help' works with modules that I have imported. But
> if I've just written a script called main.py (which contains
> get_value()) I don't think I can 'import' that. So how would I see the
> docstrings in main.py?
On Thu, Jul 30, 2015 at 4:24 AM, David Aldrich
wrote:
>>> If I have a script called main.py and document a function in it:
>>>
>>> def get_value(x):
>>> """
>>> Some text ...
>>> :param x: Some value
>>> :returns: Something useful
>>> """
>>>
>>> What is the most basic
>> If I have a script called main.py and document a function in it:
>>
>> def get_value(x):
>> """
>> Some text ...
>> :param x: Some value
>> :returns: Something useful
>> """
>>
>> What is the most basic way of showing those docstrings at the Python
>> prompt?
>
> Tr
On Jul 29, 2015 12:45 PM, "David Aldrich"
wrote:
>
> Hi
>
> If I have a script called main.py and document a function in it:
>
> def get_value(x):
> """
> Some text ...
> :param x: Some value
> :returns: Something useful
> """
>
> What is the most basic way of showing
On 7/29/2015 8:45 AM, David Aldrich wrote:
Hi
If I have a script called main.py and document a function in it:
def get_value(x):
"""
Some text ...
:param x: Some value
:returns: Something useful
"""
What is the most basic way of showing those docstrings at the
On 4/5/13, Woody 544 wrote:
> Dear Najam
>
> The tax and license amounts should not need to be entered, as I would
> think the only variable is the base price, with tax and license
> calculated as their rate times the base price. For example, if the
> sales tax rate for the area is 6% for example:
On 04/05/2013 08:05 AM, Najam Us Saqib wrote:
Hi,
My name is Najam, I am very new to Python Programming.
Welcome.
Would you please help me with the following question?
The question/problem is,
Write a Car salesman program where the user enters the base price of a car. The
program should
Alexander Quest wrote:
As you can see, this is quite rudimentary; I have not discovered any special
function that eliminates spaces yet, if such a function exits.
There was a thread on this a week or so back.
There you will find several suggestions however, in Python 3 the
simplest is probabl
On 19-Jul-11 20:39, Alexander Quest wrote:
Hello; I'm a new student of Python using "Python Programming for
Absolute Beginners" 3rd edition by Michael Dawson as my guide. This is a
basic question regarding spaces. I'm not sure how to make it so spaces
do not show up between variables and basic st
Danny Yoo wrote:
> If you want to get an overview of the extent of Python's library, try the
> table of contents:
>
> http://www.python.org/doc/lib/
>
> There's a heck of a lot of stuff there, so asking someone to memorize it
> is ridiculous. Still, it can help to scan through it sometime
Thanks a lot for all that info. I am going to start with the doc/lib index for an overview and dir looks like a good runtime help command.Ravi.On 10/27/06,
Danny Yoo <[EMAIL PROTECTED]> wrote:
On Fri, 27 Oct 2006, Ravi Kondamuru wrote:> How does one figure all the builtin libraries/ classes that p
On Fri, 27 Oct 2006, Ravi Kondamuru wrote:
> How does one figure all the builtin libraries/ classes that python
> supports?
>
> For example if I want to sort a list of names, I would normally think of
> implementing the sorting routine in C. I am just beginning to learn
> python. It looks lik
Ravi Kondamuru wrote:
> Hi,
>
> How does one figure all the builtin libraries/ classes that python
> supports?
>
> For example if I want to sort a list of names, I would normally think
> of implementing the sorting routine in C. I am just beginning to learn
> python. It looks like there is a ri
Hi Michael,
> I loaded IDLE (python GUI) on my portable installed with Windows XPpro
> but when I go in Python shell to file, and New wondow ,
> I do not find run or execute or something like that.
First do you actually get a new blank window popping up?
If so, you should find a Run menu item on
Alan Gauld wrote:
Which tutor are you using? If its the standard Python tutor then its
not really for beginners to OOP,
Yes, I was talking about the one that comes with Python. Now I
understand why I couldn't figure much of it!
you might be better looking at some
of the more basic tutors such as
> I'm already confused! Seriously, I never done oop before, so even
the
> Python tutorial examples are extremely confusing to me atm.
Which tutor are you using? If its the standard Python tutor then its
not really for beginners to OOP, you might be better looking at some
of the more basic tutors s
Alan Gauld wrote:
You have 3 methods, functions and methods are similar but different!
If you think of them asthe same thing you will probably get
confused by OOP later on!
[Bernard]
I'm already confused! Seriously, I never done oop before, so even the
Python tutorial examples are extremely confus
> Okay here comes the next question.
>
> In that class, I have 3 functions. Actually, one of them calls the
two
> others.
You have 3 methods, functions and methods are similar but different!
If you think of them asthe same thing you will probably get
confused by OOP later on!
> However when I cal
Bernard Lebel wrote:
Okay here comes the next question.
In that class, I have 3 functions. Actually, one of them calls the two
others.
However when I call these functions (wich are placed before the caller
in the file), I get an error saying that the global name x (the function
name) is not def
Okay here comes the next question.
In that class, I have 3 functions. Actually, one of them calls the two
others.
However when I call these functions (wich are placed before the caller
in the file), I get an error saying that the global name x (the function
name) is not defined.
What am I doin
All righty, thanks a lot!
Bernard
tanja pislar wrote:
hi Bernard,
you have to specify the module as well:
let's say your module is called rtModule.py,
then in your case you'd do:
import rtModule
testClass = rtModule.rt()
testClass.walk()
or:
from rtModule import rt
testClass = rt()
testClass.walk()
hi Bernard,
you have to specify the module as well:
let's say your module is called rtModule.py,
then in your case you'd do:
import rtModule
testClass = rtModule.rt()
testClass.walk()
or:
from rtModule import rt
testClass = rt()
testClass.walk()
regards,
tanja
On Sun, 02 Jan 2005 17:43:07
30 matches
Mail list logo