back soft

مطالب مرتبط با «using python in r» در back soft | نویسنده: استخدام کار

How to hash a user input in Python using bcrpyt?

امروزدخترم رابردم دندانپزشکی .یکی ازهمکاران قدیمی به اسم خانم شریفی رادیدم خوشحال شدم ،راستش برای من فرقی نمی کنه که خاطره خوب ازهمکارام داشته باشم یانه وقتی بعدازمدتهااونهارامی بینم خوشحال میشم،بعدرف...

ادامه مطلب

Trying to download zip file using python, selenium. Script completes but zip file doesn't show up in specified directory

امروزدخترم رابردم دندانپزشکی .یکی ازهمکاران قدیمی به اسم خانم شریفی رادیدم خوشحال شدم ،راستش برای من فرقی نمی کنه که خاطره خوب ازهمکارام داشته باشم یانه وقتی بعدازمدتهااونهارامی بینم خوشحال میشم،بعدرف...

ادامه مطلب

Should Python applications be distributed using Wheel, as a Best Practice?

امروزدخترم رابردم دندانپزشکی .یکی ازهمکاران قدیمی به اسم خانم شریفی رادیدم خوشحال شدم ،راستش برای من فرقی نمی کنه که خاطره خوب ازهمکارام داشته باشم یانه وقتی بعدازمدتهااونهارامی بینم خوشحال میشم،بعدرف...

ادامه مطلب

How to click option in dropdown menu which does not have "select" tag using Selenium Python?

امروزدخترم رابردم دندانپزشکی .یکی ازهمکاران قدیمی به اسم خانم شریفی رادیدم خوشحال شدم ،راستش برای من فرقی نمی کنه که خاطره خوب ازهمکارام داشته باشم یانه وقتی بعدازمدتهااونهارامی بینم خوشحال میشم،بعدرف...

ادامه مطلب

Find biggest number in a list using Python

امروزدخترم رابردم دندانپزشکی .یکی ازهمکاران قدیمی به اسم خانم شریفی رادیدم خوشحال شدم ،راستش برای من فرقی نمی کنه که خاطره خوب ازهمکارام داشته باشم یانه وقتی بعدازمدتهااونهارامی بینم خوشحال میشم،بعدرف...

ادامه مطلب

python printing backslash without using it

امروزدخترم رابردم دندانپزشکی .یکی ازهمکاران قدیمی به اسم خانم شریفی رادیدم خوشحال شدم ،راستش برای من فرقی نمی کنه که خاطره خوب ازهمکارام داشته باشم یانه وقتی بعدازمدتهااونهارامی بینم خوشحال میشم،بعدرف...

ادامه مطلب

error: TypeError: xi should be a dictionary, list or tuple using python 2.7

امروزدخترم رابردم دندانپزشکی .یکی ازهمکاران قدیمی به اسم خانم شریفی رادیدم خوشحال شدم ،راستش برای من فرقی نمی کنه که خاطره خوب ازهمکارام داشته باشم یانه وقتی بعدازمدتهااونهارامی بینم خوشحال میشم،بعدرف...

ادامه مطلب

Writing to serial device using Tkinter entry widget in Python 3

امروزدخترم رابردم دندانپزشکی .یکی ازهمکاران قدیمی به اسم خانم شریفی رادیدم خوشحال شدم ،راستش برای من فرقی نمی کنه که خاطره خوب ازهمکارام داشته باشم یانه وقتی بعدازمدتهااونهارامی بینم خوشحال میشم،بعدرف...

ادامه مطلب

Printing xml DOM to a different directory through argparse using Python

امروزدخترم رابردم دندانپزشکی .یکی ازهمکاران قدیمی به اسم خانم شریفی رادیدم خوشحال شدم ،راستش برای من فرقی نمی کنه که خاطره خوب ازهمکارام داشته باشم یانه وقتی بعدازمدتهااونهارامی بینم خوشحال میشم،بعدرف...

ادامه مطلب

Beware of using numpy in python: A serious bug

امروزدخترم رابردم دندانپزشکی .یکی ازهمکاران قدیمی به اسم خانم شریفی رادیدم خوشحال شدم ،راستش برای من فرقی نمی کنه که خاطره خوب ازهمکارام داشته باشم یانه وقتی بعدازمدتهااونهارامی بینم خوشحال میشم،بعدرف...

ادامه مطلب

How do I display real-time graphs from fetching data from excel file and plotting the data after 5 sec in graph using python

امروزدخترم رابردم دندانپزشکی .یکی ازهمکاران قدیمی به اسم خانم شریفی رادیدم خوشحال شدم ،راستش برای من فرقی نمی کنه که خاطره خوب ازهمکارام داشته باشم یانه وقتی بعدازمدتهااونهارامی بینم خوشحال میشم،بعدرف...

ادامه مطلب

Debugger doesn't stop at break points in PyCharm CE - using python 3.6.2 in mac

امروزدخترم رابردم دندانپزشکی .یکی ازهمکاران قدیمی به اسم خانم شریفی رادیدم خوشحال شدم ،راستش برای من فرقی نمی کنه که خاطره خوب ازهمکارام داشته باشم یانه وقتی بعدازمدتهااونهارامی بینم خوشحال میشم،بعدرف...

ادامه مطلب

Auto increment a table column using python

Vote count:
 0In Hive I have a table called test. In this table I want to have 5 columns.ID, start_time, end_time, min_value, max_value. Now using Pyspark I want to populate this table.I am doing like below in my python file:start_time='4...

ادامه مطلب

Detecting Red and Blue Squares (beanbags) using Python and CV2

Vote count:
 0I am new to CV2 and I am looking for some high level guidance for an application. I am working on a program that can detect red and blue beanbags that are in the frame of the camera. I played around with the example code off...

ادامه مطلب

How to mock a python library using patch in python regardless where it is used?

Vote count:
 0In the following question the function that uses the ftplib is defined in the same file, which makes it trivial to patch ('ftplib.FTP')Mocking ftplib.FTP for unit testing Python codeMy question is: How should I proceed if, i...

ادامه مطلب

Need to convert SQL output into Line Protocol using python

Vote count:
 0/*I have to convert below set of string in a file to Line Protocol."Here is the Output(Example):name : Memory USAGE alert id : 13 state : alertingname : CPU USAGE alert id : 12 state : alertingname : DISK USAGE alert id : 11 state : alertingExpected format: LINE PROTOCOLalerting,name=MemoryUSAGEalert id=13 alerting,name=CPUUSAGEalert id=12 al...

ادامه مطلب

How to authenticate users in Python / Flask using ADFS?

Vote count: 0 I am searching a way to authenticate users from an Active Directory Server within my Python / Flask Application. Also needed is a verification step where the client certificates are checked. After the step the Python application should know the groups of the current user so that different access levels can be defined. In the last weeks I read about OAuth2, heard about SAML, ADFS and Shibboleth. Flask Oauthlib appears to provide a good solution for OAuth2 but it is no perfect match for the use case. (+ not really simple and kind of broken) Therefore: Has anybody tried to integrate ADFS into Flask? Any recommondations on how to this? I thought about using python-saml - can I make...

ادامه مطلب

Using Python in NetBeans 8.1

Vote count: 0 I'm trying to add Python functionality to NetBeans 8.1. I downloaded Python from the Python website here. (I'm using Windows 10, by the way.) I also downloaded the NetBeans plugins "Python" and "Jython Distribution" (required by the former). Now I have two questions: 1. When I create a new Python project, I have these options: Based on the description for the "Setuptools" choice, I'm guessing that I shouldn't use that one since it's not for Windows. So am I correct in choosing "Python Project - Ant"? 2. The P...

ادامه مطلب

Identify and sort multiple circles on 2d plane using python

Vote count: 0 I have multiple points forming many circles in a 2d plane and need to identify and sort them for further calculation. I have the [x, y] co-ordinates of each point and a number representing each point. All point numbers in one circle should be sorted in a list. and then point numbers of next circle should follow. Say each circle is formed by 6 points. They should be first and then next 6 points of the adjacent circle should follow. I identified that Convex Hull is a way of identifying closed polygons. This is similar but I want it to identify multiple convex hulls in the same plane. I think this should be possible in python. Can anyone help on this please? asked 7 secs agouser66...

ادامه مطلب

How run a Python web crawler (using Scrapy) in a Node web application?

Vote count: 0 It doesn't look like I have wired my web crawler (built using Python's Scrapy) properly with my Node application. I have installed python-shell module and followed the basic instructions, but the response I get back on the client side is null. The web crawler will work if I run the script in Python's shell, but when I use python-shell to run the script in my Node application, it retus null. It passes the right http link all the way through the express route and into the crawler. I'm unclear what I'm missing/not syncing properly. The URL I'm trying to scrape is http://www.c.com/2016/07/17/politics/john-kerry-interview-turkey-nice/index.html. router.post('/article', function(req,...

ادامه مطلب