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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 18,576
» Latest member: Helenn
» Forum threads: 37,361
» Forum posts: 169,764

Full Statistics

Online Users
There are currently 619 online users.
» 1 Member(s) | 612 Guest(s)
Bing, Applebot, Baidu, Google, Yandex, buran

Latest Threads
Need to get around SSL: C...
Forum: General Coding Help
Last Post: sawtooth500
5 hours ago
» Replies: 1
» Views: 52
Seeking advice on dask di...
Forum: General Coding Help
Last Post: sawtooth500
6 hours ago
» Replies: 4
» Views: 168
Hide CMD call window
Forum: General Coding Help
Last Post: DeaD_EyE
8 hours ago
» Replies: 3
» Views: 77
How to add new function o...
Forum: General Coding Help
Last Post: Helenn
9 hours ago
» Replies: 0
» Views: 52
Fixture not returning web...
Forum: General Coding Help
Last Post: Nik1811
Yesterday, 04:39 PM
» Replies: 1
» Views: 123
Dynamically plotting grap...
Forum: Data Science
Last Post: CAD79
Yesterday, 02:34 PM
» Replies: 4
» Views: 97
Rich output to PDF
Forum: General Coding Help
Last Post: HEbO61
Yesterday, 02:26 PM
» Replies: 0
» Views: 61
Making the tab key work l...
Forum: General Coding Help
Last Post: jackg
Yesterday, 02:25 PM
» Replies: 2
» Views: 74
Just beginning
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 11:49 AM
» Replies: 2
» Views: 124
Free hosting
Forum: News and Discussions
Last Post: Sowmya
Yesterday, 09:10 AM
» Replies: 1
» Views: 73

 
  How to keep a loop containing a web import working in python executable?
Posted by: coder1384 - Feb-22-2020, 04:27 PM - Forum: General Coding Help - Replies (3)

Hello everyone,

I've run into an issue with my program not running properly in an executable file. Specifically, I'm using Python 3.8 for writing ..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Need to get around SSL: C... 5 hours ago sawtooth500 sawtooth500 General Codin...
  Seeking advice on dask di... 6 hours ago sawtooth500 sawtooth500 General Codin...
  Hide CMD call window 8 hours ago tester_V DeaD_EyE General Codin...
  How to add new function o... 9 hours ago Helenn Helenn General Codin...
  Fixture not returning web... Yesterday, 16:39 Nik1811 Nik1811 General Codin...
  Dynamically plotting grap... Yesterday, 14:34 CAD79 CAD79 Data Science
  Rich output to PDF Yesterday, 14:26 HEbO61 HEbO61 General Codin...
  Making the tab key work l... Yesterday, 14:25 jackg jackg General Codin...
  Just beginning Yesterday, 11:49 dalekeel Pedroski55 General Codin...
  Free hosting Yesterday, 09:10 Sowmya Sowmya News and Disc...
  [Tkinter] integrating plo... Yesterday, 09:09 zapad SandraYokum GUI
Most views
  The best Prog... 393152
  Web Scraping ... 285480
  Tutorial Requ... 280488
  Newbie with P... 240760
  New Users Int... 228223
Most reputation
buran 582
snippsat 499
Larz60+ 452
Gribouillis 330
deanhystad 312
Most replies
  New Users Int... 431
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 11865
buran 8086
snippsat 7079
deanhystad 6185
metulburr 5150
Top referrers
Googlepro 20
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Helenn Yesterday
Fobertsmene Yesterday
andrekatayama Yesterday
HEbO61 Yesterday
jackg Yesterday

User Panel Messages

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