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,403
» Latest member: GeraldNoive
» Forum threads: 38,827
» Forum posts: 176,038

Full Statistics

Online Users
There are currently 30 online users.
» 0 Member(s) | 26 Guest(s)
Google, Mojeek, AOL

Latest Threads
dtmfgpo,guy678
Forum: General Coding Help
Last Post: GeraldNoive
1 hour ago
» Replies: 0
» Views: 17
Le Coeur A Rire Et A Pleu...
Forum: General Coding Help
Last Post: ellacahvsz4706
2 hours ago
» Replies: 0
» Views: 22
Check if running from she...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 11:52 AM
» Replies: 2
» Views: 161
Sorry Help
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 11:47 AM
» Replies: 2
» Views: 130
IP address for users
Forum: Networking
Last Post: DeaD_EyE
Dec-31-2025, 08:02 PM
» Replies: 6
» Views: 7,182
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
Dec-31-2025, 07:58 AM
» Replies: 28
» Views: 15,668
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
Dec-30-2025, 12:11 AM
» Replies: 1
» Views: 214
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Dec-29-2025, 09:12 AM
» Replies: 1
» Views: 4,630
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Dec-29-2025, 08:37 AM
» Replies: 4
» Views: 293
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
Dec-29-2025, 07:27 AM
» Replies: 7
» Views: 3,646

 
Lightbulb Cloud server running(Can be edited directly online)
Posted by: CNenfan - Jan-29-2021, 03:03 AM - Forum: GUI - Replies (1)

[error]TclError Traceback (most recent call last)
<ipython-input-2-59f0c474d547> in <module>()
3 import tkint..... More

Print this item

  about write file wrong (Edit directly online)
Posted by: CNenfan - Jan-29-2021, 02:21 AM - Forum: Homework - Replies (4)

https://colab.research.google.com/drive/...sp=sharing
Edit directly online
last ten lin:


File "<ipython-input-9..... More

Print this item

  Tkinter and OpenCV
Posted by: VHS - Jan-28-2021, 10:37 PM - Forum: General Coding Help - Replies (4)

Hi everyone !

I'm a beginner in python. I would like to know how to use a facial recognition program that I made in a graphical interface with Tkin..... More

Print this item

  transform result to DataFrame
Posted by: Irv1n - Jan-28-2021, 06:47 PM - Forum: Data Science - Replies (1)

Hi to all! Can anyone help me with this:
My code:
[python] ver_val = OrderedDict()
ver_val[0.1] = [0.1, -0.1]
ver_val[1] = [1, -1]
ver_val[10] = ..... More

Print this item

  Python exercises
Posted by: InputOutput007 - Jan-28-2021, 06:19 PM - Forum: News and Discussions - Replies (3)

Hi,

What kind of webpage* would you recommend me for exercises in Python?
I am not asking about the tutorials itselves, but about a solid webpage whi..... More

Print this item

  I have problem with ACO, I want to always start in the first city and end in the last
Posted by: pKKy - Jan-28-2021, 05:58 PM - Forum: General Coding Help - No Replies

I want to always start with city number: 0(I did it in pos=0) and always end with city number: 9(last city. I have problem with that).
[python]def ac..... More

Print this item

  Printing x values from an csv file
Posted by: hobbyist - Jan-28-2021, 05:03 PM - Forum: General Coding Help - Replies (7)

I am using a .csv file with measurements. On the first column of the .csv file there are timestamps, such as this:
01/24/2021 12:45 PM
(after 100 meas..... More

Print this item

  .maketrans() - a piece of code which needs some explanation
Posted by: InputOutput007 - Jan-28-2021, 04:31 PM - Forum: General Coding Help - Replies (5)

Hi,

I want to understand the following piece of code.
I hope you can help me with it.

[python]
import string as str

punc = str.punctuation
string =..... More

Print this item

  WSAStartup error with requests
Posted by: yllawwally - Jan-28-2021, 03:51 PM - Forum: Networking - Replies (1)

I installed the requests library yesterday. However whenever I import it, I get a WSAStartup failed: error code 10107. I am running python Python 3.8..... More

Print this item

  What are the key changes in dotenv-linter v3.0.0 release?
Posted by: elizabethlvova - Jan-28-2021, 02:35 PM - Forum: News and Discussions - No Replies

We have developed dotenv-linter — a useful tool for checking .env files. It helps to find problems in..... More

Print this item

  Open-sourcing Datanymizer: in-flight template-driven data anonymization
Posted by: elizabethlvova - Jan-28-2021, 02:23 PM - Forum: News and Discussions - No Replies

We also wanted a tool that was flexible about how the anonymization itself takes place, ideally allowing the..... More

Print this item

  Struggling on Tuples
Posted by: Mystix - Jan-28-2021, 11:42 AM - Forum: Homework - Replies (3)

Hello, I am brand new to python and I am highly willing to learn it. The problem is that I've been set homework on Tuples and I feel I've not been pre..... More

Print this item

  Unable to understand how given code takes a fixed input value, without inputting.
Posted by: jahuja73 - Jan-28-2021, 11:35 AM - Forum: General Coding Help - Replies (4)

I got code via link in a post at stackoverflow, but unable to understand how in the code there is a fixed value taken as input, while the code asks no..... More

Print this item

  *Beginner* web scraping/Beautiful Soup help
Posted by: 7ken8 - Jan-28-2021, 10:28 AM - Forum: Web Scraping & Web Development - Replies (2)

Hello all!

I am trying to scrape a table of reviews from an album’s wikipedia page, using Beautiful Soup and requests. I have become stuck trying t..... More

Print this item

  MicroPython Reference
Posted by: ATARI_LIVE - Jan-28-2021, 09:02 AM - Forum: News and Discussions - Replies (1)

Here I found another reference:
[url]https://www.accessengineeringlibrary.com/binary/mheaeworks/b389d442050cf969/ce612553cabb85722d0427e129fc0f2deb53..... More

Print this item

  Change icons of system
Posted by: rizzla - Jan-28-2021, 07:47 AM - Forum: General Coding Help - Replies (1)

so im trying to write a python script that changes the icons of all the files in a spceific folder, how should i go about making this because i dint f..... More

Print this item

  Checkbutton writing selection to file
Posted by: blakefindlay - Jan-28-2021, 06:42 AM - Forum: GUI - Replies (1)

I have 3 checkbuttons that are used to state the condition of ski poles, ski boots, and skis. My issue is that it is only outputting 'PY_VAR7'. Just..... More

Print this item

  help !!!! really new to this
Posted by: HarveerSahota - Jan-28-2021, 03:48 AM - Forum: Homework - Replies (2)

HI, I have to take this required coding class and I am trying to follow a youtube video but i keep getting this error. I dont know what I am doing wro..... More

Print this item

  Saving to a specific directory
Posted by: blakefindlay - Jan-28-2021, 03:40 AM - Forum: GUI - Replies (2)

Just wondering what the best way is to open and save the file to a directory I have called 'out'
C:\Users\blake\PycharmProjects\newb\out

[python]r..... More

Print this item

  trying to scrape a span inside a div using beautifulsoup
Posted by: CompleteNewb - Jan-28-2021, 03:16 AM - Forum: Web Scraping & Web Development - Replies (2)

Hello,
I have this problem trying to scrape a website using Beautifulsoup.
I'm trying to find a "span" in multiple "div", but I can't find anything ..... More

Print this item

  Tkinter Textbox only showing one character
Posted by: Xylianth - Jan-28-2021, 02:35 AM - Forum: GUI - Replies (1)

Hello,
I am writing an ID3 parser from scratch and ever since I made the change to search byte signatures matching an ID3 frame tag so it knew when t..... More

Print this item

  russian roulette
Posted by: AnunnakiKungFu - Jan-27-2021, 09:01 PM - Forum: Game Development - Replies (6)

I am trying to make a Russian roulette app and I do not know where to start. My biggest issue is figuring out how to actually run the random choice of..... More

Print this item

  Help: write 'case' with Python
Posted by: ICanIBB - Jan-27-2021, 08:36 PM - Forum: General Coding Help - Replies (2)

Hi, I remember in C we can use:
case 0: sentence 0
case 1: sentence 1
case 2: sentence 2
...
Can I write similar sentence with Python? If yes, is..... More

Print this item

  Looking for good GUI Framework for Touch Devices
Posted by: matt_the_hall - Jan-27-2021, 04:20 PM - Forum: GUI - Replies (2)

Hello,

I'd like to make a tablet-based note taking system and am wanting input on which GUI frameworks might be good options. My design goal is to ..... More

Print this item

  socket.connect question about parenthesis
Posted by: pace - Jan-27-2021, 04:18 PM - Forum: Networking - Replies (1)

Hi everyone,

I have been starting out with python over the past 8 months. I know I'm just at the start of my journey, and this is the first programm..... More

Print this item

Sad problem with Pyautogui
Posted by: rachidel07 - Jan-27-2021, 04:16 PM - Forum: General Coding Help - Replies (1)

first of all i'm a bigginner and i have a problem with Pyautogui .

i create a simple code to find the software logo on desktop then type 'I found i..... More

Print this item

  opening your scraping with a csv file in excel??
Posted by: Nobelium - Jan-27-2021, 02:31 PM - Forum: Web Scraping & Web Development - No Replies

i made this web scraper in reference to a school project. And i am trying to get all my scraped information printed out in a form/table into excel. at..... More

Print this item

Question resume file transfer
Posted by: onran - Jan-27-2021, 02:16 PM - Forum: General Coding Help - No Replies

Hi,
my script running on a red hat machine copies gigabyte-sized files from a windows-based lab device to a NetApp archive. Both source and destinati..... More

Print this item

  error in scapy attribute 'haslayer'
Posted by: evilcode1 - Jan-27-2021, 12:03 PM - Forum: General Coding Help - Replies (5)

hello all ...
im trying to write a port scanner using scapy module
my code :
[python]from scapy.all import *

target = "192.168.1.81"


pri..... More

Print this item

  3,2,1 - Why you should get this job?
Posted by: Newton - Jan-27-2021, 11:39 AM - Forum: Jobs - Replies (3)

Hello everyone,

I'm looking for a Python developer who will help me build an automated scribbler for Discord. As far as I know, that would be pione..... More

Print this item

  Edit TOML on the fly
Posted by: C3PO - Jan-27-2021, 10:03 AM - Forum: General Coding Help - Replies (3)

I would like to edit a local TOML file and save it again to be used in the same Python script. In this sense, to be able to change a given parameter i..... More

Print this item

  Having trouble using photo for background
Posted by: blakefindlay - Jan-27-2021, 05:41 AM - Forum: GUI - Replies (2)

Just wondering what I am doing wrong. I have a photo named overlander_sports.jpg in the newb folder which is the name of the project. I can't seem t..... More

Print this item

  Python/C API - PythonQTError
Posted by: pybat - Jan-27-2021, 01:52 AM - Forum: General Coding Help - No Replies

Hello All,

I have some Python/C API code embedded within a C++ DLL on Windows. Here is a snippet of the code:

PyObject *pName, *pModule, *pDict..... More

Print this item

  How to sum across variable columns in a dataframe
Posted by: rennerom - Jan-26-2021, 10:48 PM - Forum: General Coding Help - Replies (2)

Hi there,

I end up doing lots of this type of data manipulation in excel as I haven't found a solid python solution yet.

Lets say this is my pandas..... More

Print this item

  Group List Elements according to the Input with the order of binary combination
Posted by: quest_ - Jan-26-2021, 08:36 PM - Forum: General Coding Help - Replies (19)

Hello,
I have this code scripts:
[python]
for variables in itertools.product([0, 1], repeat=(number*2)): # set of variables for a,ap,b,bp,c,cp like 0..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  dtmfgpo,guy678 1 hour ago GeraldNoive GeraldNoive General Codin...
  Le Coeur A Rire Et A Pleu... 2 hours ago ellacahvsz4706 ellacahvsz4706 General Codin...
  Check if running from she... Yesterday, 11:52 rjdegraff42 noisefloor General Codin...
  Sorry Help Yesterday, 11:47 BioNanoTech noisefloor General Codin...
  IP address for users 12-31, 20:02 Robots DeaD_EyE Networking
  Merge video with subtitle... 12-31, 07:58 Pavel_47 OtiliaGen General Codin...
  Opencv findContours Q 12-30, 00:11 jogl Pedroski55 General Codin...
  Struggles I Faced While E... 12-29, 09:12 baffa_dbt padma121 Code Review
  Willing to pay for help w... 12-29, 08:37 braillescribe noisefloor General Codin...
  Create dataframe from the... 12-29, 07:27 Calab OtiliaGen Data Science
  How to Integrate External... 12-27, 18:21 finallen321 noisefloor General Codin...
Most views
  The best Prog... 580482
  Tutorial Requ... 520149
  Web Scraping ... 442799
  Newbie with P... 387021
  New Users Int... 386832
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+ 12117
buran 8198
snippsat 7398
deanhystad 6920
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
GeraldNoive Today
ellacahvsz4706 Today
oliviajuior7959 Yesterday
aoliiapetrov4786 Yesterday
zanaalietexaxd4208 Yesterday

User Panel Messages

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