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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 19,979
» Latest member: silversimon2
» Forum threads: 38,732
» Forum posts: 175,563

Full Statistics

Online Users
There are currently 52 online users.
» 0 Member(s) | 49 Guest(s)
Google, Bing, AOL

Latest Threads
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
Yesterday, 07:43 AM
» Replies: 2
» Views: 359
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Yesterday, 12:21 AM
» Replies: 2
» Views: 992
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Sep-29-2025, 05:45 PM
» Replies: 6
» Views: 1,044
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Sep-29-2025, 12:59 PM
» Replies: 8
» Views: 726
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Sep-28-2025, 06:39 PM
» Replies: 7
» Views: 3,036
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,475
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 9,053
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 1,501
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:17 PM
» Replies: 1
» Views: 1,392
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:14 PM
» Replies: 6
» Views: 5,721

 
  print the result of iperf log
Posted by: jacklee26 - Feb-22-2020, 04:36 AM - Forum: General Coding Help - Replies (3)

do anyone know how to print the result from the iperf log, test111.txt.
Do anyone have any idea on how to print the iperf log.
i wish to print like..... More

Print this item

  ModuleNotFoundError: No module named ‘CommandNotFound’
Posted by: jiapei100 - Feb-22-2020, 02:53 AM - Forum: General Coding Help - Replies (5)

Whenever I try

Quote:sudo apt update

I got:

[quote]Traceback (most recent call last):
File "/usr/lib/cnf-update-db", line 8, in <..... More

Print this item

  Problem with List Reference
Posted by: CH_NoLuck - Feb-22-2020, 01:29 AM - Forum: General Coding Help - Replies (1)

Hello,

I am currently working on a school project where we should solve an 8-Puzzle (3x3 grid with 8 tiles. You can always move one tile to the emp..... More

Print this item

  Using shift to compute the percent change in a time series
Posted by: new_to_python - Feb-21-2020, 11:23 PM - Forum: Data Science - Replies (6)

Hi, somebody mentioned that one could use ts/ts.shift(1)-1 to calculate the percent changes in a time series. I tried to understand this by hand calcu..... More

Print this item

  Outputing LogisticRegression Coefficients (sklearn)
Posted by: RawlinsCross - Feb-21-2020, 08:36 PM - Forum: Data Science - Replies (6)

Good day,

I'm using the sklearn LogisticRegression class for some data analysis and am wondering how to output the coefficients for the predictors..... More

Print this item

  A Simple PyQt5 Class
Posted by: zoro - Feb-21-2020, 08:03 PM - Forum: GUI - Replies (15)

Hello,

I have simple class using PyQt5 library, it just a very beginner signal/slot example, where when a button is clicked there is label that shoul..... More

Print this item

  Approach to creating Audit table
Posted by: pynewbie - Feb-21-2020, 07:09 PM - Forum: General Coding Help - Replies (4)

I am very very new to Python and the problem i have might be very easy for python pro's.

I am working on an assignment in which there is a part whi..... More

Print this item

  Jr & Sr Python Dev's Needed
Posted by: Nexed23 - Feb-21-2020, 04:12 PM - Forum: Jobs - Replies (1)

Don’t just dream about What’s Next – build it!

Nexient specializes in bringing a “Product Mindset” to our work, using small, nimble teams, Agile th..... More

Print this item

  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 (5)

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 (9)

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 - Replies (1)

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 (2)

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 (3)

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 (4)

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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Integer Factorization Too... Yesterday, 07:43 fosuwxb buran Code sharing
  My goal to be hired worki... Yesterday, 00:21 GnomeSweetGnome GnomeSweetGnome News and Disc...
  Unable to resolve FileNot... 09-29, 17:45 llarkin6 noisefloor General Codin...
  Comparing 2 100GB Drives/... 09-29, 12:59 tester_V snippsat General Codin...
  Select Python comment (#)... 09-28, 18:39 SpongeB0B tester_V General Codin...
  what does % stand for in ... 09-27, 18:49 arbiel Gribouillis General Codin...
  My First App 09-27, 10:53 BCopeland64 carlbidwell Code Review
  [Tkinter] how to export a... 09-26, 17:13 RonR noisefloor GUI
  Is the interpreter that c... 09-26, 13:17 helendamdam noisefloor General Codin...
  pdf file processing: how ... 09-26, 13:14 Pavel_47 noisefloor General Codin...
  Regarding pdf for PCEP an... 09-26, 09:50 P212 Biks News and Disc...
Most views
  The best Prog... 577414
  Tutorial Requ... 500848
  Web Scraping ... 441059
  Newbie with P... 385115
  New Users Int... 369648
Most reputation
buran 581
snippsat 508
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12091
buran 8178
snippsat 7370
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
silversimon2 Yesterday
alissapena8 Yesterday
hoki1881 Yesterday
stephaniehendrix Yesterday
Schirag Yesterday

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020