Hi
On 8 October 2016 at 05:51, boB Stepp wrote:
> I think I now understand why I am getting this EOF exception.
>
> On Fri, Oct 7, 2016 at 10:16 PM, boB Stepp wrote:
>> My current get_input() function:
>>
>> ==
>> def get_input():
>> '''Get
Hi,
On 24 September 2016 at 06:55, boB Stepp wrote:
>
> def test_returned_len_is_70(self):
> '''Check that the string returned by "right_justify(a_string)" is the
> length of the entire line, i.e., 70 columns.'''
>
> for test_string in self.test_strings:
>
Hi
On 29 July 2016 at 08:28, Crusier wrote:
> I am using Python 3 on Windows 7.
>
> When I use Google Chrome and use 'View Page Source', the data does not
> show up at all. However, when I use 'Inspect', I can able to read the
> data.
>
> Please kindly explain to me if the data is hide in CSS
Hi,
On 23 June 2016 at 19:00, Bharath Swaminathan wrote:
> Can I run my python code in multiple processors? I have a dual core...
Like an idiot I forgot a link for the "pp" module, my apologies. Here it is:
http://www.parallelpython.com/
If you have/use pip, you can simply enter (from an oper
Hi Bharath,
On 23 June 2016 at 19:00, Bharath Swaminathan wrote:
>
> Can I run my python code in multiple processors? I have a dual core...
Notwithstanding Alan's answer, I'm going to directly answer your
question: Yes, it can.
However The degree and level of success you're going to have
On 24 May 2016 at 15:37, Walter Prins wrote:
> print(name1.encode(sys.stdout.encoding, "backslashreplace")) #
I forgot to mention, you might want to read the following documentation page:
https://docs.python.org/3/howto/unicode.html
(good
Hi,
On 24 May 2016 at 04:17, Crusier wrote:
>
> Dear All,
>
> I am trying to scrape a web site using Beautiful Soup. However, BS
> doesn't show any of the data. I am just wondering if it is Javascript
> or some other feature which hides all the data.
>
> I have the following questions:
>
> 1) Pl
Hi Sutanu,
On 28 December 2015 at 11:20, sutanu bhattacharya <
totaibhattacha...@gmail.com> wrote:
> {'115160371': [45349980, 22477811, 40566595, 26947037, 16178191, 12984002,
> 20087719, 19771564, 61746245, 17467721, 32233776, 31052980, 70768904,
> 16113331, 12414642]}
>
> suppose 61746245 is
Hi,
On 25 December 2015 at 20:28, Walter Prins wrote:
> As mentioned previously, for BeautifulSoup 4, the package name is "bt4",
> so you would do
>
> import bt4
>
> to test it.
>
Of course, that should have been
Hi
On 25 December 2015 at 12:32, marcus lütolf
wrote:
> dear pythonistas, dear contributors Danny and Walter,
>
> I tried all instructions given to my without any success:
> If I type the install commands in the command line - even after having
> installed pip - I invariably get the notion that
Hi,
On 24 December 2015 at 17:21, marcus lütolf
wrote:
> I am getting the following trace back without beeing prompted for an input:
>
> Traceback (most recent call last):
> File "C:/Python27/Beautiful Soup_ex1.py", line 2, in
> from beautifulspoup import *
> ImportError: No module named
Hi,
On 23 November 2014 at 20:50, Clayton Kirkwood wrote:
> >From: Tutor [mailto:tutor-bounces+crk=godblessthe...@python.org] On
> >Behalf Of Steven D'Aprano
> >That's because it's not right.
> >
> >You're supposed to run setup.py. From the Windows command line, you run
> >something like:
> >
> >
Hi,
To add:
On 23 August 2014 08:54, Chris “Kwpolska” Warrick wrote:
>
> On Fri, Aug 22, 2014 at 11:23 PM, Sithembewena Lloyd Dube
> wrote:
> > I am developing on a Windows 8.1 machine and wold like to setup
> > virtualenvironment via virtualenvwrapper so as to have a properly set up
> > Python
Hi,
On 10 July 2014 02:30, John Cast wrote:
> Web - Currently it looks like maybe static HTML page(s) generated every time
> my script is run is the right way to go?
It would be one way to proceed, yes, perhaps the most appropriate way
for you for now.
> It sounds like I need a server
Hi John,
Welcome you to the Python tutor mailing list.
On 9 July 2014 19:26, John Cast wrote:
>
> First, please forgive any ignorance in my post here as I am not good with
> HTML and new to python.
Not a problem. Although the list if formally about learning the
basics of Python, there's many
Hi Jim,
On 9 July 2014 14:43, Jim Byrnes wrote:
> On 07/09/2014 04:27 AM, Walter Prins wrote:
>
>> I forgot to mention I am using Linux (Ubuntu 12.04).
>>
>
> I am working my way through a book about breezypythongui which uses Python
> 3, hence virtualenv. I found
Hi Jim,
On 8 July 2014 21:45, Jim Byrnes wrote:
> I would like to automate running virtualenv with a python script by:
>
> opening gnome-terminal
> cd to proper directory
> run source /bin/activate
>
> I found some examples of using os.system() to get gnome-terminal to open
> but I can't figure
Hi again ^^
On 27 June 2014 23:20, Leam Hall wrote:
> On 06/27/14 17:40, Walter Prins wrote:
>> On 26 June 2014 18:01, leam hall wrote:
>>> On Thu, Jun 26, 2014 at 12:41 PM, Walter Prins wrote:
>>>> On 26 June 2014 14:39, leam hall wrote:
>>>>> P
Hi,
On 26 June 2014 18:01, leam hall wrote:
> On Thu, Jun 26, 2014 at 12:41 PM, Walter Prins wrote:
>> On 26 June 2014 14:39, leam hall wrote:
>> > Python 2.4.3
>> > Is there a better way to do this?
>> I'd probably rather try Paramiko's SFTPClient
Hi,
On 27 June 2014 12:57, leam hall wrote:
> On Fri, Jun 27, 2014 at 7:41 AM, Stefan Behnel
> wrote:
>
>> Raúl Cumplido, 27.06.2014 12:10:
>> > I would recommend you to migrate your Python version for a newer one
>> where
>> > you can use fabric, paramiko or other ssh tools. It would be easier
Hi,
On 26 June 2014 19:40, Albert-Jan Roskam wrote:
>
>
>
>> I'd probably rather try Paramiko's SFTPClient and retrieve the file
>
>> modified date directly:
>> http://paramiko-docs.readthedocs.org/en/latest/api/sftp.html#paramiko.sftp_client.SFTPClient
>> (see the SFTPFile.stat() method in part
On 26 June 2014 14:39, leam hall wrote:
> Python 2.4.3
>
> Writing a function that takes the string from "ssh ls -l
> /var/log/yum.log" and tries to see if the file is more than a couple months
> old. The goal is to only run python on the local server and it will ssh into
> the remote server.
>
>
Hi,
You've had a very good reply from Mark already however I want to add
to it and further clarify what he pointed out (why exactly *are* you
getting the tuple error after all?), also I've updated the prior
example to help explain, see below:
On 20 June 2014 15:11, Ian D wrote:
>
> import csv
>
Hi,
Firstly an apology -- I only just noticed your original code was
Python 3 -- my example was Python 2, so there would be some changes
required to make the example work on Python 3...
On 20 June 2014 11:19, Ian D wrote:
> Thanks for your help
>
>
> I am not much closer in understanding this so
Hi,
On 20 June 2014 09:38, Ian D wrote:
> #so far this should read a file
> #using dictreader and take a column and join some text onto it
>
> import csv
>
> csvfile= open('StudentListToSort.csv', newline='')
> spamreader = csv.DictReader(csvfile,delimiter=',',quotechar='|')
>
> #open a file to w
On 12 June 2014 13:11, Steven D'Aprano wrote:
> On Thu, Jun 12, 2014 at 11:41:58AM +0100, Walter Prins wrote:
>
>> (What made you think that modules have a magic method
>> start() that causes them to run?) You should probably learn more
>> about Python itself, nam
Hi,
On 12 June 2014 05:51, jason sam wrote:
>
> Hi All,
> I am new to wxPython.I have made a simple GUI that contains a button and by
> pressing that button i am calling another .py file(top_block.py)...But i am
> getting error using the command:
>
> top_block.start()
>
> The error is:
>
> Attr
Hi,
On 20 May 2014 21:00, P McCombs wrote:
> On May 14, Danny Yoo wrote:
>> > Another option might be to turn your program into a web site, so that
>> > the interface is the web browser, which everyone is getting used to
>> > these days. But this, too, is also... involved. :P
>
> I have a littl
Hi all,
I stumbled across this post today and thought it was worth sharing
with the Python tutor list. It provides good advice to students about
debugging your programs and how to ask for help on forums, in
particular Stack overflow, but in that way equally applies to the
Python tutor list.
Link
Hi Stephen,
Firstly 2 requests:
1) Please do not respond to me personally; instead when interacting
with a mailing list please use "reply-all", removing me (or other
individuals) from the recipient list. You can also use "reply-list" if
your mail program has that option. There are several reaso
Hi Stephen,
Please see below:
On 5 May 2014 00:17, Stephen Mik wrote:
> Dear Python World:
> I am almost brand new to Python 3.4.0 and am taking a beginning Python
> Programming class at the nearby Community College. One major problem I have
> is time management with beginning pseudo code an
Hi,
On 21 April 2014 19:12, Stephen Mik wrote:
> Dear Python Community:
> I am new to Python,with only about a month's experience. I am writing
> Python 3.4.0 code that apparently isn't doing what it should be doing.
> Specifically, I am inputting or trying to input,a Sentry Variable to a Whi
Hi,
On 15 April 2014 15:49, Sunil Tech wrote:
> Hi Danny,
>
>
> Thank you for replying..
>
> I need the python program which takes the attached csv & on running the
> program which will give me the results as
That is still not a question. It's a requirements statement. I felt
tempted to point
Hi,
On 8 April 2014 22:38, Jared Nielsen wrote:
> Hello,
> Could someone explain why and how this list comprehension with strip()
> works?
>
> f = open('file.txt')
> t = [t for t in f.readlines() if t.strip()]
> f.close()
> print "".join(t)
>
> I had a very long file of strings filled with blank
Hi Leam,
On 3 April 2014 15:24, leam hall wrote:
>
> I've been trying to so a simple "run a command and put the output into a
> variable". Using Python 2.4 and 2.6 with no option to move. The go is to do
> something like this:
>
> my_var = "ls -l my_file"
>
> So far the best I've seen is:
>
>
Hi Leo,
On 27 March 2014 08:43, Leo Nardo wrote:
> Im on windows 8 and i need to open a file called string1.py that is on my
> desktop, in both the interpreter and notepad++, so that i can work on it. I
> already have it open in notepad, but for the life of me cannot figure out
> how to open it i
Hi
On 19 March 2014 18:48, leam hall wrote:
> I can use os.chmod('/usr/local/somefile') to change permissions but I
> haven't been able to find a way to test for file modes.
>
stat.S_IRWXU('/usr/bin/python')
> Traceback (most recent call last):
> File "", line 1, in ?
> TypeError: 'int' ob
Hi,
Please reply to the mailing list post and not to me directly so others
can benefit/chime in. I'll send this response to the mailing list
instead of directly to you, so you should receive it via that route.
On 5 March 2014 13:20, nick coffer wrote:
> Ok. I need help setting this up. I know h
On 4 March 2014 20:43, coffer.nick wrote:
> Hey I just need help plz!
OK, what would you like help with?
Walter
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
Hi,
On 21 February 2014 03:52, Zaki Akhmad wrote:
> On Thu, Feb 20, 2014 at 7:39 PM, James Scholes wrote:
>
>> Most decent Python libraries for accessing Twitter support the streaming
>> API. This lets you keep a connection to the Twitter API alive and
>> process new data as it is received. Th
Hi,
On 13 February 2014 06:44, Santosh Kumar wrote:
> I am using ipython.
>
> 1 ) Defined a string.
>
> In [88]: print string
> foo foobar
>
> 2) compiled the string to grab the "foo" word.
>
> In [89]: reg = re.compile("foo",re.IGNORECASE)
>
> 3) Now i am trying to match .
>
> In [90]: match = r
Hi Bob,
On 31 January 2014 21:59, bob gailer wrote:
> On 1/29/2014 8:59 PM, scurvy scott wrote:
> I signed up at Dogehouse. What the heck is it? There is no explanation as to
> what it does or what I'd do with it!
I don't know if you're familiar with BitCoin and the concept of the
"pooled mining
Hi Keith,
On 12 January 2014 23:12, Keith Winston wrote:
> I'm working through some of the Project Euler problems, and the
> following might spoil one of the problems, so perhaps you don't want
> to read further...
>
>
> The problem relates to finding all possible combinations of coins that
> eq
Hi,
On 11 January 2014 14:52, S Tareq wrote:
> how can i do this on python using py game:
>
>
You need to tell us more about what you've tried and where you're stuck.
Needless to say we're not a solution provision service, but we'd be happy
to help you get unstuck if you've already done some pr
Hi,
The code in my last post got line wrapped which will break if directly
tried out. To avoid possible confusion I paste a version below with
shorter lines which should avoid the problem:
import gc, itertools
def names_of(obj):
"""Try to find the names associated to a given object."""
Hi Keith,
On 3 January 2014 20:03, Keith Winston wrote:
>> So the answer to your question is just to print the string.
>> The real challenge, as we have discovered, is how to access
>> the list that is named by the string. And the usual way to
>> map strings to objects is via a dictionary not by
Hi,
On 19 December 2013 19:33, Laurie Stephan
wrote:
> My son and I just opened "Python for Kids" and we're working our way through
> the lessons. Sometimes he mistypes the lines and hits return and discovers
> after that that he made a mistake in the line. But, when we try to correct
> the lin
Hi,
On 18 December 2013 21:25, Mark Lawrence wrote:
> Go to window->preferences->pydev->pylint.
>
> It works beautifully :) Type something like this as the first two lines in
> an editor window:-
>
> if a == 1:
> print('a == 1')
>
> and it gives you a red bar on the right and a red circle wi
Hi,
On 15 December 2013 05:38, eryksun wrote:
> On Sat, Dec 14, 2013 at 10:16 AM, Walter Prins wrote:
>>
>> Gmail matches the format of the sender. If I reply to a text format
>> email, the reply is text format. If the original is HTML mail, it
>> replies in HTM
Hi,
On 14 December 2013 03:31, Steven D'Aprano wrote:
> On Fri, Dec 13, 2013 at 02:24:15PM -0500, eryksun wrote:
>> On Fri, Dec 13, 2013 at 12:47 PM, Mark Lawrence
>> wrote:
>> > Did you really have to send an entire digest, without changing the title,
>> > just to send this one line?
>>
>> Gma
Hi,
On 12 December 2013 01:03, Danny Yoo wrote:
> By the way, I would recommend not doing this with FTP. If I remember
> rightly, it passes passwords in plain text, which is not so good.
> Reference: http://en.wikipedia.org/wiki/File_Transfer_Protocol#Security.
> You might just want to use so
Hi,
On 27 November 2013 21:20, spir wrote:
> All in all, startswith plus start-index only seems to work fine, I guess.
> What is wrong? string.find also works (someone suggested it on the
> python-ideas mailing list) but requires both start- and end- indexes. Also,
> startswith returns true/fal
Hi,
Thanks for the highly educational response.
On 26 November 2013 23:24, eryksun wrote:
> On Tue, Nov 26, 2013 at 4:28 PM, Walter Prins wrote:
> >
> > honest. Regarding Powershell (vs for example cmd.exe): The (slightly)
> > perplexing/irritating/annoying thing is t
Hi,
On 26 November 2013 19:01, eryksun wrote:
> On Tue, Nov 26, 2013 at 11:50 AM, Walter Prins wrote:
> > All those arrows and codes you see are called "ANSI escape codes" or
> "ANSI
> > control codes". It's a way to control/signal text colour and f
Hi,
On 26 November 2013 14:22, Peter Zorn wrote:
> Hi everyone -
>
> I'm fairly new to Python and I'm working through this (
> http://quant-econ.net/) tutorial to learn the language.
>
> I've encountered a problem with the ipdb debugger and I
> wonder if anyone can help. When I run this cod
Hi,
On 16 November 2013 11:02, Vlad Olariu wrote:
> is this active?
>
>
Yes. (Please don't reply to digest posts without at least trimming it and
adjusting the subject as appropriate.)
Walter
___
Tutor maillist - Tutor@python.org
To unsubscribe or
Hi,
On 6 November 2013 08:58, Mark Lawrence wrote:
> On 06/11/2013 02:19, Steven D'Aprano wrote:
>
>> On Tue, Nov 05, 2013 at 03:55:05PM -0800, Johan Martinez wrote:
>>
>>> I need help in modifying my program. Right now it looks as follows:
>>>
>> [snip code]
>>
>>> Can someone help me in impro
Hi,
On 5 November 2013 19:02, Danny Yoo wrote:
> Be extra careful if you're constructing SQL statements from user input.
>> You have probably heard of the term "SQL Injection" or "Bobby Tables",
>> both of which are pretty much the same thing: your user may, intentionally
>> or not, input valu
Hi,
On 28 October 2013 20:55, Alex Tenno wrote:
> Hey everyone,
>
> I'm encountering a problem with a python function that I am supposed to
> create.
>
OK. You should try to actually write the function yourself first, then
give concrete details about what you've tried, and how you're stuck.
Hi,
On 10 October 2013 11:34, Sreenivasulu wrote:
> Hi,
>
> I have windows 8 64 bit machine and installed python 2.7.3 64 bit
> version .
>
> i have 32 bit package 4Suite-XML-1.0.24Suite-XML-1.0.2.win32.exe package
> but am getting below error :
>
> Python 2.7.3 (default, Apr 10 2012, 23:24:
Hi Carolynn,
On 3 October 2013 03:01, carolynn fryer wrote:
> I am at the point where I am just spinning my wheels. I tried to get help
> with logging on but so far I am just getting frustrated.
>
>
Please note that you've sent an email regarding what appears to be possibly
be specific issues r
Hi,
On 1 October 2013 09:08, Ismar Sehic wrote:
> hello, it's me again with my stubborn soap and xml request.please take a
> look at this code and the output, just tell if i'm missing something - i
> don't get it.
>
>> File "/usr/lib/python2.6/socket.py", line 514, in create_connection
>>
Hi,
On 30 September 2013 13:49, roberto wrote:
> Hi, my school is considering a massive shift to Chromebooks. I've to
> carefully think about how could the students go on writing their python
> programs on the web.
> Do you know any online interpreter where programs might be written, saved
> and
On 29 September 2013 22:09, Joel Goldstick wrote:
> mysql comes with python, and you can learn the basics over a weekend using
> the interactive tool that comes with it.
>
Just a minor errata: I'm sure Joel meant to write "sqlite", not "mysql".
(SQLite is indeed included with Python, the latte
Hi,
On 20 September 2013 14:25, Ismar Sehic wrote:
> i'm probably very annoying and boring with these python web service :)and
> sorry for the previous message reply subject,wont happen again...
> the thing is, i'm provided with some service provider documentation,
> including xml request examp
Hi,
On 8 September 2013 21:00, olatunde Adebayo wrote:
> hey everyone,
> I am taking a graduate level class this fall that required python
> programming.
> can anyone direct me to where can i get a free python training crash
> course / program
> anyone with idea.
> I have one week to learn..is i
Hi,
On 20 August 2013 10:20, sikonai sikonai wrote:
> >>> list=[1,2,3,4,5,6,7,8,9]
> >>> list[9:0:-2]
> [9, 7, 5, 3]
> >>> list[10:0:-2]
> [9, 7, 5, 3]
>
> I want to know whether they have some difference.
>
For the specific list you show, the 2 expressions yield the same result.
However this
Hi,
On 20 August 2013 14:22, Fowler, Trent wrote:
> I am a self-starter and highly motivated, but I live in a small town in
> South Korea and I don't have any friends who program. Since I also don't
> have a computer science background and python is my first language, I
> really need someone wh
Hi,
On 25 July 2013 00:23, Jonathan Hong wrote:
> Hello,
>
> I am currently working with the Python programming language and had a very
> basic question regarding the start up of Python. For some reason, when I
> open up the Command Prompt in my Windows 7 computer, I am unable to access
> pytho
On 31 July 2013 16:14, Art Bullentini wrote:
> I'm trying to convert from a string of digits such as x = [y:y+1] into an
> integer using int(x). the book says I can do this, but I get an error
> message saying no can do. Anybody tell me what's going on?
>
>
Please supply the actual code you've tr
Hi Steven, Alan,
On 6 August 2013 09:44, Alan Gauld wrote:
> On 06/08/13 09:26, Steven D'Aprano wrote:
>
> All this is correct, but yield is more powerful than that. Not only does
>> yield get used to return values from a function, it also gets used to
>> send values *into* a running function.
Hi,
On 1 August 2013 14:22, Matthew Ngaha wrote:
> Thanks guys. i was following some examples and noticed it. I tried to
> use it in my program and the same thing happened. In this example,
> there are 6 tests, and only 4 run.
>
> http://bpaste.net/show/abLNTHU49w1j2M8Fey8X/
>
The reason that 2
Hi,
On 1 August 2013 13:11, Matthew Ngaha wrote:
> im trying to do some unittesting and i've written 1 class with 4 test
> methods and it skips 2 of these methods for no reason. If i comment
> out the 2 it doesn't skip, it will now test the 2 it previously
> skipped. Is this the default behaviou
Hi,
On 27 July 2013 11:36, Steven D'Aprano wrote:
> However, this will test your knowledge:
>
> L = []
> L.append(L)
> [L] == L
>
> True or false? Can you explain why?
On 27 July 2013 20:14, Don Jennings wrote:
> In [20]: bool(L)
> Out[20]: True
>
> An empty list does evaluate to False, but a
Hi,
On 25 July 2013 19:45, Kirk Bailey wrote:
> which python
> /usr/bin/python
> root@KirksPiBox1:/home/pi: ./RR.py
> bash: ./RR.py: /usr/bin/python^M: bad interpreter: No such file or
> directory
> root@KirksPiBox1:home/pi:_
>
Dave's correct. That "^M" represents ctlr-m, and is the display
Hi,
On 24 July 2013 17:08, Paul Smith wrote:
> Thanks but still stuck...
>
> Walt-
> Pete-
>
> I am trying to copy-update py 2.7.5 with latest sqlite3 for version fix
> but am running win 7 64bit and am getting these errors on both regsrv32 and
> WOW64 while trying to register new Dll's...
>
A
Hi Peter,
On 24 July 2013 09:20, Peter Otten <__pete...@web.de> wrote:
> If you don't want to switch to Python 3.3 -- or if it doesn't feature an
> sqlite version that supports WAL -- you could use sqlite's commandline
> tools
> to switch off WAL on a copy (!) of places.sqlite.
I've just gone
Hi,
On 19 July 2013 20:24, Sivaram Neelakantan wrote:
>
> I've got some stock indices data that I plan to plot using matplotlib.
> The data is simply date, idx_close_value and my plan is to plot the
> last 30 day, 90, 180 day & all time graphs of the indices.
>
> a) I can do the date computation
Hi,
On 15 July 2013 12:08, Albert-Jan Roskam wrote:
> > From: Japhy Bartlett
> >I have to disagree with Walter about using system packages instead of
> pip, though his advice is spot on for fixing this issue and he obviously
> knows what he's doing. Very much my experience that pip is overwhel
Hi,
On 13 July 2013 15:14, Albert-Jan Roskam wrote:
> IOError: [Errno 13] Permission denied:
> '/usr/local/lib/python2.7/dist-packages/pypi_classifiers-0.1-py2.7.egg/EGG-INFO/top_level.txt'
> >>> quit()
> antonia@antonia-HP-2133/usr/local/lib/python2.7/dist-packages/pypi_classifiers-0.1-py2.7.e
Hello,
On 29 June 2013 19:00, Makarand Datar wrote:
> Hi,
>
> So I am able to read in a file, and write out a file from python. I have
> some question about the text manipulation that I need to do between reading
> in a file and spitting out another. Couple of things I would like to do,
> are:
Hi Alexander
On 23 June 2013 22:46, Alexander wrote:
> I guess this is for testing, but I have a question. If somebody sends you
> their .pub file (email or otherwise over internet), and a villainous third
> party intercepts that .pub file, will they be able to decrypt the data sent
> over this
Hi Bryan,
On 10 June 2013 21:03, wrote:
> My problem is the text file that is output seems to contain EVERY file
> that the program went through rather than just the duplicates.
>
"Seems" does not sound very certain... have you double checked whether your
suspicion is in fact correct? E.g. hav
Jim,
On 5 June 2013 20:58, Jim Mooney wrote:
> But Guido says
> "..no Python for browsers," alas. Hopefully, he's not too prescient.
> Why not javascript And Python for browsers? There just has to be
> enough of a clamor for it.
>
You might be interested to know there's several incarnations of
Hi,
On 4 June 2013 02:27, Benjamin Fishbein wrote:
> WebDriverException: Message: "Can't load the profile. Profile Dir:
> /var/folders/vm/8th3csp91qb47xbhqhb4gcmhgn/T/tmpPeqacA Firefox output:
> *** LOG addons.xpi: startup\n*** LOG addons.xpi: Skipping unavailable
> install location app-syst
Citizen,
On 28 May 2013 14:45, Citizen Kant wrote:
> I'm trying to figure out the rules on how to recognize when a combination
> of symbols is considered a well formed expression in Python.
>
How do you recognize that an arithmetic expression is a well formed (e.g.
valid) expression? How do
Hi,
On 28 May 2013 12:44, Citizen Kant wrote:
> Could you please help me with a simple example of a Python well-formed
> formula in order to understand "well-formed formulas" and "formation rules"
> concepts properly?
>
I'm assuming you perhaps meant "well-formed expression". If so, here's a
u
Hi,
On 22 May 2013 05:26, Jim Mooney wrote:
> But that brings up a point. Does this mean that if I have to test a
> module with a lot of subroutines I have to rename every subroutine
> with 'test' appended?
>
Some quick comments for what it's worth: (One of) the points about nose is
to make les
Hi
Just a minor observation:
On 18 May 2013 13:44, Peter Otten <__pete...@web.de> wrote:
> Phil wrote:
>
> > On 18/05/13 19:25, Peter Otten wrote:
> >>
> >> Are there alternatives that give the number as plain text?
> >
> > Further investigation shows that the numbers are available if I view the
Hi,
On 16 May 2013 23:49, Jim Mooney wrote:
> > By the way, do you mind if I ask why you're using PyGraphics? It's
> > only meant to be used for education (and even there, AFAIK the only
> > users are the University of Toronto (and even there, I think they
> > stopped using it because they swit
Hi,
On 16 May 2013 07:12, Jim Mooney wrote:
> Okay, I'm trying to install the latest PIL on win 7. It claims Python
> 2.7 was not found in the registry, although it's installed, on a path,
> and works fine. The install box lets you type in a directory but won't
> accept typing. I'm stumped.
A
Hi,
On Sun, 14 Apr 2013, Don Jennings wrote:
>
>
>> On Apr 14, 2013, at 7:06 AM, Albert-Jan Roskam wrote:
>>
>>
>>>
>>> > Subject: Re: [Tutor] design question (Django?)
>>>
On 13/04/13 09:48, Albert-Jan Roskam wrote:
I think I have to make a diagram of this. This stuff is qui
Hi,
On 17 April 2013 06:11, Jim Mooney wrote:
> > Generally the 2to3 script does an OK job. If you're using Windows it's
> > [Python_Dir]\Tools\Scripts\2to3.py.
> >
> > http://docs.python.org/3/library/2to3
>
>
> Thanks. I didn't know where to find it and though
Hi John,
On 10 April 2013 15:21, John Bochicchio wrote:
> I have a question about a game I am making. I finished the overall code,
> but keep getting errors when I try to play. This is my most common error:
> C:\Users\John\Documents\Python Games\Noah>python nickeladventuredemo.py
> Traceback (mo
Hello Benjamin,
On 9 April 2013 22:31, Benjamin Fishbein wrote:
> Hello. I learned Python this past year (with help from many of you) and
> wrote many programs for my small business. Now I want to build a website. I
> acquired the domain name through godaddy.com (bookchicken.com) but have
> not
Hi Sayan,
On 27 March 2013 16:31, Sayan Chatterjee wrote:
> p_za = [None]*N is not giving away the error message.
>
> for i in range(0,N):
> p_za.append = p_initial[i] + t*K*cos(K*p_initial[i]); is also not
> working.
>
append() is a method, so using append you want something like:
for i i
Hi,
On 27 March 2013 15:50, Sayan Chatterjee wrote:
> Dear all,
>
> When trying to print or assign array elements, getting the following error:
>
> Traceback (most recent call last):
> File "ZA.py", line 32, in
> p_za[i] = p_initial[i] + t*K*cos(K*p_initial[i]);
> IndexError: index out o
Hello,
On 27 March 2013 15:59, Sayan Chatterjee wrote:
> Hi Amit,
>
> fo = fopen('fname','r+')
> fo.write("%d %d",j,counter)
>
>
> Is giving the following error:
>
> File "ZA.py", line 30, in
> fo = open('fname','r+')
> IOError: [Errno 2] No such file or directory: 'fname'
>
> Where is th
Hi,
On 26 March 2013 16:54, Hugo Arts wrote:
> On Tue, Mar 26, 2013 at 3:18 PM, Sean Carolan wrote:
>
>>
>> Could it be that it is taking the system python executable which is
>>> probably 2.4?
>>>
>>> -Amit.
>>
>>
>> I've tried it with python24, python25 and python27 and all of them give
>>
Hi,
On 1 March 2013 10:58, Alan Gauld wrote:
> On 01/03/13 02:33, Lolo Lolo wrote:
>
>> SQLAlchemy with easy install. Here is what this entire process might
>>
> look like on a Windows-based PC... then it proceeds to write a whole
>> bunch of god know what. It looks similar to when you install
1 - 100 of 402 matches
Mail list logo