Δευτέρα 19 Αυγούστου 2019


Survey of Infection Control Precautions for Patients with Severe Combined Immune Deficiency
Abstract Severe combined immune deficiency (SCID) is caused by an array of genetic disorders resulting in a diminished adaptive immune system due to impaired T lymphocytes. In these patients, active infection at the time of hematopoietic transplantation has been shown to increase morbidity and mortality. To prevent transmission of infections in SCID patients, standardized infection control precautions should be implemented. An online survey regarding SCID-specific protocols was...
Latest Results
now
A Competency Framework for Developing Global Laboratory Leaders
Building sustainable national health laboratory systems requires laboratory leaders who can address complex and changing demands for services and build strong collaborative networks. Global consensus on laboratory leadership competencies is critically important to ensure the harmonization of learning approaches for curriculum development across relevant health sectors. The World Health Organization (WHO), the Food and Agriculture Organization of the United Nations (FAO), the World Organisation for...
Frontiers in Public Health | New and Recent Articles
now
Transdisciplinary Obesity Prevention Research Sciences (TOPRS) Curriculum Increases Knowledge About Complex Causes and Consequences of Obesity for Undergraduate Students
Most researchers and public health officials would agree that the causes and consequences of obesity are complex and multi-faceted. However, curriculums designed to address these complexities are limited and often guided by a single discipline. The purpose of the Transdisciplinary Obesity Prevention Research Sciences (TOPRS) program was to develop a “flip-the-classroom” curriculum on obesity prevention across multiple disciplines such that students would gain an appreciation of the complex origins...
Frontiers in Public Health | New and Recent Articles
now
An Outbreak of Carbapenem-Resistant and Hypervirulent Klebsiella pneumoniae in an Intensive Care Unit of a Major Teaching Hospital in Wenzhou, China
Carbapenem-resistant, hypervirulent Klebsiella pneumoniae (CR-hvKP) has recently emerged as a significant threat to public health. In this study, 29 Klebsiella pneumoniae isolates were isolated from eight patients admitted to the intensive care unit (ICU) of a comprehensive teaching hospital located in China from March 2017 to January 2018. Clinical information of patients was the basis for the further analyses of the isolates including antimicrobial susceptibility tests, identification of antibiotic...
Frontiers in Public Health | New and Recent Articles
15h
Visitors to a Tropical Marine Beach Show Evidence of Immunoconversions to Multiple Waterborne Pathogens
Determining infections from environmental exposures, particularly from waterborne pathogens is a challenging proposition. The study design must be rigorous and account for numerous factors including study population selection, sample collection, storage and processing, as well as data processing and analysis. These challenges are magnified when it is suspected that individuals may potentially be infected by multiple pathogens at the same time. Previous work demonstrated the effectiveness of a salivary...
Frontiers in Public Health | New and Recent Articles
15h
Meetings Calendar
Rejuvenation Research, Volume 22, Issue 4, Page 366-374, August 2019.
Rejuvenation Research
1m
Commentary on Some Recent Theses Relevant to Combating Aging: August 2019
Rejuvenation Research, Volume 22, Issue 4, Page 353-358, August 2019.
Rejuvenation Research
1m
Aging Classified as a Cause of Disease in ICD-11
Rejuvenation Research, Volume 22, Issue 4, Page 281-281, August 2019.
Rejuvenation Research
1m
Response to Rizza and Filomenia re: “Regulation of S-Nitrosylation in Aging and Senescence”
Rejuvenation Research, Volume 22, Issue 4, Page 362-363, August 2019.
Rejuvenation Research
1m
The Role of Philanthropy in Biomedical Research: Giving Your Body and Soul
Rejuvenation Research, Volume 22, Issue 4, Page 348-352, August 2019.
Rejuvenation Research
1m
Re: “Decreased Levels of Anti-Aging Klotho in Obstructive Sleep Apnea” by Pákó et al. (Rejuvenation Res 2019 [Epub ahead of print]; DOI: 10.1089/rej.2019.2183)
Rejuvenation Research, Volume 22, Issue 4, Page 364-365, August 2019.
Rejuvenation Research
1m
Roads to the Fountain of Youth? Rejuvenating Intestinal Stem Cells
Rejuvenation Research, Volume 22, Issue 4, Page 342-347, August 2019.
Rejuvenation Research
1m
JCDD, Vol. 6, Pages 29: Cardiac Fibroblasts and the Extracellular Matrix in Regenerative and Nonregenerative Hearts
JCDD, Vol. 6, Pages 29: Cardiac Fibroblasts and the Extracellular Matrix in Regenerative and Nonregenerative Hearts Journal of Cardiovascular Development and Disease doi: 10.3390/jcdd6030029 Authors: Luis Hortells Anne Katrine Z. Johansen Katherine E. Yutzey During the postnatal period in mammals, the heart undergoes significant remodeling and cardiac cells progressively lose their embryonic characteristics. At the same time, notable changes in the extracellular matrix (ECM) composition...
Journal of Cardiovascular Development and Disease
3m
Where there is smoke: solid fuel externalities, gender, and adult respiratory health in India
Abstract Chronic respiratory conditions are a leading cause of death in the world. Using data on lung obstruction from the WHO Survey of Global Ageing and Adult Health (WHO-SAGE 2007–2008), this paper studies the determinants of respiratory health in India, home to a third of all deaths from chronic obstructive pulmonary disease. First, we find that smokers and members of households that use solid fuels (wood, biomass, coal, or dung) for cooking have higher lung obstruction. Second,...
Population and Environment
4m
X chromosome gene may explain why women are more prone to autoimmune diseases
FINDINGSA UCLA study revealed that a gene on the X chromosome may help explain why more women than men develop multiple sclerosis and other autoimmune diseases. Researchers found that a gene known as  Kdm6a was expressed more in women’s immune cells than in men’s, and expressed more in female mice than in males.When the Kdm6a gene was eliminated in mice that were bred to mimic a disease like MS, they had improved symptoms, reduced inflammation and less damage to their spinal cords.BACKGROUNDWomen...
MedWorm Endocrinology
3h
Dealing with diabetes in college
Yale Medicine experts provide a road map to help teenagers manage their condition. (Source: Yale Science and Health News)
MedWorm Endocrinology
3h
Diabetes Overtreatment in Complex Patients Common, Dangerous Diabetes Overtreatment in Complex Patients Common, Dangerous
Many patients with type 2 diabetes are overtreated, leading to more than 9000 preventable hospital visits over 2 years, a modeling study found.Medscape Medical News (Source: Medscape Diabetes Headlines)
MedWorm Endocrinology
6h
Patients Want a Lifestyle Program, but Where Are the Doctors? Patients Want a Lifestyle Program, but Where Are the Doctors?
Years after the rollout of the National Diabetes Prevention Program, millions of Americans with prediabetes still aren't participating, in part because they're not being referred by their physicians.Medscape Diabetes & Endocrinology (Source: Medscape Today Headlines)
MedWorm Endocrinology
6h
Age Well with Smart HealthTech
America is going gray. According to U.S. Census data, in 2030 even the youngest Baby Boomers will have reached 65, and older Americans will make up 21 percent of the population. Thatâs up from 15 percent today. By 2060, nearly a quarter of Americans will be at least 65 and a half million will reach age 100. These changing demographics give urgency to the concept of âaging in place.â Nobody wants to lose their independence, but thatâs the reality for many who are forced from their homes by cardiovascular...
MedWorm Endocrinology
6h
Health Tip: Exercise Portion Control
-- To maintain a healthy weight, how much you eat is just as important as what you eat, says the National Institute of Diabetes and Digestive and Kidney Diseases. Your optimal portion size may or may not match the serving size listed on a product.... (Source: Drugs.com - Daily MedNews)
MedWorm Endocrinology
6h
What Does the General Pediatrician Do When There Are Concerns for a Rare Disease?
Discussion Bardet-Biedl syndrome (BBS) is a rare disorder. It is usually considered an autosomal recessive disorder but there is significant intra-familial variability. There are multiple genes (~20 currently) involved and it is believed that the phenotypic variability is due to “…differences in the total mutational load across different BBS associated genes….” It is a ciliopathy where mutation changes in proteins in the cilias causes problems in the cilia’s functioning particularly signaling. Cilia...
MedWorm Endocrinology
8h
Type 2 diabetes: Eating this food group may prevent you from developing the condition
TYPE 2 diabetes requires a person to overhaul aspects of their lifestyle to stave off the risk. Fortunately, the disease can be prevented by making certain lifestyle decisions, including eating a popular food group, a study has revealed. (Source: Daily Express - Health)
MedWorm Endocrinology
20h
Type 2 diabetes: Cutting down on this nutrient can help regulate your blood sugar levels
TYPE 2 diabetes is a life-long condition that requires making certain lifestyle changes to avert the risks. A recent study adds to the growing body of evidence which says cutting down on a certain food group can help people manage their condition. (Source: Daily Express - Health)
MedWorm Endocrinology
21h
Targeting Thyroid Receptor Interacting Protein 6 by MicroRNA-589-5p Inhibits Cell Proliferation, Migration, and Invasion in Endometrial Carcinoma
Cancer Biotherapy and Radiopharmaceuticals, Ahead of Print.
Cancer Biotherapy & Radiopharmaceuticals - Table of Contents
3h
In Vitro Performance of Published Glypican 3-Targeting Peptides TJ12P1 and L5 Indicates Lack of Specificity and Potency
Cancer Biotherapy and Radiopharmaceuticals, Ahead of Print.
Cancer Biotherapy & Radiopharmaceuticals - Table of Contents
3h
Choroidal thickness changes in systemic lupus erythematosus patients
Clinical Ophthalmology
3h
Effect of anterior chamber depth on predictive accuracy of seven intraocular lens formulas in eyes with axial length less than 22 mm
Clinical Ophthalmology
3h
A Roadmap for Automatic Surgical Site Infection Detection and Evaluation Using User-Generated Incision Images
Surgical Infections, Ahead of Print.
Surgical Infections
3h
Peglated-H1/pHGFK1 nanoparticles enhance anti-tumor effects of sorafenib by inhibition of drug-induced autophagy and stemness in renal cell carcinoma
Tumor targeting small molecular inhibitors are the most popular treatments for many malignant diseases, including cancer. However, the lower clinical response and drug resistance still limit their clinical eff...
Journal of Experimental & Clinical Cancer Research - Latest Articles
3h
Targeting metastatic breast cancer with peptide epitopes derived from autocatalytic loop of Prss14/ST14 membrane serine protease and with monoclonal antibodies
In order to develop a new immunotherapeutic agent targeting metastatic breast cancers, we chose to utilize autocatalytic feature of the membrane serine protease Prss14/ST14, a specific prognosis marker for ER ...
Journal of Experimental & Clinical Cancer Research - Latest Articles
3h
The time of sentinel lymph node biopsy and neoadjuvant chemotherapy in clinical negative axilla breast cancer: before or after?
Future Oncology, Volume 15, Issue 23, Page 2669-2671, August 2019.
Future Medicine: Future Oncology: Table of Contents
3h
Cancer immunotherapy-associated hypophysitis
Future Oncology, Ahead of Print.
Future Medicine: Future Oncology: Table of Contents
3h
Lung cancer and immunotherapy: a real-life experience from second line and beyond
Future Oncology, Ahead of Print.
Future Medicine: Future Oncology: Table of Contents
3h
The current landscape of 3D printing in oncological surgical interventions
Future Oncology, Ahead of Print.
Future Medicine: Future Oncology: Table of Contents
3h
Somatostatin analogs in association with peptide receptor radionucleotide therapy in advanced well-differentiated NETs
Future Oncology, Ahead of Print.
Future Medicine: Future Oncology: Table of Contents
3h
The predictive effect of the systemic immune-inflammation index for patients with small-cell lung cancer
Future Oncology, Ahead of Print.
Future Medicine: Future Oncology: Table of Contents
3h
Sequencing strategies in the new treatment landscape of prostate cancer
Future Oncology, Ahead of Print.
Future Medicine: Future Oncology: Table of Contents
3h
Emerging strategies in the initial management of locally advanced rectal cancer
Future Oncology, Ahead of Print.
Future Medicine: Future Oncology: Table of Contents
3h
Sequencing therapies in oncogene-driven non-small-cell lung cancer: how to get the best mileage?
Future Oncology, Ahead of Print.
Future Medicine: Future Oncology: Table of Contents
3h

What could the future hold for treatment sequencing in cancer medicine? An interview with Angela Märten
Future Oncology, Ahead of Print.
Future Medicine: Future Oncology: Table of Contents
3h
How a biotech revolution catapulted this East Bay company to a $100M IPO
This company has helped fuel the revolution in single-cell sequencing, which has accelerated discoveries in cancer, immunology and neuroscience. (Source: bizjournals.com Health Care:Pharmaceuticals headlines)MedWorm Message: Have you tried our new medical search engine? More powerful than before. Log on with your social media account. 100% free.
MedWorm Allergy & Immunology News
4h
FDA Approves Upadacitinib (Rinvoq), New JAK Inhibitor for RA FDA Approves Upadacitinib (Rinvoq), New JAK Inhibitor for RA
Upadacitinib is for adults with moderately to severely active rheumatoid arthritis who fail to respond adequately or are intolerant to methotrexate.FDA Approvals (Source: Medscape Allergy Headlines)
MedWorm Allergy & Immunology News
4h
Islet-Allograft Tolerance Possible in Monkeys Without Long-Term Immunosuppression Islet-Allograft Tolerance Possible in Monkeys Without Long-Term Immunosuppression
Long-term tolerance of islet allografts may be possible without prolonged immunosuppression, according to studies in monkeys.Reuters Health Information (Source: Medscape Allergy Headlines)
MedWorm Allergy & Immunology News
10h
Increased risk of thiopurine‐related adverse events in elderly patients with IBD
Summary Background Thiopurines are the most widely used immunosuppressants in IBD although drug‐related adverse events (AE) occur in 20%‐30% of cases. Aim To evaluate the safety of thiopurines in elderly IBD patients Methods Cohort study including all adult patients in the ENEIDA registry who received thiopurines. Patients were grouped in terms of age at the beginning of thiopurine treatment, specifically in those who started thiopurines over 60 years or between 18 and 50 years of...
Alimentary Pharmacology & Therapeutics
4h
Oral Pain in the Cancer Patient
AbstractOral pain due to cancer and associated treatments is common. The prevalence and severity of oral cancer is high. Painful oral mucositis develops in head and neck cancer patients following surgery and associated radiation therapy and/or chemotherapy. In addition, oral pain, including pain from mucositis, occurs in patients receiving chemotherapy for cancers of the hematopoietic system and cancers at other anatomic sites. Despite pain management practices that include high-dose opioid analgesics,...
JNCI Monographs - current issue
4h
Oral Mucositis Due to High-Dose Chemotherapy and/or Head and Neck Radiation Therapy
AbstractOral mucositis is a common side-effect associated with conventional cancer therapy and has also recently been reported in association with newly emerging cancer therapies. It is characterized as an inflammation of the oral mucous membranes accompanied by many complex mucosal and submucosal changes. Ulcerative oral mucositis can cause significant oral pain, impair nutritional intake, lead to local or systemic infection, and cause significant economic cost. In addition, it may necessitate interruptions...
JNCI Monographs - current issue
4h
Late Soft Tissue Complications of Head and Neck Cancer Therapy: Lymphedema and Fibrosis
AbstractHead and neck cancer and its treatment result in soft tissue damage secondary to lymphedema and fibrosis. Lymphedema is the result of pathological accumulation of interstitial fluid in tissues. It is caused by the inability of the lymphatic system to transport lymph fluid from the tissues to the central circulatory system and is manifested clinically by tissue swelling. Fibrosis is defined as an overaccumulation of fibrotic tissues within the skin and soft tissues after a single or repetitive...
JNCI Monographs - current issue
4h
Salivary Gland Hypofunction and Xerostomia in Head and Neck Radiation Patients
AbstractBackgroundThe most manifest long-term consequences of radiation therapy in the head and neck cancer patient are salivary gland hypofunction and a sensation of oral dryness (xerostomia).MethodsThis critical review addresses the consequences of radiation injury to salivary gland tissue, the clinical management of salivary gland hypofunction and xerostomia, and current and potential strategies to prevent or reduce radiation injury to salivary gland tissue or restore the function of radiation-injured...
JNCI Monographs - current issue
4h
Oral Complications of Chronic Graft-Versus-Host Disease
AbstractThe increasing clinical indications for hematopoietic stem cell transplantation (HSCT) and improved clinical care throughout and following HSCT have led to not only long-term survival but also to an increasing incidence and prevalence of graft-versus-host disease (GVHD). Chronic GVHD (cGVHD) affects almost 50% of adult patients post-HSCT, with increasing incidence in pediatric patients as well. Oral cGVHD specifically has a reported prevalence ranging from 45% to 83% in patients who develop...
JNCI Monographs - current issue
4h
Research Frontiers in Oral Toxicities of Cancer Therapies: Osteoradionecrosis of the Jaws
AbstractThe deleterious effects of head and neck radiation on bone, with osteoradionecrosis (ORN) as the major disabling side effect of head and neck cancer treatment, are difficult to prevent and hard to treat. This review focuses on the current state of the science regarding the pathobiology, clinical impact, and management of ORN. With regard to the pathobiology underlying ORN, it is not yet confirmed whether the current radiation schedules by 3-dimensional conformal radiotherapy and intensity...
JNCI Monographs - current issue
4h
Oral Mucosal Injury Caused by Targeted Cancer Therapies
AbstractTargeted cancer therapies have fundamentally transformed the treatment of many types of cancers over the past decade, including breast, colorectal, lung, and pancreatic cancers, as well as lymphoma, leukemia, and multiple myeloma. The unique mechanisms of action of these agents have resulted in many patients experiencing enhanced tumor response together with a reduced adverse event profile as well. Toxicities do continue to occur, however, and in selected cases can be clinically challenging...
JNCI Monographs - current issue
4h
Costs of Oral Complications of Cancer Therapies: Estimates and a Blueprint for Future Study
AbstractOral complications of cancer treatment are common; however, their clinical and economic importance is often underappreciated. We reviewed the literature on the economic implications of oral complications, updating a previous report in the predecessor to this issue. We searched the Medline and Scopus databases for papers published as of December 31, 2017 that described the economic consequences of preventing and managing oral complications and reviewed the literature reporting the costs of...
JNCI Monographs - current issue
4h
Oral Microbiome and Cancer Therapy-Induced Oral Mucositis
AbstractCharacterization of the role of oral microbiome in cancer therapy-induced oral mucositis (CTOM) is critical in preventing the clinically deleterious effects on patients’ health that are associated with CTOM. Funding initiatives related to the National Institutes of Health human microbiome project have resulted in groundbreaking advancements in biology and medicine during the last decade. These advancements have shown that a human being is in fact a superorganism made of human cells and associated...
JNCI Monographs - current issue
4h
Chronic Systemic Symptoms in Head and Neck Cancer Patients
AbstractThe systemic effects and manifestations of disease and treatment have been of interest for millennium. Until recently, basic and clinical research is just now reaching a watershed. Systemic symptoms usually do not occur in isolation but rather in clusters; however, much of the cutting-edge research pertaining to the etiology, mechanism, manifestations, and moderators of systemic symptoms in humans has been directed at individual symptoms, thus creating silos of knowledge. Breaching these...
JNCI Monographs - current issue
4h
Potential Successes and Challenges of Targeted Cancer Therapies
AbstractThe concept and realization of targeted anticancer therapy (TAT) have existed for at least two decades and continue to expand rapidly. It has become clear that there is no “magic bullet” to cure cancer and that even TATs are unlikely to be successful as single agents, necessitating combination with chemotherapy, radiotherapy, or even other targeting agents. The other promise that has not been fulfilled by TAT is that of reduced toxicity. It was thought that by targeting receptors on or within...
JNCI Monographs - current issue
4h
Medication-Related Osteonecrosis of the Jaws
AbstractMedication-related osteonecrosis of the jaw is an oral complication in cancer patients being treated with either antiresorptive or antiangiogenic drugs. The first reports of MRONJ were published in 2003. Hundreds of manuscripts have been published in the medical and dental literature describing the complication, clinical and radiographic signs and symptoms, possible pathophysiology, and management. Despite this extensive literature, the pathobiological mechanisms by which medication-related...
JNCI Monographs - current issue
4h

Foreword
Undoubtedly, one of the worst sentences anyone can hear from his or her doctor is, “You have cancer.” Of course, immediate attention becomes focused on how the cancer can best be treated to achieve optimal tumor response. Over the years, biomedical science has been dramatically increasing rates of survival for many, but certainly not all, cancer patients. Although the patient’s initial attention appropriately is on survival, existing and emerging cancer therapies also can unfortunately lead to many...
JNCI Monographs - current issue
4h
Grafting of multiwalled carbon nanotubes with pyrazole derivatives: characterization, antimicrobial activity and molecular docking study
International Journal of Nanomedicine
4h
Proliposomes for oral delivery of total biflavonoids extract from Selaginella doederleinii: formulation development, optimization, and in vitro–in vivo characterization
International Journal of Nanomedicine
4h
Synthesis, characterization, and mechanistic studies of a gold nanoparticle–amphotericin B covalent conjugate with enhanced antileishmanial efficacy and reduced cytotoxicity
International Journal of Nanomedicine
5h
Extracellular vesicles released by J774A.1 macrophages reduce the bacterial load in macrophages and in an experimental mouse model of tuberculosis
International Journal of Nanomedicine
5h
How to pass a class instantiation to a process
I'm trying to pass an object to a thread so that it is shared and he updated object can be referenced within the parent thread. How do I do this? ​ from multiprocessing import Process, Value class Person(Structure): def __init__(self): self.name = 'tyler' ​ def do_it(a): a.name = 'michael' ​ s = Person() v = Value( # How do package and pass this arbitrary class instance to the thread? t = Process(target=do_it, args=(v)) t.start() t.join() print(s.name) # should be 'michael' ​ Apologies for the poorly...
Python Educational
4h
(Noob troubleshooting) Expected an indented block error, but I can't find indentation problems and I've been stuck for a while
Trying to make a Stack Calculator as per this challenge: https://edabit.com/challenge/wEDHiAcALvS2KuRBJ Here is my code: class StackCalc: def \_\_init\_\_(self): def run(self, instructions): \#Split List into ints and instructions first lst = instructions.split() numlst = \[int(i) for i in lst if i.isdigit()\] commands = \[i for i in lst if not i.isdigit()\] \#Check nonempty list if len(numlst) == 0: return 0 ans = numlst.pop() \#Execute commands on list of numbers for i in commands: if i == "+":...
Python Educational
4h
I'm stuck trying to authenticate a connection to an API(FLICKR). It will still say I'm missing things.
Please help. It post but it won't go through because of missing parameters. My console says something about basestrings. Thank you. This is my code: ​ import requests import random import datetime def gen_nonce(length=8): return ''.join([str(random.randint(0, 9)) for i in range(length)]) def gen_time(): return datetime.datetime.now().strftime("%H%M%S%f") params = { 'oauth_nonce': gen_nonce(), '&oauth_timestamp': gen_time(), '&oauth_consumer_key':'KEY', '&oauth_signature_method':'HMAC-SHA1',...
Python Educational
4h
Are the courses i’m using good?
I plan on studying computer science for University ( october 2020 ) and I lack experience in the field as my college doesn’t do the topic. ( the universities i’m planning on applying too don’t require computer science , some require mathematics which I do ) So i’m going to educate myself. I’ve started by trying to learn python, i’m using 2 online courses provided by Microsoft. “They are introduction to python - absolute beginner “and “Introduction to python - fundamentals “ Am i making a good choice...
Python Educational
5h
Please HELP! I am learning python on codecademy and am stuck on the 'Sal's Shipping' task. :/
I am completely new to coding. Long story short, I have much to learn to even pass the pre-requisites to be able to major in computer programming for Masters. I have been looking and trying different options for this code to work, but for some reason it just skips the ground shipping method when I print the statement. My code is below: ​ def cost_ground_shipping(weight): if weight <= 2: price_per_pound = 1.50 elif weight <= 6: price_per_pound = 3.00 elif weight <=10: price\_per\_pound =...
Python Educational
5h
I need some help getting the logic behind a simple code.
Any pro python coder willing to give me some mins over private messaging? I promise its a simple code, I just dont get how the computer interprets it, the logic. submitted by /u/IamVanWolf [link] [comments]
Python Educational
5h
Working with KML and spatial data
Let me start by explaining the problem I'm trying to solve: I have a set of zips in one KML, and voting precincts in another. These should fully overlap, with each voting precinct being within a single zip code. Multiple precincts may be in a zip code. What I'd like to do is add a field within the precinct KML that labels which zip it is within. I've never worked with spatial before though and I'm really at a loss for where to start. Are there any libraries that would work for my dilemma? Or is there...
Python Educational
5h
I don’t really know how much you guys can help but I need some
I’ve always wanted to learn how to program since I’ve always loved technology and I’ve been told I have a nack for computers and stuff. I feel like I could really enjoy learning how to code but I never knew where to start and was kinda intimidated to try. submitted by /u/zachlev23 [link] [comments]
Python Educational
5h
Is it better to store a value as a variable before being returned?
Quick example, when doing an API call and want to return the json data. Let the following code explain: import requests def api_json(): url = "https://api.somerandomsite.com" response = requests.get(url) return response.json() ​ OR is it more pythonic or just better general practice to do something like this: import requests def api_json(): url = "https://api.somerandomsite.com" response = requests.get(url) json_data = response.json() return json_data To add on top of all that, it's the same kind...
Python Educational
5h
Finding Sub-directories and merging strings ?
What is the best way to search if the current path has sub-directories; as well how can you merge the index value of two strings to a single string ? submitted by /u/SonicSkunk [link] [comments]
Python Educational
5h
Code Review?
Hey folks, I hope this is an alright spot to post. I don't have a specific "how to" question, but I am looking for somewhere to get a code review - just assessing style, blatant naming issues, etc. I've never used python professionally, so I'm not sure if I am following standard conventions. I wrote a bot for my University subreddit - it provides relevant / (hopefully) helpful course information like prerequisite info and course summaries. We have a big course question mega-thread, so I thought...
Python Educational
6h
How Do Experienced Programmers Program?
Hi there, I’ll start with a bit of background... I’m fifteen and have been tinkering with computers, drones etc for quite a few years now, but I’ve always been confused about programming technique... I consider myself pretty decent at structuring code and creating programmes, yet I never have properly learnt the syntax - I’m familiar with the syntax at a decent accuracy, but as I’m having more fun finding vulnerabilities in websites, etc I’m finding this part more integral. Would any experienced...
Python Educational
6h
having an issue with cookies created via python not working but one taken from the browser works?
when i POST my credentials to the site, i get the page that comes after logging in (welcome, logout, and other data that would only show if i was logged in, etc.). i'm using r = requests.session() so these cookies should be passed in subsequent requests. my cookie value is just a JESSIONID=XXXX. using the same session, subsequent API requests are failing. when i login again, i get a new JSESSIONID but it still fails. If i login via the browser and open developer tools and take that JSESSIONID, update...
Python Educational
6h
Total beginner here! Looking for some advice on automate the boring stuff with Python
Hey Folks, I have a pretty simple question. I am working my way through the book. If I am having trouble understanding a concept, do I: A: move on through the book, and come back later to try my hand again? B: not move on to the next subject until i am completely understand what had confused me? submitted by /u/porkslammy [link] [comments]
Python Educational
7h
Jupyter Notebook setting a password
I have recently run into an issue where I have a jupyter notebook server running with a password enabled, but when I enter the password it is stuck infinitely loading. I tried starting from scratch running the following: # generate the config file which I left untouched for now jupyter notebook --generate-config # generate a password and is saved in ~/.jupyter/jupyter_notebook_config.json jupyter notebook password jupyter notebook This opens up a tab in the browser and then when I enter the password...
Python Educational
7h

ImmutableMultiDict help
I'm using flask and trying to read parameters for a GET request. When I print out request.args (the ImmutableMultiDict), the full string value for the parameter is there. But when I try to assign the value to a variable, most of it gets cut off. The full string is about 1600 characters but as far as I know that shouldn't be a problem. Any advice? submitted by /u/ExperienceOrb [link] [comments]
Python Educational
7h
How would I go about writing a testcase, to test postgres statement_timeout in django?
See my question in stack-overflowhttps://stackoverflow.com/questions/57554951/how-to-test-postgres-statement-timeout-in-django submitted by /u/komuW [link] [comments]
Python Educational
7h
Trouble installing pandas package with pip3...
I have tried to solve this for three days with no luck. I have a workaround for my script, for now, but this issues seems like it should have a solution. Details: I am working on a headless Raspberry Pi 2B+ running Raspbian Stretch 9.9 over ssh. When I try to install pandas with pip3 I get the following errors: Collecting pandas Using cached https://files.pythonhosted.org/packages/0b/1f/8fca0e1b66a632b62cc1ae38e197befe48c5cee78f895edf4bf8d340454d/pandas-0.25.0.tar.gz Complete output from command...
Python Educational
7h
Checking value doesn't return correct value ?
for i in eight[2]: if re.match(r'[0-9]',i)==True: print("yes") else: print("no") The following is not working, since I know the index value for eight I want to check if it's between 0-9 print, yes or no. And it should result to True; considering eight=0. Although there has to be a better way since iterating over a single value seems wasteful ? submitted by /u/SonicSkunk [link] [comments]
Python Educational
7h
My webcrawler is 90% ready (need help with a small problem)
Lately I have been trying out the beautiful soup library and it works wonders! However, when I made a webcrawler to go through some product pages and bring the product info, the webcrawler works for about the 45ish first products - the website brings exactly 50 products per page. I wonder what's going on? Code: from urllib.request import urlopen from bs4 import BeautifulSoup as soup from openpyxl import Workbook #Using OpenPyxl book = Workbook() sheet = book.active num_page = input("How many pages...
Python Educational
7h
Jupyter starting problems
How do I check where Jupyter is installed since it's not in my system path therefore running jupyter notebook doesn't work in either the command prompt or in python ? submitted by /u/SonicSkunk [link] [comments]
Python Educational
8h
Trouble with plotsurface of data points.
The z axis from the medium article I'm following says to reshape a "fittedY" variable. I get two errors with the z-variable, either: "reshape won't work," or that "fittedY" is not a 2 dimensional array. The thing is that fittedY is based on the two exogenous x variables. I can do the scatter plot in 3d, but it would be nice to get the flat plotsurface the intersects submitted by /u/247headache [link] [comments]
Python Educational
8h
How did you figure out which field you wanted to work in?
I'm still learning Python and I haven't really came across in my mind where I knew exactly which field I wanted to get into with Python. I don't know if this is a good thing or a bad thing. How did you know what you wanted to do? Did you find out along the way learning Python? Or some other way? submitted by /u/Dotori_Dan [link] [comments]
Python Educational
8h
I just lost a job opportunity because of Restful APIs. I need some help
The guy on the phone call asked me if I had worked with APIs which I haven't even though I've built some. And later sent me an email basically saying I don't know enough for the job position. Is there some kind of material that goes a bit deeper in regards to creating APIs( Better if it's in Python) apart from the basic put,deleted,post,get stuff. I feel like I know how to build a rest API but I don't feel secure about it. I have the article that created it all but I guess I just need some do's...
Python Educational
8h
Best python/general coding books?
Anyone have suggestions for the best python or general coding books? submitted by /u/codewriterguy [link] [comments]
Python Educational
8h
Getting extensions (.html,.exe etc.)
I'm planning to do some file handler where it'll get extensions of documents and get them into to files named for them. If document is .exe it'll be in Executables, if it's .torrent it'll be in Torrents file. Question is, is there a way to get extension of a document? submitted by /u/vieuxyeux [link] [comments]
Python Educational
8h
How to check and remove or exclude doubles?
I'm looking to be pointed in the right direction rather than having someone write me code. I feel I'll learn more that way. I have a text file with 10,000+ urls. Some are doubles or triples or more. How can extract only unique urls? Each url is on its own line. Url1. Url2. Url3. ECT. I was thinking I'd open the file, read line by line and then save the unique urls to a new file. As the title would indicate, I'm unsure of how to make sure each line is unique. submitted by /u/baris_sonnenfeld...
Python Educational
9h
How correctly to set treeview row foreground and background colors in python tkinter
I'm having a problem setting the foreground and background colors for ttk.Treeview. I have tried using tag_configure but that doesn't seem to work either. If you think you can help I posted my sample code on Stack Overflow. https://stackoverflow.com/questions/57560784/how-correctly-to-set-treeview-row-foreground-and-background-colors submitted by /u/danielhuckson [link] [comments]
Python Educational
9h
Best resources for learning unit testing and pytest
Hi, I've been chatting to a friend recently who has encouraged me to get more familiar with testing. I would be looking to get a role as a junior with the hope of learning fast and moving to mid. I'd learn a lot about testing throughout that, but knowing some would definitely give me a bonus when interviewing. Does anyone have any recommended sources for learning about this stuff? I find I generally learn most with youtube videos, or online courses, but I'm open to other methods. ​ Thanks! submitted...
Python Educational
9h
How correctly to set treeview row foreground and background colors in python tkinter.
I'm having a problem setting the foreground and background colors for ttk.Treeview in python. I have tried using tag_configure but that doesn't seem to work either. Earlier I post this question on Stackoverflow with sample code, please view there if you think you could help. https://stackoverflow.com/questions/57560784/how-correctly-to-set-treeview-row-foreground-and-background-colors?noredirect=1#comment101587036_57560784 submitted by /u/danielhuckson [link] [comments]
Python Educational
9h
Getting 100% code coverage on a python function with multiple outcomes
So I'm trying to get 100% code coverage on my code. But when there are multiple outcomes how do I get the 100% code coverage? So I've got this piece of code def prepare_line(self, line=None):if line is None:return Falseif self.append_date_time:if self.append_ms:return f"{datetime.now().isoformat()} - {line}\n"else:return f"{datetime.now().isoformat(timespec='seconds')} - {line}\n"else:return f"{line}\n" And this for code / pytest def test_prepare_line():log_folder = "tests"lta = LogTransActions(log_folder=log_folder,...
Python Educational
9h
Help with moving up a directory
Hi, I'm working on making a script that will open a random file within a folder. If it finds a folder it will look inside that folder and choose an item at random. If it finds a folder it will look in that folder etc. If it gets a to an empty folder it goes back up a directory and chooses another random item etc. Unfortunately when the script currently encounters an empty folder it doesn't go up one folder it changes the cwd to D: keeps repeating the empty folder part of the loop printing D: every...
Python Educational
9h
Trying to create coding block where a for loop goes through a list based on user input. Code runs but the loop isn't working.
I am running a loop command to view a JSON file and make edits to it based on the value of an object. My code is as follows: 1_List =[a,b,c,d] 2_List =[x,y,z,e] nlist= input('Which list is this? (1/2)') blist= nlist+'_List' def jsonlist(self): for x in items: if x['label'] in self: x['visible']=False x['isEditable']=False x['isEditableOnLayer']=False jsonlist(blist) My previous code was simply for x in items: if x['label'] in blist: x['visible']=False x['isEditable']=False x['isEditableOnLayer']=False...
Python Educational
9h
ResolvePackageNotFound error in anaconda enviroment.yml even when package requirements are satisfied?
Am trying to follow the steps for this (Sketch Recognition). I have to run the command conda env create -f anaconda/environment.yml. I installed anaconda specifically for this command but I am getting this error (base) [duke@void paper-implementation]$ conda env create -f anaconda/environment.yml Collecting package metadata (repodata.json): done Solving environment: failed ResolvePackageNotFound: - freetype==2.8=h12048fb_1 - readline==7.0=hc1231fa_4 - pip==9.0.1=py35h33ce766_4 - libffi==3.2.1=h475c297_4...
Python Educational
10h
Spark Python - how to filter array of array of jsons?
I have a data structure that looks like this: [[{'field_amt': '200', 'field_nbr':'300'}, {'field_amt': '700', 'field_nbr':'450'}], [{'field_amt': '400', 'field_nbr':'470'}, {'field_amt': '800', 'field_nbr':'300'}], [{'field_amt': '200', 'field_nbr':'600'}, {'field_amt': '300', 'field_nbr':'900'}]] ​ how do I filter this based on the condition field_amt < 0? ​ I am working with Pyspark right now. submitted by /u/metalloidica [link] [comments]
Python Educational
10h

Tracking script output
So, I have a script that I put together, and it relies on other libraries. There's some output that's being printed to StdOut (I had a debugger on logging, so I know it's not coming from there). Is there any way to track where this line is being printed from?! submitted by /u/wpg4665 [link] [comments]
Python Educational
10h
what is the difference b/w these two types for loops?
classmates = {'Tony': ' cool but smells', 'Emma': ' sits behind me', 'Lucy': ' asks too many questions'} for k, v in classmates.items(): print(k + v) 2nd code: for iterating_var in sequence: for iterating_var in sequence: statements(s) statements(s) what is the difference b/w these two types for loops? submitted by /u/oddgamer1 [link] [comments]
Python Educational
10h
QUESTION: Tkinter buttons appear "grey" but still work. Any thoughts?
Hey everyone, when I go to run my tkinter file, the buttons i put in are grey but i can still push them just cant read whats on them. they are suppose to be active of course so at least this is good. I pasted code below, I left out my functions since they arent important in this instance. Any advice? Thanks!!! import os from tkinter import * import tkinter root = Tk() root.title("The Apps") root.attributes("-topmost", True) root.geometry("500x350") #-------------------------------------------------------button...
Python Educational
10h
Uninteresting question
What would be some common services or certifications that someone might want to consider when going to school to be a software developer, to supplement their learning... Mostly specific to python and C? Thank you very much ahead of time for responces! submitted by /u/n30c0n [link] [comments]
Python Educational
11h
Speeding up pandas apply function
I have an original dataframe and I'm applying quite extensive function on it. It take around 0.05s for the function to run once. The function is applied on every row. It take the row values of original dataframe and then creates a new row that is appended into a new dataframe. The function is quite long as it makes some calulcation based on data in each row. When the database is small it is not a problem However for bigger databases (100k rows) the calculation can take even up to an hour or more...
Python Educational
11h
Hitting a roadblock - need help
I have messed out with my favorite libraries and am now out of ideas for new projects Help submitted by /u/cherry214 [link] [comments]
Python Educational
11h
Decorator function is called twice
Hi, today I wrote a decorator function for unit testing which should patch a method in multiple unit tests. However, I have the problem that the function is called twice and also the print statement is executed twice. I don't understand whats happening, even with a debugger. I have posted the problem on stackoverflow but until now I didn't get any answers. submitted by /u/cherryp1 [link] [comments]
Python Educational
11h
How to keep original formatting when editing a worksheet in Excel?
I'm a beginner who is trying to use Python to edit Excel spreadsheets. I am able to write to the file just fine, but when I do, it erases the original formatting that the spreadsheet had. Is there a way to keep the original formatting? I have been searching for and answer but cannot quite find something that will work. I'm currently using xlwt to write, but I was curious if openpyxl would be better for this? submitted by /u/Messy748 [link] [comments]
Python Educational
11h
I need help attaching file content to e-mail
[Solved] Hello,so I need to attach whole file and send it by e-mail using Python. I followed tutorials and I managed to send single photo to e-mail. My next step is to send content of one file that is located on the Desktop. I visited discord and I got some help but I still get errors when I run it. I tried googling, but I end up finding nothing usable. Thanks in advance! [This]https://pastebin.com/eHbv9Mnh)is the code I'm using. (for email address and password i'm using real values= and this is...
Python Educational
11h
Fastest way to initialize a numpy memmap (memory map) with normal distribution floats?
A numpy memmap is initialized with zeros, but I need it to be initialized with floats from a normal distribution. This is assuming that the memmap array is too large to fit into memory. So I can't just initialize a live numpy variable version, and copy it to the memmap. The fastest way I came up with is to have a loop which initializes a numpy array which is he same size as one of the rows, and just fill each row one by one. Or, it could be a 2d array that's initialized and the loop iterates by the...
Python Educational
11h
Why and when should I use python classes?
Hi there, I’ve done alot of Python in the past years but there is still this one thing that I don’t understand...: Classes I’ve googled around but I can’t find a proper explanation that I understand. So my question is: - When should I use classes? - Why should I use classes? - Can’t I just use functions? Thanks in advance. Kind regards. submitted by /u/piedotpy [link] [comments]
Python Educational
11h
Coding For Kids In Python - Video Series
Hello All, Please check out this new video series on Coding For Kids in Python. This is intended for a young audience with a start to the basics of programming and then hoping to get into much detailed topics. If you find this useful, please do show support by sharing across your friends & families. Playlist here - Coding For Kids in Python submitted by /u/dailymcoffee [link] [comments]
Python Educational
12h
Creating multiple dictionaries procedurally
I am working on making a program that converts auto level data into plottable coordinates. My current issue is finding a way to cleanly organize the data so I can manipulate it. Originally I had each data type in lists but keeping it in order was messy. I think having the each point as a dictionary will help with this. My question is how can I create multiple dictionaries using loops? Each point has 5 values related to it and not all points will be treated the same which is why I can't have all the...
Python Educational
12h
Scrapy on raspberry pi help.
I installed scrapy with pip3 and had no errors. When I open a terminal and run. python3.7 import scrapy There are no errors. However when exit python and try to run scrapy startproject tutorial I get a ton of errors. Any help would be greatly appreciated. Thank you. submitted by /u/baris_sonnenfeld [link] [comments]
Python Educational
12h
PostgreSQL/Psycopb2 - Need to Check the Values of a Row to See if They Match Python Variables
How would I check the values in a row (let's say columnOne and columnTwo) to: First: Load the specific row where columnOne = myString, and throw an exception if it does not exist. Second: In that loaded row, make sure that the value of columnTwo matches up with another Python variable (i.e. mySecondString) All answers appreciated. submitted by /u/background-radiation [link] [comments]
Python Educational
12h
A phone call handler
Just a very simple question. Are there libraries/frameworks in python that I can use to handle phone calls? I mean to build programs that handle phone calls. And not necessarily internet phone calls. Thank you! submitted by /u/airstrokeX [link] [comments]
Python Educational
12h
Deep Learning Web App Not Working? (Pls help)
Hi! I’m trying to deploy an AI app that can tell someone whether or not an x-ray of a lung is infected with pneumonia or not. I have hosted the model with flask and have built the web app to send images, but when I upload an image and click the predict button, I’m receiving an error. I would be extremely grateful to anyone who can help me resolve this issue, I’m new to this stuff so any help would be appreciated. All the relevant code can be found here: https://imgur.com/a/dTGXaxL submitted by...
Python Educational
12h
Pandas, group date and Id colums together to compare to another dataframe and insert third column data
Hi all, I'm not sure where to ask this, but I have a dataframe with multiple columns of student data in it, I need match date and student number against another file that has dates and student numbers, where I find a match, insert some data into a third column in the first dataframe. So the first dataframe looks like this, 360,000 rows of data Total_data ADMI ORGID PERMNUMBER ATTEVENTDATE DAILY_STATUS ATTENTYPEID ABSCATID 0 SU021 PS18 0002 10/8/18 PRS FT NaN 1 SU021 PS18 0002 10/9/18 PRS FT NaN...
Python Educational
13h
Issue with lxml.etree parse() function
Hello everyone, I'm trying to re-create an XML file using the lxml module. As long as the format remained simple, this was easily done with the lxml.builder module. My problem started when I tried replicating a line from the original XML file that looked a little different: There I knew the lxml.builder module would be no help. I tried using the parse() function from lxml, but I got nowhere. I tried parsing the line as a file-like object with BytesIO: >>> from lxml import etree as ET >>>...
Python Educational
13h
what's the shift -tab equivalent of jupyter notebook for vs code
As subject titled, thanks. p/s : I tried ctrl space but that's what shift-tab does submitted by /u/snip3r77 [link] [comments]
Python Educational
13h

How do I get from knowing python exists to a complete monte carlo simulation?
I'm trying to do forecasting for the rest of the year and would like to add a skill to my toolbelt at the same time. What I'd like to do is build a program that will take variables - economic growth, marketing budget, training budget, material costs, etc and use it to create a monte carlo that I can use to forecast the current budget as well as "what if" scenarios with both an excel and tornado output What places can I go to find out what I need to learn and what places can I go to learn what I've...
Python Educational
13h
I AM NEW AND I NEED HELP
when should i start programming solo without any help watching youtube videos how to program and how long should i search for learning python to learn and what should i learn/do first any tips ? submitted by /u/bow2k [link] [comments]
Python Educational
14h

Δεν υπάρχουν σχόλια:

Δημοσίευση σχολίου