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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 19,967
» Latest member: Jacobjoift
» Forum threads: 38,730
» Forum posts: 175,549

Full Statistics

Online Users
There are currently 39 online users.
» 1 Member(s) | 33 Guest(s)
Google, Applebot, Bing, tester_V

Latest Threads
Webscrapping sport bettin...
Forum: Web Scraping & Web Development
Last Post: Jacobjoift
48 minutes ago
» Replies: 5
» Views: 13,728
looking for help
Forum: Bar
Last Post: PhamMaria
54 minutes ago
» Replies: 1
» Views: 1,862
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: noisefloor
7 hours ago
» Replies: 4
» Views: 238
My goal to be hired worki...
Forum: News and Discussions
Last Post: Larz60+
Yesterday, 11:58 PM
» Replies: 1
» Views: 599
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 06:49 PM
» Replies: 4
» Views: 2,130
My First App
Forum: Code Review
Last Post: carlbidwell
Yesterday, 10:53 AM
» Replies: 8
» Views: 8,694
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 03:54 AM
» Replies: 3
» Views: 592
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 1,080
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:17 PM
» Replies: 1
» Views: 1,068
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:14 PM
» Replies: 6
» Views: 5,341

 
  pycharm
Posted by: IkrKobe - Jun-04-2020, 12:32 AM - Forum: General Coding Help - Replies (2)

hello
im new to programming and trying to learn it myself. I have this code for a instagram bot and its all done. The last step that i have to do is..... More

Print this item

  Installing Error - Python 2.7.8
Posted by: saranana - Jun-03-2020, 11:44 PM - Forum: General Coding Help - Replies (2)

Hi hi!

I'm trying to teach myself python using a somewhat outdated book. Im just going through it to get a handle on some of the basics but this bo..... More

Print this item

  invalid keyword arguments error
Posted by: sagpal - Jun-03-2020, 08:58 PM - Forum: General Coding Help - Replies (3)

Hi,
can anyone help me with this.


[python]
import optparse
import socket
from socket import *


def connScan(tgtHost, tgtPort):
try..... More

Print this item

  print output on Jenkins
Posted by: Pench - Jun-03-2020, 08:06 PM - Forum: General Coding Help - Replies (1)

I'm new to python, please help on this requirement.
I wrote a simple python script to execute on Jenkins pipeline.
calling bat script on Jenkins
b..... More

Print this item

  Syllable Count Function
Posted by: pav1983 - Jun-03-2020, 08:05 PM - Forum: Homework - Replies (3)

Create a function that counts the number of syllables a word has. Each syllable is separated with a dash -.

Examples
number_syllables("buf-fet") ➞..... More

Print this item

  copying an Excelsheet with its conent and renaming into different names
Posted by: deheugden - Jun-03-2020, 07:14 PM - Forum: General Coding Help - Replies (6)

Hello,

I have been playing with Python for several months now, but progress is going very slow. I am still doing small scripts, am stuck at the fun..... More

Print this item

  Create a GUI for alrady written code.
Posted by: francois072 - Jun-03-2020, 06:11 PM - Forum: GUI - Replies (5)

I'm a new Python user and I'm still learning so I decided to write a simple quiz program in Pycharm.
Only problem is I can't find a tutorial anywhere..... More

Print this item

  Multiproccessing ValueError: Pool not running when running parallel functions
Posted by: Gilush - Jun-03-2020, 06:02 PM - Forum: General Coding Help - Replies (1)

[Image: gUGml.jpg]

I get this error when clicking the submit button the 2nd time.
My main target is to print the outpu..... More

Print this item

  module to store functions/variables and how to call them?
Posted by: mstichler - Jun-03-2020, 05:57 PM - Forum: General Coding Help - Replies (3)

Can I create a module to store all my functions?
for instance could i have a module that contains every function I need for my program, and if so how..... More

Print this item

  Python Assignment 3 - Applied Data Science - 2.3
Posted by: eyavuz21 - Jun-03-2020, 05:42 PM - Forum: Homework - Replies (8)

Hey all,

I have the following code below:

[python]
import pandas as pd
import numpy as np
from scipy import stats
import matplotlib.pyplot ..... More

Print this item

  Test a file for a string without opening it?
Posted by: tester_V - Jun-03-2020, 05:11 PM - Forum: General Coding Help - Replies (2)

Hi,
I have a lot of files in a directory,
Is there any good way to test a file for a string without opening it?
[python]
String =’Run Time’
If s..... More

Print this item

  zipfile
Posted by: sagpal - Jun-03-2020, 05:06 PM - Forum: General Coding Help - Replies (2)

i am getting error "expected bytes, got str"

here is the python code:
----------------------
[python]import zipfile
zFile = zipfile.ZipFile("evi..... More

Print this item

  Pandas installation error
Posted by: pyzyx3qwerty - Jun-03-2020, 04:34 PM - Forum: General Coding Help - Replies (3)

I use VS Code, with Anaconda installer on Mac. So I tried using pandas package for the first time and I wasn't sure if I had the package or not. I ran..... More

Print this item

  While loop = False
Posted by: NectDz - Jun-03-2020, 04:08 PM - Forum: General Coding Help - Replies (1)

I am making a tic tac toe game and I set a while loop = game but when I call my check_X_Repeat function to make it false it does not do so I want to k..... More

Print this item

  How to eliminate unwanted spaces
Posted by: Mohan - Jun-03-2020, 04:02 PM - Forum: General Coding Help - Replies (5)

Hi,
I am new to python. I have a device. This device gives serial data. When I read the serial data using python I can see that data is something lik..... More

Print this item

  How to use a variable from a flask page to another
Posted by: Need_Not - Jun-03-2020, 03:59 PM - Forum: General Coding Help - No Replies

Hello so i'm trying to take the variables guild_api,guildname, and guild_name from my flask page /guild/ and be able to also use them on flask game /g..... More

Print this item

  How can I make this server stop listening for connections to sockets
Posted by: Emekadavid - Jun-03-2020, 02:28 PM - Forum: General Coding Help - No Replies

I was using this tutorial online which explains a simple client-server script for python networking. The server side ran well but when I closed the cl..... More

Print this item

  Expanding RPS to tkinter
Posted by: menator01 - Jun-03-2020, 01:56 PM - Forum: GUI - Replies (4)

First I apologize for pasting all the code.

So I'm trying to expand my rps game to tkinter but, I cant seem to figure out how to have one instance ..... More

Print this item

  access dictionary with keys from another and write values to list
Posted by: redminote4dd - Jun-03-2020, 12:13 PM - Forum: General Coding Help - Replies (6)

Hello!

I have a list of keys from a dictionary and I want to these keys to get the values from another dictionary where the keys are the same and w..... More

Print this item

  How to use nb-black python cde formatter
Posted by: ErnestTBass - Jun-03-2020, 11:38 AM - Forum: General Coding Help - Replies (3)

I have used the python code formatter nb_black. I have not used it in about a year. I have some python code that needs formtting. I am always a little..... More

Print this item

  How can I change a string.
Posted by: Mike Ru - Jun-03-2020, 10:03 AM - Forum: General Coding Help - Replies (3)

I have a string. I need to find words and change them if it there are over there.
I am trying something like this. But I doesn't work.
I need to get..... More

Print this item

  problem with the return of flask
Posted by: loutsi - Jun-03-2020, 10:03 AM - Forum: Web Scraping & Web Development - Replies (4)

I have already built an lstm model and now I want to post some values and get back the results.

so when I go to the postman and in http://127.0.0.1..... More

Print this item

  Unable to install virtual environment on python 3.8.3
Posted by: Allen10 - Jun-03-2020, 09:59 AM - Forum: General Coding Help - Replies (4)

Hi,
I tried installing a virtual environment on python 3.8.3 and I kept getting the error shown below:
"Error: could not find a version that satisfi..... More

Print this item

  Basic logical errors
Posted by: cpopescu - Jun-03-2020, 09:35 AM - Forum: General Coding Help - Replies (3)

Hi everybody!

I'm trying to learn python from a book written by Eric Matthes. Right in the introduction he mentions how, as a child, he programmed ..... More

Print this item

  Access phone via Bluetooth
Posted by: maxwell - Jun-03-2020, 09:10 AM - Forum: General Coding Help - Replies (2)

Dear all,
I am new to Python, so please, bear with me. I have a PI4 (running Raspbian) with a Raspberry touchscreen which is all working fine. Ultima..... More

Print this item

  [split] Very basic coding issue
Posted by: aary - Jun-03-2020, 08:47 AM - Forum: General Coding Help - Replies (4)

[python]age = int(input('please enter your age: '))
try:
if age > 0:
print("You are", age, "years old!")
elif age > 90:
p..... More

Print this item

  string parsing with re.search()
Posted by: delahug - Jun-03-2020, 08:24 AM - Forum: Web Scraping & Web Development - Replies (9)

hi,

i've been trying to parse a string using the re.search function but am running into trouble when it encounters ½ (the numeral representation of..... More

Print this item

  Loop In Python
Posted by: ankitdixit - Jun-03-2020, 07:09 AM - Forum: News and Discussions - Replies (6)

Hello All, I am learning python and I want to know the difference between while loop, do while loop, and for loop? Can anyone tell me the difference w..... More

Print this item

  4 tries choice question, one difficulty
Posted by: extricate - Jun-03-2020, 07:04 AM - Forum: Homework - Replies (4)

Hi there,

I have come up with this code, after 4 tries, it is supposed to say "Out of tries" but before it says "Out of tries", it will say "Try ag..... More

Print this item

  [Socket] Is there a way to recognize a client by their device?
Posted by: SheeppOSU - Jun-03-2020, 04:37 AM - Forum: Networking - Replies (1)

I'm using socket to make a type of online game, so I plan to make a login system. Is there a way to recognize a device that has logged in before, for ..... More

Print this item

  Very basic coding issue
Posted by: mstichler - Jun-03-2020, 04:08 AM - Forum: General Coding Help - Replies (3)

Hello,

I am teaching myself python and am in the very very beginning stages and have come across my first snag. I'm unsure why this code isn't work..... More

Print this item

  CSV date format
Posted by: Kumarkv - Jun-03-2020, 03:00 AM - Forum: General Coding Help - Replies (1)

Hi,

I have a CSV with two columns with a date and float value
The date format is 2019/04/02 Tuesday 08:00:00
yyyy/MM/dd EEEE HH:mm:ss

How to c..... More

Print this item

  Merge 2 dataframes but avoid double summing of rows?
Posted by: vinaysalian17 - Jun-03-2020, 01:48 AM - Forum: General Coding Help - No Replies

Hi,

I am merging 2 dataframes (DF1 and DF2) with many to many relationships.
The merge works fine but the result duplicates the "Amount" values in..... More

Print this item

  Create image on a Toplevel using tkinter
Posted by: ViktorWong - Jun-02-2020, 11:49 PM - Forum: GUI - Replies (3)

I'm using tkinter to create a login system. The main window goes as:

[python]
my_window=tkinter.Tk()
my_window.title('Welcome To Login System 1.0..... More

Print this item

  Reading Multiple Lists Using SUM function
Posted by: dgrunwal - Jun-02-2020, 09:47 PM - Forum: General Coding Help - Replies (6)

Hello,

Here is the code I am trying to improve - can longer lists be read from a file and looped through and printed?

[python]
p8262 = [331, ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Webscrapping sport bettin... 48 minutes ago KoinKoin Jacobjoift Web Scraping ...
  looking for help 54 minutes ago Azdaghost PhamMaria Bar
  Comparing 2 100GB Drives/... 7 hours ago tester_V noisefloor General Codin...
  My goal to be hired worki... Yesterday, 23:58 GnomeSweetGnome Larz60+ News and Disc...
  what does % stand for in ... Yesterday, 18:49 arbiel Gribouillis General Codin...
  My First App Yesterday, 10:53 BCopeland64 carlbidwell Code Review
  Unable to resolve FileNot... Yesterday, 03:54 llarkin6 Pedroski55 General Codin...
  [Tkinter] how to export a... 09-26, 17:13 RonR noisefloor GUI
  Is the interpreter that c... 09-26, 13:17 helendamdam noisefloor General Codin...
  pdf file processing: how ... 09-26, 13:14 Pavel_47 noisefloor General Codin...
  Regarding pdf for PCEP an... 09-26, 09:50 P212 Biks News and Disc...
Most views
  The best Prog... 577256
  Tutorial Requ... 500304
  Web Scraping ... 440942
  Newbie with P... 384957
  New Users Int... 369275
Most reputation
buran 581
snippsat 508
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12089
buran 8176
snippsat 7368
deanhystad 6896
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Jacobjoift Today
PhamMaria Today
zalexstolzeoz5360 Today
Edzed4431 Yesterday
chaoh1911 Yesterday

User Panel Messages

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