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:
>>
>>
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
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
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
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
On 24 May 2016 at 15:37, Walter Prins <wpr...@gmail.com> 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
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
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]}
>
>
Hi,
On 25 December 2015 at 20:28, Walter Prins <wpr...@gmail.com> 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
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
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 *
>
Hi,
On 23 November 2014 at 20:50, Clayton Kirkwood c...@godblessthe.us 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 kwpol...@gmail.com wrote:
On Fri, Aug 22, 2014 at 11:23 PM, Sithembewena Lloyd Dube
zebr...@gmail.com wrote:
I am developing on a Windows 8.1 machine and wold like to setup
virtualenvironment via virtualenvwrapper so as to have
Hi,
On 10 July 2014 02:30, John Cast jdc...@stanford.edu 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
Hi Jim,
On 8 July 2014 21:45, Jim Byrnes jf_byr...@comcast.net 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
Hi Jim,
On 9 July 2014 14:43, Jim Byrnes jf_byr...@comcast.net 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 that each time I
Hi John,
Welcome you to the Python tutor mailing list.
On 9 July 2014 19:26, John Cast jdc...@stanford.edu 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
Hi,
On 26 June 2014 19:40, Albert-Jan Roskam fo...@yahoo.com wrote:
snip
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
Hi,
On 27 June 2014 12:57, leam hall leamh...@gmail.com wrote:
On Fri, Jun 27, 2014 at 7:41 AM, Stefan Behnel stefan...@behnel.de
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
Hi,
On 26 June 2014 18:01, leam hall leamh...@gmail.com wrote:
On Thu, Jun 26, 2014 at 12:41 PM, Walter Prins wpr...@gmail.com wrote:
On 26 June 2014 14:39, leam hall leamh...@gmail.com wrote:
Python 2.4.3
Is there a better way to do this?
I'd probably rather try Paramiko's SFTPClient
Hi again ^^
On 27 June 2014 23:20, Leam Hall leamh...@gmail.com wrote:
On 06/27/14 17:40, Walter Prins wrote:
On 26 June 2014 18:01, leam hall leamh...@gmail.com wrote:
On Thu, Jun 26, 2014 at 12:41 PM, Walter Prins wpr...@gmail.com wrote:
On 26 June 2014 14:39, leam hall leamh...@gmail.com
On 26 June 2014 14:39, leam hall leamh...@gmail.com wrote:
Python 2.4.3
Writing a function that takes the string from ssh server 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
Hi,
On 20 June 2014 09:38, Ian D dux...@hotmail.com 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
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 dux...@hotmail.com wrote:
Thanks for your help
I am not much closer in
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 dux...@hotmail.com
Hi,
On 12 June 2014 05:51, jason sam user0...@gmail.com 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
On 12 June 2014 13:11, Steven D'Aprano st...@pearwood.info 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, name binding, module
Hi,
On 20 May 2014 21:00, P McCombs mcco...@imperium.org 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
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.
Hi Stephen,
Please see below:
On 5 May 2014 00:17, Stephen Mik mik.step...@yahoo.com.dmarc.invalid 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
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 reasons
Hi,
On 21 April 2014 19:12, Stephen Mik mik.step...@yahoo.com.dmarc.invalid 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
Hi,
On 15 April 2014 15:49, Sunil Tech sunil.tech...@gmail.com 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
snip
That is still not a question. It's a requirements statement. I
Hi,
On 8 April 2014 22:38, Jared Nielsen nielsen.ja...@gmail.com 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
Hi Leam,
On 3 April 2014 15:24, leam hall leamh...@gmail.com 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
Hi Leo,
On 27 March 2014 08:43, Leo Nardo waterfallr...@gmail.com 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
Hi
On 19 March 2014 18:48, leam hall leamh...@gmail.com 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 stdin, line 1, in ?
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 coffer.n...@hotmail.com wrote:
Ok. I need help
Hi,
On 21 February 2014 03:52, Zaki Akhmad zakiakh...@gmail.com wrote:
On Thu, Feb 20, 2014 at 7:39 PM, James Scholes ja...@jls-radio.com 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
Hi,
On 13 February 2014 06:44, Santosh Kumar rhce@gmail.com 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 =
Hi Bob,
On 31 January 2014 21:59, bob gailer bgai...@gmail.com 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
Hi Keith,
On 12 January 2014 23:12, Keith Winston keithw...@gmail.com 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
Hi,
On 11 January 2014 14:52, S Tareq stare...@yahoo.com 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
Hi Keith,
On 3 January 2014 20:03, Keith Winston keithw...@gmail.com 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
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,
On 19 December 2013 19:33, Laurie Stephan
curriculumspecial...@yahoo.com 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
Hi,
On 18 December 2013 21:25, Mark Lawrence breamore...@yahoo.co.uk 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
Hi,
On 15 December 2013 05:38, eryksun eryk...@gmail.com wrote:
On Sat, Dec 14, 2013 at 10:16 AM, Walter Prins wpr...@gmail.com 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 HTML
Hi,
On 14 December 2013 03:31, Steven D'Aprano st...@pearwood.info wrote:
On Fri, Dec 13, 2013 at 02:24:15PM -0500, eryksun wrote:
On Fri, Dec 13, 2013 at 12:47 PM, Mark Lawrence breamore...@yahoo.co.uk
wrote:
Did you really have to send an entire digest, without changing the title,
just
Hi,
On 12 December 2013 01:03, Danny Yoo d...@hashcollision.org 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
Hi,
On 27 November 2013 21:20, spir denis.s...@gmail.com 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
Hi,
On 26 November 2013 14:22, Peter Zorn m...@peterzorn.de 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
Hi,
On 26 November 2013 19:01, eryksun eryk...@gmail.com wrote:
On Tue, Nov 26, 2013 at 11:50 AM, Walter Prins wpr...@gmail.com 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 formatting
inline
Hi,
Thanks for the highly educational response.
On 26 November 2013 23:24, eryksun eryk...@gmail.com wrote:
On Tue, Nov 26, 2013 at 4:28 PM, Walter Prins wpr...@gmail.com wrote:
honest. Regarding Powershell (vs for example cmd.exe): The (slightly)
perplexing/irritating/annoying thing
Hi,
On 16 November 2013 11:02, Vlad Olariu florinvlad.ola...@gmail.com 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 -
Hi,
On 6 November 2013 08:58, Mark Lawrence breamore...@yahoo.co.uk 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
Hi,
On 5 November 2013 19:02, Danny Yoo d...@hashcollision.org 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
Hi,
On 28 October 2013 20:55, Alex Tenno alex.te...@gmail.com 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
Hi,
On 10 October 2013 11:34, Sreenivasulu vaddesreenivas...@gmail.com 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,
Hi Carolynn,
On 3 October 2013 03:01, carolynn fryer carolynn...@yahoo.com 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
Hi,
On 1 October 2013 09:08, Ismar Sehic i.she...@gmail.com 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
Hi,
On 30 September 2013 13:49, roberto robert...@gmail.com 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
On 29 September 2013 22:09, Joel Goldstick joel.goldst...@gmail.com 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
Hi,
On 20 September 2013 14:25, Ismar Sehic i.she...@gmail.com 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
Hi,
On 8 September 2013 21:00, olatunde Adebayo nopo...@yahoo.com 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
Hi,
On 20 August 2013 14:22, Fowler, Trent fowle...@hendrix.edu 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
Hi,
On 20 August 2013 10:20, sikonai sikonai tanjyu...@gmail.com 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
On 31 July 2013 16:14, Art Bullentini a...@mail.pyramid.net 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
Hi,
On 25 July 2013 00:23, Jonathan Hong jayhong...@gmail.com 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
Hi Steven, Alan,
On 6 August 2013 09:44, Alan Gauld alan.ga...@btinternet.com 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
Hi,
On 1 August 2013 13:11, Matthew Ngaha chigga...@gmail.com 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
Hi,
On 1 August 2013 14:22, Matthew Ngaha chigga...@gmail.com 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
Hi,
On 27 July 2013 11:36, Steven D'Aprano st...@pearwood.info 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 dfjenni...@gmail.com wrote:
In [20]: bool(L)
Out[20]: True
An empty list
Hi,
On 25 July 2013 19:45, Kirk Bailey kbai...@howlermonkey.net 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,
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 24 July 2013 17:08, Paul Smith paulrsmith7...@gmail.com 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
Hi,
On 19 July 2013 20:24, Sivaram Neelakantan nsivaram@gmail.com 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
Hi,
On 15 July 2013 12:08, Albert-Jan Roskam fo...@yahoo.com wrote:
From: Japhy Bartlett ja...@pearachute.com
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
Hi,
On 13 July 2013 15:14, Albert-Jan Roskam fo...@yahoo.com 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()
Hello,
On 29 June 2013 19:00, Makarand Datar da...@wisc.edu 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
Hi Alexander
On 23 June 2013 22:46, Alexander rhettna...@gmail.com 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
Hi Bryan,
On 10 June 2013 21:03, bja...@jamesgang.dyndns.org 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
Jim,
On 5 June 2013 20:58, Jim Mooney cybervigila...@gmail.com 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
Hi,
On 4 June 2013 02:27, Benjamin Fishbein bfishbei...@gmail.com 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
Hi,
On 28 May 2013 12:44, Citizen Kant citizenk...@gmail.com 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
Citizen,
On 28 May 2013 14:45, Citizen Kant citizenk...@gmail.com 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)
Hi,
On 22 May 2013 05:26, Jim Mooney cybervigila...@gmail.com 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
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
source of
Hi,
On 16 May 2013 23:49, Jim Mooney cybervigila...@gmail.com 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
Hi,
On 16 May 2013 07:12, Jim Mooney cybervigila...@gmail.com 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
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 quite hard
Would it also be a
Hi,
On 17 April 2013 06:11, Jim Mooney cybervigila...@gmail.com 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
Hi John,
On 10 April 2013 15:21, John Bochicchio luckytsuk...@gmail.com 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\Noahpython
Hello Benjamin,
On 9 April 2013 22:31, Benjamin Fishbein bfishbei...@gmail.com 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
Hello,
On 27 March 2013 15:59, Sayan Chatterjee sayanchatter...@gmail.com wrote:
Hi Amit,
fo = fopen('fname','r+')
fo.write(%d %d,j,counter)
Is giving the following error:
File ZA.py, line 30, in module
fo = open('fname','r+')
IOError: [Errno 2] No such file or directory:
Hi,
On 27 March 2013 15:50, Sayan Chatterjee sayanchatter...@gmail.com 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 module
p_za[i] = p_initial[i] + t*K*cos(K*p_initial[i]);
Hi Sayan,
On 27 March 2013 16:31, Sayan Chatterjee sayanchatter...@gmail.com 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
Hi,
On 26 March 2013 16:54, Hugo Arts hugo.yo...@gmail.com wrote:
On Tue, Mar 26, 2013 at 3:18 PM, Sean Carolan scaro...@gmail.com 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
Hi,
On 1 March 2013 10:58, Alan Gauld alan.ga...@btinternet.com 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
Hello,
I have a program where I'm overriding the retrieval of items from a list.
As background: The data held by the lists are calculated but then read
potentially many times thereafter, so in order to prevent needless
re-calculating the same value over and over, and to remove checking/caching
1 - 100 of 391 matches
Mail list logo