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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 20,283
» Latest member: alexferrina
» Forum threads: 38,793
» Forum posts: 175,876

Full Statistics

Online Users
There are currently 43 online users.
» 2 Member(s) | 38 Guest(s)
Bing, Mojeek, Pedroski55, lovedeep

Latest Threads
LhanePulse
Forum: General Coding Help
Last Post: Gichardaxora
33 minutes ago
» Replies: 0
» Views: 5
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: snippsat
10 hours ago
» Replies: 5
» Views: 109
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 47
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Nov-21-2025, 06:15 AM
» Replies: 4
» Views: 1,482
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 139
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 61
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:59 AM
» Replies: 11
» Views: 6,065
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:46 AM
» Replies: 2
» Views: 4,298
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Nov-19-2025, 08:34 PM
» Replies: 3
» Views: 364
link variable to exc bloc...
Forum: General Coding Help
Last Post: Gribouillis
Nov-19-2025, 05:03 AM
» Replies: 1
» Views: 204

 
  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

  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

  tkinter prob
Posted by: DPaul - Feb-19-2020, 04:34 PM - Forum: GUI - Replies (1)

Hi,

I am using tkinter and may be doing something not allowed.

Here is the pseudocode:
I have a listbox with items in it.
When i click on an item it..... More

Print this item

  list loop and drop
Posted by: 3Pinter - Feb-19-2020, 04:28 PM - Forum: General Coding Help - Replies (1)

Hi,

I have a list and I loop it:
grab first item and do something with each item in the list
after that is done: no more need for first item.

..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  LhanePulse 33 minutes ago Gichardaxora Gichardaxora General Codin...
  data fetching for indian ... 10 hours ago drakhsin snippsat Web Scraping ...
  Brazil Python Help to aut... 11-21, 20:30 MileHigh303 MileHigh303 Jobs
  My goal to be hired worki... 11-21, 06:15 GnomeSweetGnome mamta25 News and Disc...
  [SOLVED] [BeautifulSoup] ... 11-20, 14:10 Winfried Winfried Web Scraping ...
  How to Implement Real-Tim... 11-20, 06:48 ankitsharma32 ankitsharma32 Web Scraping ...
  How to put my game loop i... 11-20, 04:59 temlotresid6 SledgeNE Game Developm...
  Help with running PvZ Fus... 11-20, 04:46 Barber532 SledgeNE Game Developm...
  Graph Interpolate Difficu... 11-19, 20:34 Tuurbo46 deanhystad General Codin...
  link variable to exc bloc... 11-19, 05:03 Astrobert Gribouillis General Codin...
  PyQt6 QWidgets and system... 11-18, 18:47 stevecoh1 Axel_Erfurt GUI
Most views
  The best Prog... 579254
  Tutorial Requ... 512098
  Web Scraping ... 442185
  Newbie with P... 386294
  New Users Int... 379584
Most reputation
buran 581
snippsat 511
Larz60+ 452
Gribouillis 362
deanhystad 328
Most replies
  New Users Int... 452
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12109
buran 8196
snippsat 7390
deanhystad 6915
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
alexferrina Today
MattCarters Yesterday
drakhsin Yesterday
MileHigh303 11-21
ndx101 11-21

User Panel Messages

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