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,291
» Latest member: kienvtm
» Forum threads: 38,793
» Forum posts: 175,882

Full Statistics

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

Latest Threads
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
4 hours ago
» Replies: 6
» Views: 187
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
Yesterday, 02:18 PM
» Replies: 5
» Views: 84
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 70
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Nov-21-2025, 06:15 AM
» Replies: 4
» Views: 1,507
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 165
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 76
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:59 AM
» Replies: 11
» Views: 6,107
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:46 AM
» Replies: 2
» Views: 4,313
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Nov-19-2025, 08:34 PM
» Replies: 3
» Views: 428
link variable to exc bloc...
Forum: General Coding Help
Last Post: Gribouillis
Nov-19-2025, 05:03 AM
» Replies: 1
» Views: 248

 
  Are there optimizer for static code?
Posted by: AlekseyPython - Nov-01-2019, 01:51 PM - Forum: General Coding Help - Replies (5)

Python 3.7.1

My program works with big data, where I don't see the point of using dynamic language capabilities (adding class members or methods duri..... More

Print this item

  first time in python
Posted by: TDW5 - Nov-01-2019, 01:44 PM - Forum: General Coding Help - Replies (1)

Hello,

Anyone who can tell me how to plot something like this:
[python]
f = f(x)
g = function with variable f = g(f)
h = function of g = h(g)
..... More

Print this item

  Cant start module
Posted by: bejag - Nov-01-2019, 01:24 PM - Forum: Networking - Replies (4)

Hi all, I cant start server under windows anymore.

[Image: 54AZse3TQeuufJ1LJirLNQ.png]
then windows firewall promp..... More

Print this item

  tkinter window and turtle window error
Posted by: 1885 - Nov-01-2019, 12:44 PM - Forum: GUI - Replies (3)

I have a simple tkinter menu example that opens a new window on click.
When the Turtle window is opened it works fine the first time.
But when close..... More

Print this item

  Linear Regression Python3 code giving weird solutions
Posted by: deepsen - Nov-01-2019, 12:06 PM - Forum: Data Science - No Replies

Dear Members,
Welcome to another noob question. I am learning to code in Python for scientific research.
I wrote a python code following the math fo..... More

Print this item

  plotting problem
Posted by: TDW5 - Nov-01-2019, 11:54 AM - Forum: General Coding Help - Replies (1)

Hello

(I'm new to Python)
Im trying to plot 4 functions with quite some variables, however in the end it's only dependent on x.
My code:
[python..... More

Print this item

  Partial "visual" Matching of matrices
Posted by: masteripper - Nov-01-2019, 10:22 AM - Forum: General Coding Help - Replies (15)

Hello,
I have this issue and i am a bit short on ideas on how to resolve it
Suppose you have 3 matrices :
A =
1 0 1 [b]1[/..... More

Print this item

  Right modules to use ?
Posted by: Fre3k - Nov-01-2019, 09:49 AM - Forum: Web Scraping & Web Development - Replies (4)

Hello guys !

Well I'll dive straight into my question.

I changed from PHP to Python some weeks ago, and Im totally into web-scraping.

As my f..... More

Print this item

  pip is not working
Posted by: Gregerwhut - Nov-01-2019, 08:36 AM - Forum: General Coding Help - Replies (1)

Hello

I am having troubles getting the pip to work on my windows 10 pc.
I have added the python path, and get ack. when i type python in cmd, bu..... More

Print this item

  Implement distancematrix to Held karp algorithm
Posted by: Robinjacobsson - Nov-01-2019, 08:09 AM - Forum: General Coding Help - Replies (1)

Hi, this is my first post.
I am an PHP developer that just started learning Python. I installed a Go-package and got a code from the internet. Can so..... More

Print this item

  chat simulation between 2 chat bots
Posted by: ronblue77 - Nov-01-2019, 06:49 AM - Forum: Code sharing - No Replies

hello everyone.

here is a small program to test a chat between two chatbots "david" and "zira" also you can chat with david... this is just a sketc..... More

Print this item

  Working socket() program...isn't
Posted by: ptrivino - Nov-01-2019, 01:48 AM - Forum: Networking - Replies (10)

I'm pretty new to Python, and newer still to socket() but I've been working on learning it. I implemented the "Echo Client and Server" from https://r..... More

Print this item

  combining stdout and stderr
Posted by: Skaperen - Nov-01-2019, 01:34 AM - Forum: News and Discussions - Replies (1)

i want to combine stdout and stderr on the same output so both can go over a single pipe. the buffering of stdout can mess up the line ordering. i d..... More

Print this item

  TensorFlow CNN get error - DataType uint8 not in list
Posted by: vokoyo - Oct-31-2019, 11:27 PM - Forum: Data Science - Replies (3)

The experiment is carried out on Windows 10 Pro Intel ® Core ™ i5-4590 CPU @ 3.3 GHz, based on the platform of Anaconda with Spyder Python 3.7.15..... More

Print this item

  Def code does not work for negative integers.
Posted by: doug2019 - Oct-31-2019, 10:56 PM - Forum: General Coding Help - Replies (1)

The def code when it results in negative does not work. I don't know how to solve it.
[python]
def conversao(x):
if x < GPa:
return(st..... More

Print this item

  io.UnsupportedOperation: not readable
Posted by: navidmo - Oct-31-2019, 10:26 PM - Forum: General Coding Help - Replies (1)

i dont understand why i get this error,
thnks for your helping
[python]import hashlib
import csv
input_file_name = 'c:/users/shervin/documents/pas..... More

Print this item

  Attribute Error
Posted by: DiceMann - Oct-31-2019, 09:45 PM - Forum: Homework - Replies (1)

I am doing an online course and when i run the program, i get an error message of:

[output]Traceback (most recent call last):
File "vulnerabilit..... More

Print this item

  OOP and module approaches in a simple app monitoring list of servers
Posted by: hjzxxzjcz - Oct-31-2019, 08:10 PM - Forum: General Coding Help - Replies (1)

Hi there,

I have a simple web app (python & flask) which shows a list of Oracle databases as a list, from where we can open a page with details abo..... More

Print this item

  Showing only one country in Folium
Posted by: tantony - Oct-31-2019, 06:08 PM - Forum: General Coding Help - Replies (3)

I have a script that generates a folium map using Python and Folium. Please click on the link below to see.

[url=https://python-forum.io/thread-22141.html]..... More

Print this item

  packet radio communication
Posted by: EmpireAndrew - Oct-31-2019, 05:29 PM - Forum: General Coding Help - Replies (1)

I have two Raspberry Pi 3's, each with a packet radio attached. Each radio can send and receive data packets, but the data limit is 60 bytes. I have..... More

Print this item

  Trying to display a variable in a label
Posted by: Jordansonatina - Oct-31-2019, 03:44 PM - Forum: GUI - Replies (2)

When I run this the answer prints into the python console but not in the label:

[python]import tkinter as tk

HEIGHT = 300
WIDTH = 300
answer =..... More

Print this item

  Homework, functions
Posted by: janoshz - Oct-31-2019, 03:19 PM - Forum: Homework - Replies (8)

Hello,

I have this assignment and it kinda works on the platform. What is the problem, the character input. If the input is more than one character..... More

Print this item

  sharing memory(read-write) between multiple processes
Posted by: mike000 - Oct-31-2019, 02:38 PM - Forum: General Coding Help - Replies (1)

I need multiple processes working to be updating(adding data) to an array in memory, so it will be growing large.
the code I'm posting here doesn't d..... More

Print this item

  convert strings of date to datetime exported from CSV
Posted by: GiorgosPap31 - Oct-31-2019, 02:28 PM - Forum: General Coding Help - Replies (1)

Hello.
I am using python3 to export some date from a csv file.
I have a csv file full of dates in the form of dd/mm/yyyy
Suppose that I have two st..... More

Print this item

  multiprocessing doesnt contain some modules(shared_memory)
Posted by: mike000 - Oct-31-2019, 12:43 PM - Forum: General Coding Help - Replies (3)

I'm using pycharm and when I try to do

from multiprocessing import shared_memory
pycharm tells me is a wrong line of code, how ..... More

Print this item

  Sorting a large CVS file
Posted by: DavidTheGrockle - Oct-31-2019, 12:15 PM - Forum: Data Science - Replies (1)

What I have is a large 707,000 row CVS file. In col 9 of 10 there is an id which looks like EG47213, EB53955 and so on. There are probably about 700 d..... More

Print this item

  Issue with code for auto checkout
Posted by: nqk28703 - Oct-31-2019, 08:19 AM - Forum: General Coding Help - Replies (2)

Hi all,

I have code for auto checkout in Odoo server:

[python]model.cron_set_attedance_checkout()
class hr_attendace(models.Model):

_inherit = ..... More

Print this item

  How to connect Mysql databse with python and VSCode IDE
Posted by: madhusoodhananER - Oct-31-2019, 05:30 AM - Forum: General Coding Help - Replies (1)

I am using VSCode ide for my python project. I want to connect python with MySQL database, I already downloaded MySQL connector using pip MySQL connec..... More

Print this item

  Make color for string when print to console
Posted by: hadoan - Oct-31-2019, 02:19 AM - Forum: General Coding Help - Replies (6)

Hi Everyone.

I want to make color for text, string when print into the console window but could not.

I have searched on google but not lucky.
..... More

Print this item

  what's really wrong with this f-string?
Posted by: Skaperen - Oct-31-2019, 02:02 AM - Forum: News and Discussions - Replies (1)

what's really wrong with this f-string? the quotes look right so it must be the backslash.
[output]>>> a=432
>>> s=f'{a} "\{"'
File "<stdin>", l..... More

Print this item

  generator runout
Posted by: Skaperen - Oct-31-2019, 01:24 AM - Forum: News and Discussions - Replies (6)

this can get annoying:[output]>>> regions_fns = (f'{pre}{my}{aws}{ec2}region{s}{ext}' \
... for my in ('my_','my','') \
..... More

Print this item

  Help on question about buses
Posted by: edwdas - Oct-30-2019, 11:47 PM - Forum: Homework - Replies (5)

Hello,

So the purpose of this script is to take an input of passengers and calculate the cheapest cost of required buses. BigBus takes 48 passenger..... More

Print this item

  webbrowser and menu not working.
Posted by: sik - Oct-30-2019, 11:03 PM - Forum: General Coding Help - Replies (1)

Can someone please explain to me why this doesn't work?
[python]

def webpage():

import webbrowser

web1="http://www.bbc.co.uk/"
web2="..... More

Print this item

  what am i doing wrong!? music wont play
Posted by: jusrosetyler1123 - Oct-30-2019, 10:59 PM - Forum: General Coding Help - Replies (2)

I am using a raspberry pi and my script is not complete but the shuffle music button is not working i don't know what I did wrong
I am using pygame f..... More

Print this item

  frequency list from wordcloud
Posted by: acdcfanman15 - Oct-30-2019, 08:43 PM - Forum: Data Science - Replies (5)

I have written code to help me generate a WordCloud but my boss has asked me to include a frequency list for my data based on a short description. I a..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  data fetching for indian ... 4 hours ago drakhsin Pedroski55 Web Scraping ...
  PyQt5 - Get a parameter f... Yesterday, 14:18 Ninja2112 deanhystad GUI
  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... 579314
  Tutorial Requ... 512209
  Web Scraping ... 442207
  Newbie with P... 386311
  New Users Int... 379926
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 6916
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
kienvtm Today
irukson Today
J2M Yesterday
jackhunter Yesterday
EmilyCarter Yesterday

User Panel Messages

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