Get up and running with Python 3.9 through concise tutorials and practical projects in this fully updated third editionKey FeaturesExtensively revised with richer examples, Python 3.9 syntax, and new ...chapters on APIs and packaging and distributing Python codeDiscover how to think like a Python programmerLearn the fundamentals of Python through real-world projects in API development, GUI programming, and data scienceBook DescriptionLearn Python Programming, Third Edition is both a theoretical and practical introduction to Python, an extremely flexible and powerful programming language that can be applied to many disciplines. This book will make learning Python easy and give you a thorough understanding of the language. You'll learn how to write programs, build modern APIs, and work with data by using renowned Python data science libraries.This revised edition covers the latest updates on API management, packaging applications, and testing. There is also broader coverage of context managers and an updated data science chapter.The book empowers you to take ownership of writing your software and become independent in fetching the resources you need. You will have a clear idea of where to go and how to build on what you have learned from the book.Through examples, the book explores a wide range of applications and concludes by building real-world Python projects based on the concepts you have learned.What you will learnGet Python up and running on Windows, Mac, and LinuxWrite elegant, reusable, and efficient code in any situationAvoid common pitfalls like duplication, complicated design, and over-engineeringUnderstand when to use the functional or object-oriented approach to programmingBuild a simple API with FastAPI and program GUI applications with TkinterGet an initial overview of more complex topics such as data persistence and cryptographyFetch, clean, and manipulate data, making efficient use of Python's built-in data structuresWho this book is forThis book is for everyone who wants to learn Python from scratch, as well as experienced programmers looking for a reference book. Prior knowledge of basic programming concepts will help you follow along, but it's not a prerequisite.
Objective There is preliminary evidence that children after traumatic brain injury (TBI) have accelerated long-term forgetting (ALF), i.e., an adequate learning and memory performance in standardized ...memory tests, but an excessive rate of forgetting over delays of days or weeks. The main aim of this study was to investigate episodic memory performance, including delayed retrieval 1 week after learning, in children after mild TBI (mTBI). Methods This prospective study with two time-points (T1: 1 week after injury and T2: 3–6 months after injury), included data of 64 children after mTBI and 57 healthy control children aged between 8 and 16 years. We assessed episodic learning and memory using an auditory word learning test and compared executive functions (interference control, working memory, semantic fluency and flexibility) and divided attention between groups. We explored correlations between memory performance and executive functions. Furthermore, we examined predictive factors for delayed memory retrieval 1 week after learning as well as for forgetting over time. Results Compared to healthy controls, patients showed an impaired delayed recall and recognition performance 3–6 months after injury. Executive functions, but not divided attention, were reduced in children after mTBI. Furthermore, parents rated episodic memory as impaired 3–6 months after injury. Additionally, verbal learning and group, but not executive functions, were predictive for delayed recall performance at both time-points, whereas forgetting was predicted by group. Discussion Delayed recall and forgetting over time were significantly different between groups, both post-acutely and in the chronic phase after pediatric mTBI, even in a very mildly injured patient sample. Delayed memory performance should be included in clinical evaluations of episodic memory and further research is needed to understand the mechanisms of ALF.
Site-specific seismic probabilistic tsunami hazard analysis (SPTHA) is a computationally demanding task, as it requires, in principle, a huge number of high-resolution numerical simulations for ...producing probabilistic inundation maps. We implemented an efficient and robust methodology using a filtering procedure to reduce the number of numerical simulations needed while still allowing for a full treatment of aleatory and epistemic uncertainty. Moreover, to avoid biases in tsunami hazard assessment, we developed a strategy to identify and separately treat tsunamis generated by near-field earthquakes. Indeed, the coseismic deformation produced by local earthquakes necessarily affects tsunami intensity, depending on the scenario size, mechanism and position, as coastal uplift or subsidence tends to diminish or increase the tsunami hazard, respectively. Therefore, we proposed two parallel filtering schemes in the far- and the near-field, based on the similarity of offshore tsunamis and hazard curves and on the similarity of the coseismic fields, respectively. This becomes mandatory as offshore tsunami amplitudes can not represent a proxy for the coastal inundation in the case of near-field sources. We applied the method to an illustrative use case at the Milazzo oil refinery (Sicily, Italy). We demonstrate that a blind filtering procedure can not properly account for local sources and would lead to a nonrepresentative selection of important scenarios. For the specific source–target configuration, this results in an overestimation of the tsunami hazard, which turns out to be correlated to dominant coastal uplift. Different settings could produce either the opposite or a mixed behavior along the coastline. However, we show that the effects of the coseismic deformation due to local sources can not be neglected and a suitable correction has to be employed when assessing local-scale SPTHA, irrespective of the specific signs of coastal displacement.
Background
The optimal surgical strategy to lessen the risk of hepatocarcinoma (HCC) recurrence is debated. This study aimed to investigate the role of anatomic resection (AR) and parenchyma-sparing ...resection (PSR) in HCC recurrence patterns.
Methods
The study analyzed 384 cirrhotic patients with a first diagnosis of HCC. Of these patients, 142 underwent AR, and 242 underwent PSR. The two groups were unbalanced at the univariate analysis. To minimize this bias, a 1:1 propensity score-matching analysis (PSA) was used. Disease-free survival (DFS) curves were analyzed by the Kaplan-Maier method.
Results
The PSA allowed pairing of 200 patients (100 for AR and 100 for PSR). In this study, 59 patients (62.8%) had recurrence after AR compared with 58 patients (63.7%) after PSR (
p
= 0.891). The rates of local recurrence were respectively 15.3% and 15.5% (
p
= 0.968). When microvascular invasion was considered, the median DFS was 10.7 months for AR and 9.4 months for PSR (
p
= 0.607). In comparisons of AR and PSR, DFS did not differ significantly between subgroups with high histologic grading (
p
= 0.520), multiple nodules (
p
= 0.307), and Child–Pugh B (
p
= 0.679).
Conclusion
Excision of the anatomic segment did not seem to reduce the rate of relapse or recurrence patterns significantly, even in high-risk subgroups.
Learning Python Fabrizio Romano
2015, 2015-12-24T00:00:00
eBook
Learn to code like a professional with Python – an open source, versatile, and powerful programming language About This Book * Learn the fundamentals of programming with Python – one of the best ...languages ever created * Develop a strong set of programming skills that you will be able to express in any situation, on every platform, thanks to Python's portability * Create outstanding applications of all kind, from websites to scripting, and from GUIs to data science Who This Book Is For Python is the most popular introductory teaching language in U.S. top computer science universities, so if you are new to software development, or maybe you have little experience, and would like to start off on the right foot, then this language and this book are what you need. Its amazing design and portability will help you become productive regardless of the environment you choose to work with. What You Will Learn * Get Python up and running on Windows, Mac, and Linux in no time * Grasp the fundamental concepts of coding, along with the basics of data structures and control flow. * Write elegant, reusable, and efficient code in any situation * Understand when to use the functional or the object oriented programming approach * Create bulletproof, reliable software by writing tests to support your code * Explore examples of GUIs, scripting, data science and web applications * Learn to be independent, capable of fetching any resource you need, as well as dig deeper In Detail Learning Python has a dynamic and varied nature. It reads easily and lays a good foundation for those who are interested in digging deeper. It has a practical and example-oriented approach through which both the introductory and the advanced topics are explained. Starting with the fundamentals of programming and Python, it ends by exploring very different topics, like GUIs, web apps and data science. The book takes you all the way to creating a fully fledged application. The book begins by exploring the essentials of programming, data structures and teaches you how to manipulate them. It then moves on to controlling the flow of a program and writing reusable and error proof code. You will then explore different programming paradigms that will allow you to find the best approach to any situation, and also learn how to perform performance optimization as well as effective debugging. Throughout, the book steers you through the various types of applications, and it concludes with a complete mini website built upon all the concepts that you learned. Style and approach This book is an easy-to-follow guide that will take you from a novice to the proficient level at a comfortable pace, using a lot of simple but effective examples. Each topic is explained thoroughly, and pointers are left for the more inquisitive readers to dig deeper and expand their knowledge.
Most studies predicting survival after resection, transarterial chemoembolization (TACE), and ablation analyzed diameter and number of hepatocellular carcinomas (HCCs) as dichotomous variables, ...resulting in an underestimation of risk variation. We aimed to develop and validate a new prognostic model for patients with HCC using largest diameter and number of HCCs as continuous variables.
The prognostic model was developed using data from patients undergoing resection, TACE, and ablation in 645 Japanese institutions. The model results were shown after balanced using the inverse probability of treatment-weighted analysis and were externally validated in an international multi-institution cohort.
Of 77,268 patients, 43,904 patients, including 15,313 (34.9%) undergoing liver resection, 13,375 (30.5%) undergoing TACE, and 15,216 (34.7%) undergoing ablation, met the inclusion criteria. Our model (http://www.u-tokyo-hbp-transplant-surgery.jp/about/calculation.html) showed that the 5-year overall survival (OS) in patients with HCC undergoing these procedures decreased with progressive incremental increases in diameter and number of HCCs. For patients undergoing resection, the inverse probability of treatment-weighted-adjusted 5-year OS probabilities were 10%-20% higher compared with patients undergoing TACE for 1-6 HCC lesions <10 cm and were also 10%-20% higher compared with patients undergoing ablation when the HCC diameter was 2-3 cm. For patients undergoing resection and TACE, the model performed well in the external cohort.
Our novel prognostic model performed well in predicting OS after resection and TACE for HCC and demonstrated that resection may have a survival benefit over TACE and ablation based on the diameter and number of HCCs.
ObjectivesTo describe the development and usage of www.coronabambini.ch as an example of a paediatric electronic public health application and to explore its potential and limitations in providing ...information on disease epidemiology and public health policy implementation.DesignWe developed and maintained a non-commercial online decision support tool, www.coronabambini.ch, to translate the Swiss Federal Office of Public Health (FOPH) paediatric (age 0–18 years) COVID-19 guidelines around testing and school/daycare attendance for caregivers, teachers and healthcare personnel. We analysed the online decision tool as well as a voluntary follow-up survey from October 2020 to September 2021 to explore its potential as a surveillance tool for public health policy and epidemiology.Participants68 269 users accessed and 52 726 filled out the complete online decision tool. 3% (1399/52 726) filled out a voluntary follow-up. 92% (18 797/20 330) of users were parents.ResultsCertain dynamics of the pandemic and changes in testing strategies were reflected in the data captured by www.coronabambini.ch, for example, in terms of disease epidemiology, gastrointestinal symptoms were reported more frequently in younger age groups (13% (3308/26 180) in children 0–5 years vs 9% (3934/42 089) in children ≥6 years, χ2=184, p≤0.001). As a reflection of public health policy, the proportion of users consulting the tool for a positive contact without symptoms in children 6–12 years increased from 4% (1415/32 215) to 6% (636/9872) after the FOPH loosened testing criteria in this age group, χ2=69, p≤0.001. Adherence to the recommendation was generally high (84% (1131/1352)) but differed by the type of recommendation: 89% (344/385) for ‘stay at home and observe’, 75% (232/310) for ‘school attendance’.ConclusionsUsage of www.coronabambini.ch was generally high in areas where it was developed and promoted. Certain patterns in epidemiology and adherence to public health policy could be depicted but selection bias was difficult to measure showing the potential and challenges of digital decision support as public health tools.
Central nervous system (CNS) disorders are among the most frequent presentations in critically ill children. Status epilepticus (SE) is a frequent scenario in the resuscitation bay. In patients with ...altered mental status, non-convulsive SE (NCSE) is often underrecognized and critically impacts the neurological outcome and duration of hospitalization. An electroencephalogram (EEG) is required to diagnose NCSE. However, standard EEG recordings are time- and staff-intensive, and their availability is limited, especially outside regular working hours. We aimed to improve patient care by developing a simplified EEG recording method, using a reduced lead montage (point-of-care EEG—pocEEG), that is suitable for use in pediatric emergency departments. The objective was to devise a cost-effective unit with low space requirements that fitted the existing technical infrastructure. We present two technical options for clinical pocEEG acquisition using patient monitors (GE Carescape, Philips IntelliVue) that enable data collection for educational and research purposes. A simplified, rapid response EEG like the pocEEG enables neuromonitoring of patients with CNS disorders in pediatric emergency settings, facilitating timely diagnosis and treatment initiation when standard EEG is not readily available.