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,279
» Latest member: ndx101
» Forum threads: 38,790
» Forum posts: 175,868

Full Statistics

Online Users
There are currently 62 online users.
» 1 Member(s) | 58 Guest(s)
Bing, AOL, kshahzad1985

Latest Threads
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
9 hours ago
» Replies: 4
» Views: 1,455
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Yesterday, 02:10 PM
» Replies: 2
» Views: 100
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Yesterday, 06:48 AM
» Replies: 0
» Views: 36
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Yesterday, 04:59 AM
» Replies: 11
» Views: 6,011
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
Yesterday, 04:46 AM
» Replies: 2
» Views: 4,285
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Nov-19-2025, 08:34 PM
» Replies: 3
» Views: 310
link variable to exc bloc...
Forum: General Coding Help
Last Post: Gribouillis
Nov-19-2025, 05:03 AM
» Replies: 1
» Views: 153
PyQt6 QWidgets and system...
Forum: GUI
Last Post: Axel_Erfurt
Nov-18-2025, 06:47 PM
» Replies: 2
» Views: 217
best way to learn python
Forum: News and Discussions
Last Post: mamta25
Nov-18-2025, 04:13 PM
» Replies: 5
» Views: 3,118
[SOLVED] Access keys and ...
Forum: General Coding Help
Last Post: Winfried
Nov-17-2025, 11:47 AM
» Replies: 4
» Views: 261

 
  tools for writing and reading binary data in files
Posted by: Skaperen - Jun-08-2020, 07:28 PM - Forum: News and Discussions - No Replies

if i just ask for tools to read and write binary files i'm sure people will point me to including the 'b' option when opening the file. i already kno..... More

Print this item

  Modify Input() text
Posted by: catosp - Jun-08-2020, 07:14 PM - Forum: General Coding Help - Replies (6)

Hello!

strText = "this is text 1"
a = input()+strText #or something like this
print(a)
How can I make to appear strText as ..... More

Print this item

  Like ou Unlike Instagram
Posted by: rmiguelantunes74 - Jun-08-2020, 06:25 PM - Forum: Web Scraping & Web Development - Replies (3)

Hi,

I'm beginner in Python, what is the best code to validate if the instagram photo already has like or not ?
because if i run twice my script th..... More

Print this item

  List box
Posted by: mckenzierobert - Jun-08-2020, 05:54 PM - Forum: GUI - Replies (3)

I have 300 pieces of music, each with its unique number, and first line. I want to write a programme where the user uses a list box? to select a piece..... More

Print this item

  Use of @property decorator
Posted by: ruy - Jun-08-2020, 05:11 PM - Forum: General Coding Help - Replies (16)

Hi there,

I've noticed that when using the @property and @attribute_name.setter decorators all the examples I've found on the net always use an und..... More

Print this item

  "pip install -e ." returns : ERROR: Command errored out with exit status 1
Posted by: mostafaPython - Jun-08-2020, 04:51 PM - Forum: General Coding Help - Replies (3)

hello

I would like to install an existing python project (pyramid framework, here the steps I did:

Print this item

  How to get the first child of a beautifulSoup document ?
Posted by: arbiel - Jun-08-2020, 04:20 PM - Forum: Web Scraping & Web Development - Replies (3)

Hi

I'am a little disappointed with beautifulSoup handling a tree.

[python]>>> from bs4 import BeautifulSoup as btfs
>>> soup=btfs('', 'html5lib..... More

Print this item

  I was trying to build a model using neural networks but It says layers not definied
Posted by: MohammedSohail - Jun-08-2020, 03:01 PM - Forum: General Coding Help - Replies (6)

ERROR MESSAGE IS DOWN

[python]#IMPORTING THE LIBRARIES
import tensorflow as tf
from tensorflow import keras
import numpy as np
import matplotli..... More

Print this item

  Simple TCP Client and TCP Server Problem
Posted by: Vapulabis - Jun-08-2020, 02:12 PM - Forum: Networking - Replies (5)

OK, I may be being particularly thick with this question but I am new with python and I am trying to follow a PDF book on coding with it, we have reac..... More

Print this item

  TypeError: unhashable type: 'set'
Posted by: Stager - Jun-08-2020, 01:39 PM - Forum: General Coding Help - Replies (1)

Hi all

I have two dictionaries, containing (for example):
[python]dict1 = {'k1':{1,2,3},'k2':{4,5,6},'k3':{7,8,9}}
dict2 = {1:12,2:23,3:34,4:45,5..... More

Print this item

  Python File to EXE Not working.
Posted by: MianDoesCoding - Jun-08-2020, 01:04 PM - Forum: General Coding Help - Replies (9)

Hey guys so i would i like to make a single python file of mine into an exe
what i do is i save he file in a folder with nothing else and i go to the..... More

Print this item

  transfer learning, how preprocess data
Posted by: sveto4ka - Jun-08-2020, 01:01 PM - Forum: Data Science - Replies (1)

Pleae, can you tell me how should I preprosess data while using transfer learning? I mean obligatory preprosessing.
For example, if I want to use resn..... More

Print this item

  Need help finding data
Posted by: Annessburg - Jun-08-2020, 11:21 AM - Forum: General Coding Help - Replies (1)

Hi I am a student and I have obtained this script from online.

I want to be able to find the symbol of a company. For example when I search Faceboo..... More

Print this item

  mod-python in apache2 on debian 9
Posted by: xstation - Jun-08-2020, 11:13 AM - Forum: Web Scraping & Web Development - Replies (6)

I have tried by following a howto to enable mod-python in apache2 on debian 9

I followed how to test if it was succesful , and at this stage canno..... More

Print this item

  My first Web Scraping project
Posted by: pyzyx3qwerty - Jun-08-2020, 10:29 AM - Forum: Code Review - Replies (4)

So, recently, I have been learning web scraping with tutorials and videos and other things like that. Here's my first go at a simple project that help..... More

Print this item

  Indentation for Tkinter-made Text Editor
Posted by: ShakeyPakey - Jun-08-2020, 10:05 AM - Forum: GUI - Replies (4)

Hello, there.

I am writing my own programming language in Python, and along with it, my own text editor, made with the Tkinter module. I already ha..... More

Print this item

  Python long running script - causes RDP failure to server?
Posted by: william101 - Jun-08-2020, 07:11 AM - Forum: General Coding Help - Replies (1)

Hello

I have a long running script - that I execute on a windows server.
The script i simply run under an windows command prompt

the script suc..... More

Print this item

  Which database should I learn
Posted by: Emekadavid - Jun-08-2020, 06:00 AM - Forum: News and Discussions - Replies (5)

I am a teacher who has realized lots of programming opportunities in the education sector so I am learning programming to take advantage of that. The ..... More

Print this item

  Moving mouse so that games can detect movement
Posted by: SheeppOSU - Jun-08-2020, 04:12 AM - Forum: General Coding Help - Replies (2)

I made some code to stimulate computer input from input on a Xbox controller. Everything works fine except that the game I was using it on doesn't det..... More

Print this item

  question about for loop
Posted by: Than999 - Jun-08-2020, 01:59 AM - Forum: General Coding Help - Replies (5)

How come in the output of this code there is an extra 4? Shouldn't it only display a single 4 value as the last value in this output?

[python]
nu..... More

Print this item

  printing class properties from numpy.ndarrays of objects
Posted by: pjfarley3 - Jun-08-2020, 12:06 AM - Forum: General Coding Help - Replies (2)

Another numpy ndarray question: If I have a class value as the value of each numpy.ndarray element, how do I print the values of the embedded objects?..... More

Print this item

  Question about my code
Posted by: Than999 - Jun-07-2020, 11:39 PM - Forum: Homework - Replies (5)

Hi, I am struggling to understand the solution to my homework problem and why my code or logic is incorrect compare to the solution of this question. ..... More

Print this item

  pandas index not updating please help
Posted by: bntayfur - Jun-07-2020, 10:57 PM - Forum: General Coding Help - No Replies

I can't get rid of the old index, still shows the old index and the index title is on top of the old one. what might be the reason for it? Thanks :) t..... More

Print this item

  Variable Not Updating
Posted by: NectDz - Jun-07-2020, 10:41 PM - Forum: General Coding Help - Replies (1)

Hello, Im having a problem with my function. It is supposed to out put '01' if the user only puts 1 digit but when I call it in the engine function it..... More

Print this item

  better than discord
Posted by: goodsignal - Jun-07-2020, 10:35 PM - Forum: Bar - Replies (4)

Wow! I'm brand new here and already this place seems so much better than the python discord group. The generally thoughtful responses and an easily se..... More

Print this item

  Who enjoys Py RegEx? re.sub() isn't working
Posted by: goodsignal - Jun-07-2020, 10:11 PM - Forum: General Coding Help - Replies (4)

From all I've read, these two functions should produce the same results, given a regex pattern with two groups. I'd like to know if I'm using [b]re.su..... More

Print this item

  Using OpenPyXL How To Read Entire Column Into Dictionary
Posted by: jo15765 - Jun-07-2020, 09:23 PM - Forum: General Coding Help - Replies (1)

Using openpyxl how can I read every row in the last column (excluding the first row for the header) into a dictionary?

Print this item

  anytree implicit node?
Posted by: gw1500se - Jun-07-2020, 08:42 PM - Forum: General Coding Help - No Replies

I have a weird problem with anytree. I defined a node thus:

Node(str(sensor.target),parent=tgt,index=0,action='target')
Note that i..... More

Print this item

  Assigning Value To Period Seperated List
Posted by: jo15765 - Jun-07-2020, 08:22 PM - Forum: General Coding Help - Replies (6)

I have period separated list of values, like this

1.1.1.1
1.2.1.1
1.1.2.1
etc and these can be duplicated. I need a way to as..... More

Print this item

  Looking for some advice about where to start.
Posted by: Wierbowski - Jun-07-2020, 06:26 PM - Forum: General Coding Help - Replies (1)

Hello everyone!
I'm new here and fairly new to Python and programming, have been trying to read alot the past 2 weeks.
I was just wondering if any..... More

Print this item

  A Tkinter Widget-Templater/GUI Builder for Linux/Mac
Posted by: rootVIII - Jun-07-2020, 06:23 PM - Forum: Code sharing - Replies (2)

I made a pretty neat project for templating a Tkinter GUI for Python3: VisiPy

The front end itself is m..... More

Print this item

  Unable to import data from Stata-press website
Posted by: Salahaddin - Jun-07-2020, 06:01 PM - Forum: Data Science - Replies (1)

Dear All,

I am new to python. I am trying to replicate code in https://www.statsmodels.org/dev/examples...gression.h..... More

Print this item

  create an array of each line of text
Posted by: macieju1974 - Jun-07-2020, 05:05 PM - Forum: General Coding Help - Replies (7)

Hi,
I have the following text file:
... here's a fragment
I wrote a code in python that reads data from this file.
[python]file = open('raport.tx..... More

Print this item

  Loading large .csv file with pandas
Posted by: hangejj - Jun-07-2020, 03:56 PM - Forum: General Coding Help - Replies (2)

Hello, I am trying to load a .csv file that has around 3 million lines. This file has a delimiter that is "|" due to commas are in the needed data so..... More

Print this item

  My attemp at the Tic Tac Toe
Posted by: menator01 - Jun-07-2020, 02:50 PM - Forum: Code sharing - No Replies

As always, I welcome input. It's easy to win. I need to work on the logic, if there ar two x's in a row. Give it a random choice picking the slot or a..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  My goal to be hired worki... 9 hours ago GnomeSweetGnome mamta25 News and Disc...
  [SOLVED] [BeautifulSoup] ... Yesterday, 14:10 Winfried Winfried Web Scraping ...
  How to Implement Real-Tim... Yesterday, 06:48 ankitsharma32 ankitsharma32 Web Scraping ...
  How to put my game loop i... Yesterday, 04:59 temlotresid6 SledgeNE Game Developm...
  Help with running PvZ Fus... Yesterday, 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
  best way to learn python 11-18, 16:13 dutch mamta25 News and Disc...
  [SOLVED] Access keys and ... 11-17, 11:47 Winfried Winfried General Codin...
  PermissionError: [Errno 1... 11-17, 08:44 Tuurbo46 Tuurbo46 GUI
Most views
  The best Prog... 579195
  Tutorial Requ... 511944
  Web Scraping ... 442144
  Newbie with P... 386225
  New Users Int... 379169
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 7389
deanhystad 6915
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
ndx101 Today
OtiliaBecker Today
NAGASOWMYAGUNDU Yesterday
shipa1autotransport Yesterday
eastnoob 11-19

User Panel Messages

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