pdb: How to use the 'break' parameter?

2024-08-21 Thread Kevin M. Wilson via Python-list
break (Old_MacDonald:23 | name[indx] == 'd', indx = 4), based on the doc spec in python.org (https://docs.python.org/3/library/pdb.html#debugger-commands) Cell In[1], line 20 break (Old_MacDonald:23 | name[indx] == 'd', indx = 4) ^ SyntaxError: invalid syntax I got one blan

Fw: Flubbed it in the second interation through the string: range error... HOW?

2024-05-28 Thread Kevin M. Wilson via Python-list
sweep over you. When you walk through the fire, you will not be burned: the flames will not set you ablaze."      Isaiah 43:2 - Forwarded Message ----- From: Kevin M. Wilson via Python-list To: python-list@python.org Sent: Tuesday, May 28, 2024 at 10:35:23 PM MDTSubject: Fl

Flubbed it in the second interation through the string: range error... HOW?

2024-05-28 Thread Kevin M. Wilson via Python-list
The following is my effort to understand how to process a string, letter, by letter: def myfunc(name):        index = 0    howmax = len(name)    # while (index <= howmax):    while (index < howmax):        if (index % 2 == 0):            print('letter to upper = {}, index {}!'.format(name[index]

RE: Popping key causes dict derived from object to revert to object (3/25/2024)

2024-03-27 Thread Dr. F. M. (Mike) Covington via Python-list
running Python 3.12: Mike ------ F. M. (Mike) Covington, PhD, PCPP, MCT Automation Consultant, Developer, Instructor -- https://mail.python.org/mailman/listinfo/python-list

Re: wordplay

2023-05-30 Thread Chris M. Thomasson
On 5/26/2023 12:13 AM, David Dalton wrote: cODINg :-) Play with the Chaos PP lib... ;^) -- https://mail.python.org/mailman/listinfo/python-list

Re: Invalid literal for int() with base 10?

2023-05-25 Thread Kevin M. Wilson via Python-list
e."      Isaiah 43:2 On Thursday, May 25, 2023 at 05:55:06 PM MDT, Kevin M. Wilson via Python-list wrote: Ok, I'm not finding any info. on the int() for converting a str to an int (that specifies a base parameter)?! The picture is of the code I've written... And the

From geeksforgeeks.org, on converting the string created by the input() to an INT

2023-05-25 Thread Kevin M. Wilson via Python-list
We can first convert the string representation of float into float using  float() function and then convert it into an integer using int().So, why can't a string of an integer be converted to an integer, via  print(int(str('23.5')))??? Perplexed | print(int(float('23.5'))) | "When you pas

Invalid literal for int() with base 10?

2023-05-25 Thread Kevin M. Wilson via Python-list
Ok, I'm not finding any info. on the int() for converting a str to an int (that specifies a base parameter)?! The picture is of the code I've written... And the base 10 paradigm involved?? years = int('y') # store for calculationValueError: invalid literal for int() with base 10: 'y'What is mean

Three (3) >>> in the debug screen of PyCharm... Que Es over?!!

2023-05-04 Thread Kevin M. Wilson via Python-list
"When you pass through the waters, I will be with you: and when you pass through the rivers, they will not sweep over you. When you walk through the fire, you will not be burned: the flames will not set you ablaze."      Isaiah 43:2 | | Virus-free.www.avg.com | -- https://mail.python.org/m

Disable 'style PEP' messages

2023-05-04 Thread Kevin M. Wilson via Python-list
Hi... How do I set Pycharm to find only syntax errors?!! "When you pass through the waters, I will be with you: and when you pass through the rivers, they will not sweep over you. When you walk through the fire, you will not be burned: the flames will not set you ablaze."      Isaiah 43:2 | |

Editing PEP-8, in particular "expected 2 blanks, found 1

2023-05-02 Thread Kevin M. Wilson via Python-list
Folks, help please! What the @#$! are these doing popping up. Code styles are personal, and not subject to debate.Where can I edit these out of my IDE? Kevin "When you pass through the waters, I will be with you: and when you pass through the rivers, they will not sweep over you. When you walk th

Re: Incomplete sys.path with embeddable python (Windows)!?

2023-04-22 Thread Ralf M.
Am 21.04.2023 um 18:07 schrieb Thomas Passin: On 4/20/2023 5:47 PM, Ralf M. wrote: Hello, when I run a script with a "normally" installed python, the directory the script resides in is automatically added as first element to sys.path, so that "import my_local_module" find

Re: Incomplete sys.path with embeddable python (Windows)!?

2023-04-22 Thread Ralf M.
Am 22.04.2023 um 03:27 schrieb Greg Ewing via Python-list: How are you invoking your script? Presumably you have some code in your embedding application that takes a script path and runs it. Instead of putting the code to update sys.path into every script, the embedding application could do it be

Re: Incomplete sys.path with embeddable python (Windows)!?

2023-04-22 Thread Ralf M.
Am 21.04.2023 um 17:31 schrieb Mats Wichmann: On 4/20/23 15:47, Ralf M. wrote: Hello, when I run a script with a "normally" installed python, the directory the script resides in is automatically added as first element to sys.path, so that "import my_local_module" finds m

Incomplete sys.path with embeddable python (Windows)!?

2023-04-21 Thread Ralf M.
ot;, 1)[0] if script_path not in sys.path: sys.path[0:0] = [script_path] import my_local_modul That works, but it's ugly, executing code between imports is frowned upon, and it needs to be added to every script. Does anybody have a better idea? Any help is appreciated. Ralf M. -- https://mail.python.org/mailman/listinfo/python-list

PyCharm's strict PEP and not so strict?

2023-04-19 Thread Kevin M. Wilson via Python-list
Greetings,     I'm in a bit of a quandary, I want some strict syntax errors to be flagged, but the use of single quotes vs double quotes! NOT what I need from the 'checker', you dig? As I've recently returned to the IDE, and no longer have the "stones" for bull, how do I set up the kind of "

Re: Pycharm IDE

2023-04-18 Thread Kevin M. Wilson via Python-list
u: and when you pass through the rivers, they will not sweep over you. When you walk through the fire, you will not be burned: the flames will not set you ablaze."      Isaiah 43:2 On Tuesday, April 18, 2023 at 11:17:52 PM MDT, Kevin M. Wilson via Python-list wrote: print (f'

Re: Pycharm IDE

2023-04-18 Thread Kevin M. Wilson via Python-list
aze."      Isaiah 43:2 On Tuesday, April 18, 2023 at 06:44:37 PM MDT, aapost wrote: On 4/18/23 19:18, Kevin M. Wilson wrote: >Why complain about a 'comma', or a ')'??? >      print (f'"I am thinking of a number between 1 to {LIMIT}\n") my

Pycharm IDE

2023-04-18 Thread Kevin M. Wilson via Python-list
Greetings... Kevin here:I need help, as you have guessed!I have this line: The Print Statement... Why complain about a 'comma', or a ')'???def play_game(): number = random.randint(1, LIMIT) print (f'"I am thinking of a number between 1 to {LIMIT}\n")Or is this a setting in the IDE, I need

Fwd: About the Python

2023-01-02 Thread Ramya M
-- Forwarded message - From: Ramya M Date: Mon, Jan 2, 2023, 9:58 AM Subject: About the Python To: This is from JNN College of Engineering, Shimoga. we are facing some problems while using python. Please can you resolve this issue. We are using python 3.11.1 (64 bit) for

Help, PyCharm fails to recognize my tab setting...See attached picture of the code.

2022-10-10 Thread Kevin M. Wilson via Python-list
C:\Users\kevin\PycharmProjects\Myfuturevalue\venv\Scripts\python.exe C:\Users\kevin\PycharmProjects\Myfuturevalue\FutureValueCal.py   File "C:\Users\kevin\PycharmProjects\Myfuturevalue\FutureValueCal.py", line 31    elif (years > 50.0) or (years < 1.0) :    ^IndentationError: expected an indent

Re: How to replace an instance method?

2022-09-17 Thread Ralf M.
Am 17.09.2022 um 00:35 schrieb Dan Stromberg: On Fri, Sep 16, 2022 at 2:06 PM Ralf M. <mailto:ral...@t-online.de>> wrote: I would like to replace a method of an instance, but don't know how to do it properly. You appear to have a good answer, but...  are you sure

Re: How to replace an instance method?

2022-09-17 Thread Ralf M.
Am 16.09.2022 um 23:34 schrieb Eryk Sun: On 9/16/22, Ralf M. wrote: I would like to replace a method of an instance, but don't know how to do it properly. A function is a descriptor that binds to any object as a method. For example: >>> f = lambda self, x: self + x

How to replace an instance method?

2022-09-16 Thread Ralf M.
or what sections of the documentation to read next. Any ideas / pointers? Ralf M. -- https://mail.python.org/mailman/listinfo/python-list

ImportError: No module named spambayes.resources (line 12 of setup_all.py)

2022-08-24 Thread Erik M. Brown via Python-list
Is anyone here familiar with SpamBayes? I am working with legacy 2.4.x Python code (I'm not a programmer, more of a power user) and I'm attempting to build the windows binary from the SpamBayes source. I'm running into an error when attempting to run "setup_all.py", the py2exe setup script,

Re: .0 in name

2022-05-28 Thread Ralf M.
can be used in several namespaces and as attributes. It's just a bit harder to use non-identifier names than identifiers. Whether it's a good idea to use them at all is a different question. I think the OP wondered about the .0 in the local namespace within list comprehensions. Unfortunately I cannot say much about that. Paul Ralf M. -- https://mail.python.org/mailman/listinfo/python-list

F-string usage in a print()

2022-05-24 Thread Kevin M. Wilson via Python-list
future_value = 0 for i in range(years): # for i in range(months): future_value += monthly_investment future_value = round(future_value, 2) # monthly_interest_amount = future_value * monthly_interest_rate # future_value += monthly_interest_amount # display the result print(f"Year =

python-list@python.org

2022-04-13 Thread Kevin M. Wilson via Python-list
MS Edge settings are displayed in the first picture, the error I encountered is the second picture...not sure how I get around this!I reloaded the browser after checking the settings for JavaScript...confused. Kevin Good sense makes one slow to anger, and it is his glory tooverlook an off

Pycharm IDE: seeking an assist!

2022-03-21 Thread Kevin M. Wilson via Python-list
Greetings Python coders,     I have installed the Pycharm IDE, and upon successfully auto install of the path/environment statements. The IDE opened and displayed (bottom right corner):  The use of Java options environment variables detected. Such variables override IDE configuration files

Tree library that allows conditions on nodes and will return the node

2021-06-14 Thread Veek M
LibreOffice has a huge class tree and I need to familiarize myself with it - trouble is, it won't fit on A4 because it has a flat hierarchy with loads of leaf nodes. I wanted to shove all the leaf nodes > x into a subgraph and style that differently using Graphviz. I tried treelib but while i can

Re: Selenium script - stuck - could someone take a look?

2021-05-29 Thread Veek M
On 2021-05-29, Dennis Lee Bieber wrote: > On Sat, 29 May 2021 09:40:35 - (UTC), Veek M declaimed > the following: > ah, yeah - man that took me a while to do (save to local file and use file:///). It's working now, basically xpath mistake because I've forgotten stuff.

Selenium script - stuck - could someone take a look?

2021-05-29 Thread Veek M
IREFOX; caps["pageLoadStrategy"] = 'eager' ignored_exceptions=(NoSuchElementException,StaleElementReferenceException,) fh = open('/tmp/log.html', 'w') fh.write(' parts\n\n') def convert(m): money = m.group() return str(round(fl

Re: Selenium script - stuck - could someone take a look?

2021-05-29 Thread Veek M
On 2021-05-29, Veek M wrote: fixed div './/' vs '//' -- https://mail.python.org/mailman/listinfo/python-list

Pandas: How does df.apply(lambda work to create a result

2021-05-26 Thread Veek M
t = pd.DataFrame([[4,9],]*3, columns=['a', 'b']) a b 0 4 9 1 4 9 2 4 9 t.apply(lambda x: [x]) gives a[[1, 2, 2]] b[[1, 2, 2]] How?? When you 't' within console the entire data frame is dumped but how are the individual elements passed into .apply()? I can't do lambda x,y: [x,y]

EuroPython 2021: Call for Proposals (CFP) extended until May 16

2021-05-10 Thread M.-A. Lemburg
We've decided to extend the deadline for our Call for Proposals until Sunday, May 16, 23:59:59 CEST. We are still looking for a few more proposals, especially for posters, training sessions, and helpdesks. For more information about submitting a proposal, you can read the original blog post announ

EuroPython 2021: Call for Sponsors

2021-05-06 Thread M.-A. Lemburg
We're happy to announce our call for sponsors. Reach out to enthusiastic Python developers, users and professionals worldwide by presenting your company at this year’s EuroPython 2021 Online conference, from July 26 - Aug 1, 2021! * EuroPython 2021 Call for Sponsors *

EuroPython 2021: Speaker Mentorship Program

2021-04-28 Thread M.-A. Lemburg
In the EuroPython community, diversity and inclusion are one of our core values. Therefore, we are launching a Speaker Mentorship Program in this year's edition. * EuroPython 2021 Speaker Mentorship Program * https://ep2021.europython.eu/events/call-for-proposals/ We know how

EuroPython 2021: Call for Proposals Open

2021-04-26 Thread M.-A. Lemburg
We're happy to announce the EuroPython 2021 Call for Proposals (CFP) and are accepting proposals for talks, training sessions, workshops, panels, poster sessions, helpdesks and other interactive sessions at EuroPython 2021. * EuroPython 2021 Call for Proposals (CFP) * https://ep2

Re: "py.ini" question

2021-04-25 Thread Ralf M.
Am 25.04.2021 um 16:30 schrieb Mats Wichmann: On 4/24/21 2:57 PM, Chris Angelico wrote: On Sun, Apr 25, 2021 at 5:57 AM Gisle Vanem wrote: With 'py -3.6' or 'py 3.8' I get the expected. But with 'py -3':     Python 3.8.9 (default, Apr 13 2021, 15:54:59)  [GCC 10.2.0 64 bit (AMD64)] on win32

EuroPython 2021: Financial Aid Applications Open

2021-04-21 Thread M.-A. Lemburg
We are happy to announce the start of our financial aid program for this year’s EuroPython. * EuroPython 2021 Financial Aid * https://ep2021.europython.eu/registration/financial-aid/ As part of our commitment to the Python community and to increase our reach to lower

EuroPython 2021: Ticket sales started

2021-04-19 Thread M.-A. Lemburg
We're pleased to announce the start of the EuroPython 2021 ticket sales: * EuroPython 2021 Ticket Sales Open * https://ep2021.europython.eu/registration/buy-tickets/ Updated ticket structure For EuroPython 2021, we'll have more than 10 training

EuroPython 2021: Launching the conference website

2021-04-16 Thread M.-A. Lemburg
During the last few weeks the team has been hard at work making final changes to the website, and we are excited to announce the launch of the conference website for EuroPython 2021 today ! * EuroPython 2021 Conference Website * https://ep2021.europython.eu/ W

Presenting our EuroPython 2021 logo

2021-04-07 Thread M.-A. Lemburg
Over the last couple of weeks, we have worked with our designer Jessica Peña to come up with a logo which reflects both our desire to come together online during the pandemic and shows how well our community is interconnected around the world. Here's our brand new logo for EuroPython 2021 Online:

Let's celebrate: 20 years of EuroPython

2021-03-25 Thread M.-A. Lemburg
This year's conference will mark the 20th edition of the EuroPython conference. * EuroPython 2021 * https://ep2021.europython.eu/ Since we started touring Europe in 2002 in Charleroi, Belgium, we have come a long way. The conference has grown from the

Re: neonumeric - C++ arbitrary precision arithmetic library

2021-03-06 Thread Chris M. Thomasson
On 3/5/2021 8:51 AM, Mr Flibble wrote: neonumeric - C++ arbitrary precision arithmetic library with arbitrary precision integers, floats and rationals: https://github.com/i42output/neonumeric It hasn't been formally released yet as it still requires more extensive testing.  It will be used as

Re: neonumeric - C++ arbitrary precision arithmetic library

2021-03-06 Thread Chris M. Thomasson
On 3/6/2021 11:35 AM, Mr Flibble wrote: On 06/03/2021 19:11, Bonita Montero wrote: There is no projection. _You_ have megalomania, not me. And there's also no Dunning Kruger effect. You can't assess your capabilites, not me. no u Someone who says that he is capable of writing a compiler tha

Tkinter needed as a legacy version 2.7 imports the module...

2021-02-26 Thread Kevin M. Wilson via Python-list
Hey Community,    Is there a site where I might/can download a version of Tkinter for Python 2.7? Seriously, KMW John 1:4  "In him was life; and the life was the light of men." -- https://mail.python.org/mailman/listinfo/python-list

EuroPython 2021: Volunteering

2021-02-18 Thread M.-A. Lemburg
The EuroPython 2021 organization is starting and we're looking for more help with running the conference. * EuroPython 2021 * https://ep2021.europython.eu/ For EP2021, we are using a slightly different approach compared to previous years: - All new vo

Python 2.7 and 3.9

2021-02-16 Thread Kevin M. Wilson via Python-list
My employer has hundreds of scripts in 2.7, but I'm writing new scripts in 3.9! I'm running into 'invalid syntax' errors.I have to maintain the 'Legacy' stuff, and I need to mod the path et al., to execute 3.7 w/o doing damage to the 'Legacy' stuff...IDEA' are Welcome! KMW John 1:4  "In him was

Re: Python cannot count apparently

2021-02-07 Thread Kevin M. Wilson via Python-list
Set i = 0 at the begin of the code, that way each entry starts at Logical 0 of the array/container/list... "The only way to have experience is by having the experience"! On Sunday, February 7, 2021, 12:56:40 PM MST, Karsten Hilbert wrote: Am Sun, Feb 07, 2021 at 07:47:03PM + schr

EuroPython 2021: Getting ready

2021-01-28 Thread M.-A. Lemburg
We're happy to announce the pre-launch website for this year's EuroPython 2021: * EuroPython 2021 * https://ep2021.europython.eu/ The site comes with an FAQ page, which lists all the information we have for you at the moment. We're repeating the most i

For example: Question, moving a folder (T061RR7N1) containing a Specific file (ReadCMI), to folder: C:\\...\DUT0

2021-01-27 Thread Kevin M. Wilson via Python-list
for path, dir, files in os.walk(myDestinationFolder): # for path, dir, files in os.walk(destfolder): print('The path is %s: ', path) print(files) os.chdir(mySourceFolder) if not os.path.isfile(myDestinationFolder + file): # if not os.path.isfile(destfolder + file): prin

EuroPython 2021: Format Poll

2021-01-07 Thread M.-A. Lemburg
We are currently working out the format for this year’s online EuroPython conference. The conference will be run using online conference tools during the week of July 26 - August 1 and we would like to learn about your preferences regarding the overall structure. For this reason, we’re running a p

Unable to read .xlsx file using pandas

2020-12-03 Thread A. M. Thomas [PETech MIET MBA]
ments/Hash Analytics Internship - DemoS2.xlsx') ^ SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \U escape Process finished with exit code 1 -- Best Regards, *A. M. Thomas* Electrical & Solar Systems Expert

Re: series.py, cannot import series from pandas

2020-11-28 Thread A. M. Thomas [PETech MIET MBA]
Spot on!! Thank you very much, am back on track with your aid On Sat, Nov 28, 2020 at 9:23 PM MRAB wrote: > On 2020-11-28 15:59, A. M. Thomas [PETech MIET MBA] wrote: > > Kindly guide on how to solve this problem from Python3.9 with pycharm. > See > > the below > > &g

series.py, cannot import series from pandas

2020-11-28 Thread A. M. Thomas [PETech MIET MBA]
te-packages\pandas\__init__.py) Process finished with exit code 1 -- Best Regards, *A. M. Thomas* Electrical & Solar Systems Expert *THE GUY BEHIND THE SCENE* Cell: +254 723 309 157 / +254 731 406 125 Email: thomaso...@gmail.com / thomaso.engin...@gmail.com "Alternative energy for real a

EuroPython videos all on archive.org

2020-11-28 Thread M.-A. Lemburg
Over the last few weeks, Anthon van der Neut, our media work group chair for EP2015 and EP2016, put in a lot of effort into getting all our conference videos on archive.org, the Internet Archive. Archive.org is not meant as an alternative for YouTube to watch the videos, but it allows you to retri

EuroPython "Ask me Anything" - Nov Edition

2020-11-18 Thread M.-A. Lemburg
Dear Community, after our first successful “Ask me Anything” (AMA) session in September https://blog.europython.eu/post/629951901661790208/europython-ask-me-anything we want to run another meeting this Thursday to answer any questions you may have, share our knowledge or help you in planning you

EuroPython 2020: Edited videos are online

2020-10-18 Thread M.-A. Lemburg
We’re happy to announce that all edited videos of this year’s conference are now available on our YouTube channel: * EuroPython 2020 Playlist * https://www.youtube.com/watch?v=CvbQArKEFes&list=PL8uoeex94UhHgMD9GOCbEHWku7pEPx9fW We have 131 videos available in total, coveri

EuroPython "Ask me Anything"

2020-09-22 Thread M.-A. Lemburg
Dear Community, we want to try a new experiment and run an “Ask me Anything” (AMA) this Thursday to answer questions you may have, share our knowledge or help you in planning your online event. Some of the topics we can cover: - our tools research and findings - our concepts for running an online

Re: Making Python the Best App Dev Platform

2020-09-21 Thread Bonface M. K.
gt; That being said, it would be nice to see your project have that-- doing bootstrapping for tests for you; and having somewhere that mentions how to run them. I'll try to have a look at it over the weekend? That's seems like something I'd use- though it'd have to

Re: Making Python the Best App Dev Platform

2020-09-21 Thread Bonface M. K.
to hear from you. And if you’d > like to help, super! > > Best, > Val Also, just a suggestion: how about a way to bootstrap tests. I haven't really seen that on theGH link shared above. -- Bonface M. K. (https://www.bonfacemunyoki.com) Chief Emacs Mchochezi / Twitter: @BonfaceK

EuroPython 2020: First batch of edited videos available

2020-09-15 Thread M.-A. Lemburg
We’re happy to release the first 30 cut videos of EuroPython 2020. You can watch them on our YouTube channel http://europython.tv/: * EuroPython 2020 Playlist * https://www.youtube.com/playlist?list=PL8uoeex94UhHgMD9GOCbEHWku7pEPx9fW Over the next few days/weeks, we’ll keep r

Re: Spam, bacon, sausage and Spam (was: EuroPython 2020: Data Science Track)

2020-08-13 Thread M.-A. Lemburg
On 22.07.2020 15:00, Christian Heimes wrote: > Hi MAL, > > would it be possible to reduce the amount of EuroPython spam on > @python.org mailing lists to a sensible level? This mailing list is a > general discussion list for the Python programming language. It's not a > conference advertisement li

EuroPython 2020: Live Stream Recordings available

2020-08-13 Thread M.-A. Lemburg
We’re happy to announce the public availability of the live stream recordings from EuroPython 2020. They were already available to all conference attendees since the sprint days. * EuroPython YouTube Channel * http://europython.tv/ We have collected the

EuroPython 2020: Data Science Track

2020-07-22 Thread M.-A. Lemburg
We are excited to announce a complete two day data science track at EuroPython 2020 Online, happening on Thursday and Friday (July 23 - 24). Yes, that’s starting tomorrow. Sorry for the short notice :-) * Data Science @ EuroPython 2020 * https://ep2020.europython.eu/

EuroPython 2020: Presenting our Conference Booklet

2020-07-21 Thread M.-A. Lemburg
Our designer Jessica has created a beautiful conference booklet for you to use during the conference and keep as a memory afterwards. It provides all details, schedule, keynotes, sponsor listings, etc. in a single PDF. * EuroPython 2020 Conference Booklet * https://ep2020.e

EuroPython 2020: Introducing our Diamond Sponsor Bloomberg

2020-07-20 Thread M.-A. Lemburg
We are very pleased to have Bloomberg as Diamond Sponsor for EuroPython 2020. Without sponsors like Bloomberg, we wouldn't be able to make the event affordable. You will be able to visit their sponsor exhibit rooms and take the opportunity to chat with their staff to learn more about the large Pyt

EuroPython 2020: Find a new job at the conference

2020-07-17 Thread M.-A. Lemburg
We’d like to draw your attention to our job board, with plenty of job ads from our sponsors: * EuroPython 2020 Job Board * https://ep2020.europython.eu/sponsor/job-board/ Our sponsors would love to get in touch with you, so please have a look and visit them at their

unittest test discovery: regular packages vs. namespace packages

2020-07-10 Thread Ralf M.
test discovery, all of the test files must be modules or packages (including namespace packages) importable from the top-level directory of the project (this means that their filenames must be valid identifiers). [...] Note: As a shortcut, python -m unittest is the equivalent of python -m uni

EuroPython 2020: Our Keynotes

2020-07-02 Thread M.-A. Lemburg
We’re happy to announce our keynote lineup for EuroPython 2020. * EuroPython 2020 Keynotes * https://ep2020.europython.eu/events/keynotes/ Guido van Rossum - Q&A -- In this session, you’ll get a chance to get your questions answered by Guid

EuroPython 2020: Opening our Merchandise Shop

2020-06-23 Thread M.-A. Lemburg
We’re very happy to announce our very own EuroPython merchandise shop: * EuroPython Merch Shop * https://shop.spreadshirt.ie/europython/ Customize your conference t-shirt for EP2020 The shop is run on the Sprea

Python with text editor

2020-05-30 Thread Preetha M
Hello. Thank you for responding to my previous mail. Can someone tell me how to connect python to sublime text 3. Whenever I select python and type the code, it does not work when I press ctrl+B. Please tell. -- https://mail.python.org/mailman/listinfo/python-list

.dll problem

2020-05-29 Thread Preetha M
Hello. Warm regards from india. I am a kid who is currently learning python. Hope you are doing well. I know that it is not a problem that you can fix but whenever i try to open the software it shows that api-ms-win-crt-runtime-l1-0-0.dll is missing. I tried reinstalling but it is not working. Ever

EuroPython 2020: Schedule published

2020-05-29 Thread M.-A. Lemburg
We are very excited to announce the first version of our EuroPython 2020 schedule: * EuroPython 2020 Schedule * https://ep2020.europython.eu/schedule/ More sessions than we ever dreamed of - After the 2nd CFP, we found th

Enums are Singletons - but not always?

2020-05-23 Thread Ralf M.
; mod1.main() a is En.A: True a: En.A: id(a), id(a.__class__) 49566792 44574280 id(En.A), id(En) 49566792 44574280 >>> So: When run as script there are two instances of En (different ids), but when mod1 is imported and mod1.main() is run it works as expected (just one instance

EuroPython 2020: First part of the program available

2020-05-10 Thread M.-A. Lemburg
Our program work group (WG) has been working hard over the last week to select the first batch of sessions for EuroPython 2020, based on your talk voting and our diversity criteria. We’re now happy to announce the first 60 talks, brought to you by 61 speakers. * EuroPython 2020

EuroPython 2020: Second call for proposals (CFP) - Going global

2020-05-08 Thread M.-A. Lemburg
After participating in several other online events in Europe, we found that there is a lot of interest in these events from other time zones as well. This is a real advantage of running an online event: without the need to travel, joining an event becomes much easier. * EuroPyth

Sharing our research and licenses for going online with Python events

2020-05-07 Thread M.-A. Lemburg
In March 2020, we had to make a tough decision on whether to cancel EuroPython 2020 or run it online. Since we did not want to lose continuity and all the work we had already put into the in-person event, we decided to go for an online version. Now, just as many other in-person events, running the

EuroPython 2020: Call for Sponsors

2020-05-06 Thread M.-A. Lemburg
Reach out to enthusiastic Python developers, users and professionals worldwide by presenting your company at the first online EuroPython conference ever, from July 23-26! * EuroPython 2020 Sponsor Packages * https://ep2020.europython.eu/sponsor/packages/ Sponsoring

EuroPython 2020: Ticket sales started

2020-04-21 Thread M.-A. Lemburg
We have started the EuroPython 2020 online conference & sprint ticket sales today. * EuroPython 2020 Ticket Sales * https://ep2020.europython.eu/registration/buy-tickets/ Simplified ticket structure --- In order to keep things simple for the E

Re: Why is a generator expression called a expression?

2020-04-20 Thread Veek M
but one can do the following (x for x in 'apple').next() * 2 def foo(): (yield 2) foo().next() * 3 (lambda x: 2)()*4 generator expr, yield expr, lambda expression all require some modification (insertion of a .next or explicit () so it's quite confusing.. expression seems to mean anything

Re: Why is a generator expression called a expression?

2020-04-20 Thread Veek M
Also you will note, one can do: ( 2 if 3 > 2 else 4 ) + 4 so the () is just for precedence but otherwise a Conditional Expression works as expected by returning a value to be added to + 4. -- https://mail.python.org/mailman/listinfo/python-list

Re: Why is a generator expression called a expression?

2020-04-20 Thread Veek M
On Mon, 20 Apr 2020 19:19:31 +1000, Chris Angelico wrote: > In the case of a genexp, the expression has a value which is a generator > object. When you pass that to all(), it takes it and then iterates over but an object is NOT THE SAME as it's value! '2' is an object which happens to have a val

Why is a generator expression called a expression?

2020-04-20 Thread Veek M
The docs state that a expression is some combination of value, operator, variable and function. Also you cannot add or combine a generator expression with a value as you would do with 2 + 3 + 4. For example, someone on IRC suggested this all(a == 'a' for a in 'apple') but 1. all is a function/m

Farewell to Oier Echaniz Beneitez

2020-04-18 Thread M.-A. Lemburg
We received the very sad news today, that Oier Echaniz Beneitez has passed away, after a long-term illness (not as a result of COVID-19): https://www.europython-society.org/post/615744838396215296/farewell-to-oier-echaniz-beneitez Oier was one of the initiators for bringing EuroPython to Bilbao i

EuroPython 2020: Talk voting is open

2020-04-14 Thread M.-A. Lemburg
Talk voting is your chance to tell us what you’d like to see at EuroPython 2020. We will leave talk voting open until: Sunday, April 26 23:59:59 CEST In order to vote, please log in to the website and then navigate to the talk voting page: * EuroPython 202

plead add persian languges

2020-04-11 Thread m. bahrami
Sent from Mail for Windows 10 -- https://mail.python.org/mailman/listinfo/python-list

EuroPython 2020: CFP for the Online Event

2020-04-02 Thread M.-A. Lemburg
Since we had started the CFP under the assumption of running an in-person conference and are now switching EuroPython 2020 to an online event, we will extend the CFP for another two weeks until April 12, to give everyone who would like to participate in this new format, a chance to submit a session

EuroPython 2020: Online conference from July 23-26

2020-03-31 Thread M.-A. Lemburg
In the last two weeks, we have discussed and investigated concepts around running this year’s EuroPython conference as an online conference. We have looked at conference tools, your feedback, drafted up ideas on what we can do to make the event interesting and what we can accomplish given our limit

EuroPython 2020: Going virtual / EuroPython 2021: Dublin, Ireland

2020-03-17 Thread M.-A. Lemburg
In our blog post on the COVID-19 last week, we were still hopeful that the situation would improve in time for the event in July. The last few days have shown us that we need to have a more realistic view on how things will develop in the coming months: https://blog.europython.eu/post/612393987829

EuroPython 2020 and COVID-19

2020-03-12 Thread M.-A. Lemburg
As you probably already know, the Coronavirus is spreading throughout Europe and we wanted to give you an update on our current plans around on the situation. We will update this blog post as new information becomes available: https://blog.europython.eu/post/612393987829039104/europython-2020-and-

ANN: PyDDF Python Spring Sprint 2020

2020-03-11 Thread eGenix Team: M.-A. Lemburg
[This announcement is in German since it targets a local user group meeting in Düsseldorf, Germany] ANKÜNDIGUNG PyDDF Python Spring Sprint 2020 in Düsseldorf

EuroPython 2020: Call for Proposals now open

2020-03-09 Thread M.-A. Lemburg
We have opened the Call for Proposals today. It will be left open for three weeks and then close on: Sunday, March 29 23:59:59 CEST In order to submit a proposal, please log in to the site (or create an account first) and then proceed to the CFP page: * https://ep20

EuroPython 2020: Launching the conference website

2020-03-08 Thread M.-A. Lemburg
We are very excited to announce the launch of our website for EuroPython 2020: * EuroPython 2020 Website * https://ep2020.europython.eu/ Our web WG worked hard on putting the finishing touches on the website and many other team members helped update the

EuroPython 2020: Call for Proposals opens on March 9th

2020-02-26 Thread M.-A. Lemburg
We are happy to announce that the Call for Proposals will open on March 9. It will be left open for three weeks and then close on: Sunday, March 29 23:59:59 CEST While you wait for submissions to open, please check out the Call for Proposals details on our pre-launch website: https://ep2

EuroPython 2020: Presenting our conference logo for Dublin

2020-02-18 Thread M.-A. Lemburg
We’re pleased to announce our official conference logo for EuroPython 2020, July 20-26, in Dublin, Ireland: * https://ep2020.europython.eu/ * The logo is inspired by the colors and symbols often associated with Ireland: the shamrock and the Celtic harp. It was again created by

EuroPython 2020: Pre-launch Website Ready

2020-01-22 Thread M.-A. Lemburg
In the last couple of weeks we have put together a pre-launch site for EuroPython 2020, which has all the information around the event, as we currently know and can share with you. EuroPython 2020 Pre-launch Website * https://ep2020.europython.eu/ * The main w

[PyDDF-Ann] ANN: Python Meeting Düsseldorf - 22.01.2020

2020-01-20 Thread eGenix Team: M.-A. Lemburg
[This announcement is in German since it targets a local user group meeting in Düsseldorf, Germany] ANKÜNDIGUNG Python Meeting Düsseldorf http://pyddf.de/ Ein Tr

Decorator as a class and Descriptor __get__ working? - cookbook, 9.9, pg 349

2019-12-08 Thread Veek M
I did not follow the grok bit.. He's creating a Descriptor within class 'Spam' by doing @Profiled def bar() because Profiled replaces 'bar' with it's instance that contains __get__ which means I have to do s.grok = 20 to trigger it? Which would imply, s.__get__(instance, instance, value) NOT wha

  1   2   3   4   5   6   7   8   9   10   >