Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 11,318
» Latest member: OlayinkaSoftware
» Forum threads: 21,633
» Forum posts: 101,941

Full Statistics

Online Users
There are currently 192 online users.
» 0 Member(s) | 192 Guest(s)

Latest Threads
Import Error: jnpr.junos
Forum: News and Discussions
Last Post: otay
1 hour ago
» Replies: 8
» Views: 232
Problem with tkinter when...
Forum: GUI
Last Post: Jan_97
2 hours ago
» Replies: 0
» Views: 30
Softwares to learn data s...
Forum: Data Science
Last Post: jefsummers
2 hours ago
» Replies: 2
» Views: 53
Good curses information/t...
Forum: News and Discussions
Last Post: AlluminumFoil
3 hours ago
» Replies: 0
» Views: 57
Validate JSON file
Forum: General Coding Help
Last Post: buran
3 hours ago
» Replies: 10
» Views: 194
QTableWidget stylesheet e...
Forum: GUI
Last Post: Denni
4 hours ago
» Replies: 3
» Views: 72
wsgi server ports
Forum: Web Scraping & Web Development
Last Post: snippsat
5 hours ago
» Replies: 3
» Views: 113
Step in option is gryed o...
Forum: GUI
Last Post: jassi123
5 hours ago
» Replies: 0
» Views: 39
Python Tkinter treeview s...
Forum: GUI
Last Post: wei321
6 hours ago
» Replies: 0
» Views: 40
Django Security Vulnerabi...
Forum: News and Discussions
Last Post: buran
7 hours ago
» Replies: 0
» Views: 112

 
  Can't seem to figure out how to put all of the lists items from a loop into 1 list
Posted by: Cosmosso - Feb-21-2020, 01:33 PM - Forum: General Coding Help - Replies (4)

So I have this code:
Btw it uses BioPython

[python]from Bio import SeqIO
import collections as C
import requests as R
import itertools

prote..... More

Print this item

  input-ValueError: invalid literal for int()
Posted by: jacklee26 - Feb-21-2020, 01:01 PM - Forum: General Coding Help - Replies (2)

i have a question about this script
if i press empty it will occur ValueError: invalid literal for int() with base 10: ''
Do anyone know why or how..... More

Print this item

  Python crypto byte plaintext to hexint
Posted by: Mangaz90 - Feb-21-2020, 12:04 PM - Forum: General Coding Help - Replies (2)

"000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f"

This is a 32 byte plaintext from a file where each byte are encoded and represen..... More

Print this item

  Manually create a hex value
Posted by: Stas43 - Feb-21-2020, 12:00 PM - Forum: General Coding Help - Replies (4)

Help collect a string for correct conversion:

It works correctly:
[python]
a = '\xcf'
t = a.encode("latin-1").decode("cp1251")
print (t)
[/pyt..... More

Print this item

  cv2.imshow Python is not opening the window on top
Posted by: Petko - Feb-21-2020, 11:10 AM - Forum: General Coding Help - No Replies

I'm using python 3.8 and I'm creating a game, where a user is shown a picture and based on that picture he has stuff to do, the problem is, that I hav..... More

Print this item

  Make good dataset from youtube video
Posted by: constantin01 - Feb-21-2020, 09:50 AM - Forum: Data Science - Replies (1)

Hi!

I would like to collect about 200-300 videos from youtube where numbers are pronounced (like 1500, 212431, 32121 etc).

but I want to have c..... More

Print this item

  May i get help see how am i going,
Posted by: AhmadMWaddah - Feb-21-2020, 09:18 AM - Forum: Data Science - Replies (8)

Hi All,
OS: Ubuntu 18.04
Python 3.7
Editors PyCharm and Jupyter Lab
I am Talking Course For Machine Learning.
i have some code i made its some f..... More

Print this item

  Help Needed | Read Outlook email Recursively & download attachment
Posted by: Vinci141 - Feb-21-2020, 04:45 AM - Forum: General Coding Help - No Replies

As the title, so is my goal. But i am stuck as this code is going into infinite loop with downloading attachments of 1 email only. I'm still trying to..... More

Print this item

  Get the codemap combinations but got tuple index out of range
Posted by: haganmao - Feb-21-2020, 02:10 AM - Forum: General Coding Help - Replies (1)

my main purpose is to get the 4 combinations of codemap, and I got an error which is tuple index out of range, the code and error as below:
[size=xx-..... More

Print this item

  OAuth1 authentication using Requests-OAuthlib failing
Posted by: dataplumber - Feb-20-2020, 11:09 PM - Forum: General Coding Help - No Replies

Hello, I am trying to authenticate with OAuth1 using Requests-OAuthlib and it is failing. I am taking help from below website :

https://requests-o..... More

Print this item

  how to pass tablewidget object like argument for function
Posted by: atlass218 - Feb-20-2020, 08:53 PM - Forum: GUI - Replies (1)

hi;
I have many object of QTabelwidget (tablewidget1,tablewidgte2,tablewidget3, ...)
I created a function for each tablewidget, therefore I have a num..... More

Print this item

  Import Error: jnpr.junos
Posted by: otay - Feb-20-2020, 06:51 PM - Forum: News and Discussions - Replies (8)

I am very new at the python. I am using window 10 version python 3.7.4. I am trying to connect Juniper switch using pyhon script. I am trying use the ..... More

Print this item

  the uncompleteness of the text string
Posted by: Cava - Feb-20-2020, 06:40 PM - Forum: General Coding Help - Replies (2)

Confused
Hello everyone.
I downloaded Python a few hours ago and, to start programming, I also downloaded PyCharm Community Edition 2019. Once ..... More

Print this item

  Get json data
Posted by: JohnnyCoffee - Feb-20-2020, 06:14 PM - Forum: General Coding Help - No Replies

I have a working jquery file that sends data in json format to a wsgi file as follows:

[python]
$(document).ready(function() {

$('.btn').te..... More

Print this item

  Asselin mode method in Python
Posted by: SBobi - Feb-20-2020, 05:24 PM - Forum: Data Science - No Replies

I was just asking for the mode estimator based on the algorithm described in Asselin de Beauville (1978) in Python. It exists in R package "modeest"...... More

Print this item

  subprocess.Popen() and encodings
Posted by: voltron - Feb-20-2020, 04:57 PM - Forum: General Coding Help - No Replies

I need to call 3rd party command-line tool from Python and communicate with it: pass commands and read their results. Tool started with the [b]subproc..... More

Print this item

  tornado psycopg2
Posted by: Nikosznb - Feb-20-2020, 03:51 PM - Forum: General Coding Help - Replies (1)

Alright when I run python3 main.py I get this :
2020-02-20 12:50:29,223 Database.py:22 _error_: _error_ connecting to database
2020-02-20 12:50:29,2..... More

Print this item

  solve linear system of r equations
Posted by: amalalaoui - Feb-20-2020, 03:33 PM - Forum: Homework - No Replies

Hello I need your help plealse
I want to solve this linear systems of r equations defined by this formula in order to find the values of ` \beta_..... More

Print this item

  PyMySQL return a single dictionary
Posted by: Valon1981 - Feb-20-2020, 03:22 PM - Forum: General Coding Help - Replies (2)

Hello,

I'm using pymysql to get all the contents of a table with two columns - user_id and user_name (user_id is the primary key).

is there a w..... More

Print this item

  Field with dynamic id not found at playback
Posted by: pythonscripting - Feb-20-2020, 02:35 PM - Forum: General Coding Help - No Replies

I record a short sequence with Selenium IDE on a SAP gui:

[python]1 self.driver.find_element(By.ID, "M0:U:::5:53").click()
2 self.driver.switch_t..... More

Print this item

  call a function with parametrs from another class
Posted by: atlass218 - Feb-20-2020, 02:16 PM - Forum: GUI - Replies (2)

hi;
instead of creating a function for each tablewidget to initialize it, I would like to create a function in a class then I call this function in an..... More

Print this item

  Get value not none
Posted by: Clives - Feb-20-2020, 01:04 PM - Forum: Web Scraping & Web Development - Replies (4)

Greetings,

When I run the code I get none, not the drop-down value ie: DEV, TEMP or PROD.
I am trying to exclude the none and get the value of sou..... More

Print this item

  coding neural network
Posted by: programmer19890620 - Feb-20-2020, 12:04 PM - Forum: Data Science - Replies (3)

Hi everyone,

I'm doing an online coure in Coursera (Neural Networks and Deep Learning), but I'm a little confused of the pre-writed code lines.In t..... More

Print this item

  Python for MS Access DB
Posted by: Kundan - Feb-20-2020, 08:27 AM - Forum: General Coding Help - No Replies

>How can we use python to copy tables from one MS Access DB to another?

>How can we Compact a MS Access DB using python code?

Print this item

  Alternative solution to ADODB.RecordSet
Posted by: haleem02 - Feb-20-2020, 03:11 AM - Forum: General Coding Help - No Replies

Hi All
Python version:
Python 3.6.1 |Anaconda 4.4.0 (64-bit)| (default, May 11 2017, 13:25:24) [MSC v.1900 64 bit (AMD64)]
OS: Win 10
db: Oracle 1..... More

Print this item

  twitter is being a PITA
Posted by: Skaperen - Feb-20-2020, 01:16 AM - Forum: Bar - No Replies

twitter is being a PITA.

i tried to create a new twitter account because the name i wanted to use seemed to exist. it turns out the name was 2 cha..... More

Print this item

  quad floating point
Posted by: Skaperen - Feb-20-2020, 12:46 AM - Forum: News and Discussions - Replies (6)

i have a coming need to do floating point arithmetic in quad precision. i'm assuming i can use the decimal.Decimal type to do it. speed is not an iss..... More

Print this item

  Read text file, process data and print specific output
Posted by: Happythankyoumoreplease - Feb-20-2020, 12:02 AM - Forum: Homework - Replies (3)

Please someone HELP!!!!
I have the below homework and no code I've tried worked so far!!!!!
________________________________________________________..... More

Print this item

  Homepage Article Grid
Posted by: JedBoyle - Feb-19-2020, 10:55 PM - Forum: General Coding Help - Replies (1)

Hi

I have been tasked to code a homepage in a three-column grid format.

Articles that appear in the homepage grid can be given a layout value wh..... More

Print this item

  updating a dictionary
Posted by: evansmb - Feb-19-2020, 09:43 PM - Forum: General Coding Help - Replies (2)

I'm new to python and am having a problem updating a dictionary. I'm trying to enter several key/value pairs in a dictionary, however it appears each ..... More

Print this item

  alternative to nested loops for large data set
Posted by: JonnyEnglish - Feb-19-2020, 09:42 PM - Forum: General Coding Help - Replies (2)

Hi, I've created some terribly slow code and I'd like to learn how I can improve it.

I want to turn the ownedcards dictionary of card id's and qua..... More

Print this item

  Calculating distances between adjacent points
Posted by: chascp - Feb-19-2020, 08:03 PM - Forum: Data Science - Replies (1)

I have a code which will calculate the distances between all atoms in a cartesian coordinate system. However, I only want it to calculate it between t..... More

Print this item

  Help with learning path
Posted by: xmendizabal - Feb-19-2020, 07:15 PM - Forum: News and Discussions - Replies (3)

Hello, community! I am pretty new to python programming, though I do have knowledge of other languages (Pascal and Matlab). I need to learn object-ori..... More

Print this item

  How to include pandas with pyinstaller
Posted by: Rickus - Feb-19-2020, 06:18 PM - Forum: General Coding Help - Replies (1)

Hello,

I am trying to build an exe with pyinstaller I a getting aModuleNotFoundError no module named 'pandas'

I have tried the following so far:..... More

Print this item

  counting items in a list of number combinations
Posted by: Dixon - Feb-19-2020, 06:08 PM - Forum: General Coding Help - Replies (2)

import itertools
numbers = [1,2,3,4,5,6,7,8,9,10]
result = itertools.permutations(numbers,2)
for item in result:
    print (item)
..... More

Print this item