On Sat, Nov 24, 2018 at 5:36 PM wrote:
>
> hello all,
> please hepl me in the above program. python to implement Railway Reservation
> System using file handling technique.
>
> System should perform below operations.
> a. Reserve a ticket for a passenger.
> b. List information all reservations d
hello all,
please hepl me in the above program. python to implement Railway Reservation
System using file handling technique.
System should perform below operations.
a. Reserve a ticket for a passenger.
b. List information all reservations done for today’s trains.
--
https://mail.python.org/mai
"John Pote" wrote in message
news:e0a8e1bc-6e03-e42b-d6e8-d690e2d5a...@jptechnical.co.uk...
I interpret the above comparison as
>>> bool([1,2,3]) == bool(True)
True
>>>
A tiny addition to what has already been said.
As True is by definition a boolean, you can write this as
bool([1, 2,
Ok, thanks. I've just created https://bugs.python.org/issue35305. /Henrik
On Fri, Nov 23, 2018 at 6:47 PM INADA Naoki wrote:
>
> Thank you for a very informative report.
>
> > PS. This is my first post to this list - please let me know if I
> > should send to another forum instead.
>
> Would you s
Chris Angelico writes:
> Or you could say "not [1,2,3] == not True",
> but that's a bit less clear
It's less clear in more ways than one:
3.6> not [1,2,3] == not True
File "", line 1
not [1,2,3] == not True
^
SyntaxError: invalid syntax
3.6> not
Thank you for a very informative report.
> PS. This is my first post to this list - please let me know if I
> should send to another forum instead.
Would you send this report to the issue tracker?
https://bugs.python.org/
--
INADA Naoki
--
https://mail.python.org/mailman/listinfo/python-list
On Fri, Nov 23, 2018, 19:30 Bob Gailer What kind of feedback do you want?
>
Wanted to know if there is any problem in the code and if you can review it
:-)
>
--
https://mail.python.org/mailman/listinfo/python-list
I ran into an interesting problem where calling
`subprocess.Popen(['/sbin/ldconfig', '-p'], stdin=PIPE)` hangs and
never returns.
$ python
Python 2.7.9 (default, Apr 23 2015, 22:07:47)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-11)] on linux2
Type "help", "copyright", "credits" or "license" for more infor
On Sat, Nov 24, 2018 at 11:28 AM John Pote wrote:
> But the following I found unexpected. (Python 3.6 on a Windows 7 64 bit box)
>
> >>> if []: print("Truthy")
> ...
> >>> if [1,2,3]: print("Truthy")
> ...
> Truthy
> >>>
>
> from which I concluded [] is Falsey and [1,2,3] is Truthy and the abov
On 21/11/2018 19:18, Python wrote:
$ python3
Python 3.5.2 (default, Nov 23 2017, 16:37:01)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
1 in [1,2,3] == True
False
1 in ([1,2,3] == True)
Traceback (most recent call last):
File "", line
On 23/11/2018 10:51 PM, Edward Popko wrote:
Snake people:
I'm a Java person and thought to try Python for Windows.
I installed Python 3.7.1 (64-bit) hoping for an IDE, documentation and even
a sample or two.
The python-3.7.1-amd64.exe unpacks and installs fine.
Only problem is I cannot find it.
On Nov 23, 2018 8:42 AM, "Ganesh Pal" wrote:
>
> Hello team,
>
> I am a python 2.7 user on Linux. I will need feedback on the below program
> as I'm new to oops .
My feedback is:
Firstly there's a blank line between every line of program text which makes
it hard to read.
Also some statements a
On Nov 23, 2018 8:42 AM, "Ganesh Pal" wrote:
>
> Hello team,
>
> I am a python 2.7 user on Linux. I will need feedback on the below program
> as I'm new to oops .
What kind of feedback do you want?
>
> #!/usr/bin/python
>
>
> class System(object):
>
> '''Doc - Inside Class '''
>
> def __init
Sorry for reposting, typo in the subject line !
On Fri, Nov 23, 2018, 19:11 Ganesh Pal Hello team,
>
> I am a python 2.7 user on Linux. I will need feedback on the below program
> as I'm new to oops .
>
> #!/usr/bin/python
>
>
> class System(object):
>
> '''Doc - Inside Class '''
>
> def _
OK.
On Nov 23, 2018 8:08 AM, "Salomon Chavarin" wrote:
>
>
> Sent from Mail for Windows 10
>
>
>
> ---
> This email has been checked for viruses by Avast antivirus software.
> https://www.avast.com/antivirus
> --
> https://mail.python.org/mailman/listinfo/python-list
>
--
https://mail.python.or
We would be glad to help. I can't tell from your question what kind of help
you need so please give us more information.
Have you tried to install python?
If so has the installation succeeded?
What do you mean by "open the programming"?
What have you tried?
What do you expect to see?
--
https
Hello team,
I am a python 2.7 user on Linux. I will need feedback on the below program
as I'm new to oops .
#!/usr/bin/python
class System(object):
'''Doc - Inside Class '''
def __init__(self, params=None):
if params is None:
self.params = {'id': '1',
Sent from Mail for Windows 10
--
https://mail.python.org/mailman/listinfo/python-list
Snake people:
I'm a Java person and thought to try Python for Windows.
I installed Python 3.7.1 (64-bit) hoping for an IDE, documentation and even
a sample or two.
The python-3.7.1-amd64.exe unpacks and installs fine.
Only problem is I cannot find it. There was no install option to add an
shortcu
*** Please make "Table of Contents" an independent scrolling panel*
For a long documentation, users have to scroll up all the way to navigate a
different sub-topic.
--
https://mail.python.org/mailman/listinfo/python-list
Sent from Mail for Windows 10
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
--
https://mail.python.org/mailman/listinfo/python-list
On 2018-11-22 09:58, Chris Angelico wrote:
> On Thu, Nov 22, 2018 at 7:51 PM Thomas Jollans wrote:
>>
>> On 21/11/2018 20:18, Python wrote:
>>> $ python3
>>> Python 3.5.2 (default, Nov 23 2017, 16:37:01)
>>> [GCC 5.4.0 20160609] on linux
>>> Type "help", "copyright", "credits" or "license" for mor
22 matches
Mail list logo