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,932
» Latest member: Murphy_Graham
» Forum threads: 38,723
» Forum posts: 175,502

Full Statistics

Online Users
There are currently 37 online users.
» 1 Member(s) | 32 Guest(s)
Bing, AOL, Google, AOL, bowlofred

Latest Threads
Hire Cyber Codex Revoluti...
Forum: General Coding Help
Last Post: Murphy_Graham
49 minutes ago
» Replies: 0
» Views: 12
HIRE A HACKER FOR CRYPTO ...
Forum: General Coding Help
Last Post: AndreasMuller22
1 hour ago
» Replies: 0
» Views: 14
HIRE A HACKER FOR CRYPTO ...
Forum: General Coding Help
Last Post: AndreasMuller22
1 hour ago
» Replies: 0
» Views: 7
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
2 hours ago
» Replies: 8
» Views: 2,196
real community
Forum: News and Discussions
Last Post: decuser
3 hours ago
» Replies: 3
» Views: 1,344
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
4 hours ago
» Replies: 1
» Views: 145
looking for help
Forum: Bar
Last Post: Azdaghost
6 hours ago
» Replies: 0
» Views: 45
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Bona2000
8 hours ago
» Replies: 7
» Views: 2,676
Select Python comment (#)...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 11:27 PM
» Replies: 6
» Views: 939
data input while debuggin...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 03:32 PM
» Replies: 2
» Views: 632

 
  extract substring from a string before a word !!
Posted by: evilcode1 - Nov-07-2023, 09:44 PM - Forum: General Coding Help - Replies (3)

hello all ...
this is my output :
[output]{'status': True, 'msg': 'Success', 'data': [{'title': 'perrier'}, {'title': 'Polo'}, {'title': 'Purina'}..... More

Print this item

  I have a code which is very simple but still I cannot detect what's wrong with it
Posted by: max22 - Nov-07-2023, 03:18 PM - Forum: General Coding Help - Replies (1)

The code is like this and below I'm leaving the error I'm getting in Python (3.7.13):

[python]import numpy as np
import matplotlib.pyplot as plt
..... More

Print this item

  What exactly does .agg() do?
Posted by: Mark17 - Nov-07-2023, 02:26 PM - Forum: Data Science - Replies (5)

Hi all,

I'm not appreciating the functionality of the .agg() method. This creates a df:

[code]
import pandas as pd

name = ['Bella', 'Charli..... More

Print this item

  Error Code: 1
Posted by: percyy30 - Nov-07-2023, 11:36 AM - Forum: General Coding Help - Replies (13)

Hiya - Have been trying to run urllib but have been encountering errors - I have delved into it, it appears that I do not have the http package instal..... More

Print this item

  How secure is the use of "secret" import?
Posted by: ejwjohn - Nov-07-2023, 10:48 AM - Forum: General Coding Help - Replies (12)

Hi,

I suppose like many others i decided to use the "secrets" file to store some information relevant to things like email account set up etc.

B..... More

Print this item

  CODEBREAKER game
Posted by: rob101 - Nov-07-2023, 07:06 AM - Forum: Code sharing - No Replies

This Python implementation of the game known as UNCLE BERNIE'S CODEBREAKER GAME was written to emulate the original game as closely as possible.

Th..... More

Print this item

  problem in using generator
Posted by: akbarza - Nov-07-2023, 06:27 AM - Forum: General Coding Help - Replies (2)

hi
after running the code:
[python]def gen():
for i in range(3):
yield i*i
return

g1=gen()
for i in g1():
print(i)[/pyth..... More

Print this item

  Help copying data from a website
Posted by: awere34a4e3 - Nov-07-2023, 01:31 AM - Forum: Web Scraping & Web Development - Replies (1)

Hi, I am trying to get the data from this website ino an excel (Actually libre office) file. https://sc2pulse.nephest.com/sc2/?season...ue=LOTV_1V..... More

Print this item

  Can I retrieve 2 values in a for ?
Posted by: Kakalok - Nov-06-2023, 09:57 PM - Forum: General Coding Help - Replies (3)

I have a list of values im looping through with an for x, and this is the x value

{'value_exc_vat': 16.67, 'value_inc_vat': 17.5035, 'valid_from': ..... More

Print this item

  is import cointegration_analysis a recognized module
Posted by: mitcht33 - Nov-06-2023, 08:04 PM - Forum: General Coding Help - Replies (1)

I copied python code from a website and in trying to run it I get No module named 'cointegration_analysis' although the author
and several users have..... More

Print this item

  model.fit and model.predict errors
Posted by: hatflyer - Nov-06-2023, 07:06 PM - Forum: General Coding Help - Replies (6)

Having 2 issues. First, when I have test images not 150 x 150, it crashes, even though I have the line: img.resize((150,150)) before the line that ca..... More

Print this item

  Where to ask Question about openpyxl
Posted by: ejwjohn - Nov-06-2023, 06:22 PM - Forum: Bar - Replies (1)

I have a couple of questions relating to the use of Openpyxl and i am looking for the more suitable forum?

Any meaningful ideas greatly appreciated..... More

Print this item

  Unable to get function to do anything...
Posted by: ejwjohn - Nov-06-2023, 03:06 PM - Forum: General Coding Help - Replies (8)

Hello,

I am a novice at Python, i using Thonny on Raspberry OS with Python 3.9.2
The def in question is listed below( I hope) and to simplify thi..... More

Print this item

  [solved] Regex expression do not want to taken :/
Posted by: SpongeB0B - Nov-06-2023, 08:48 AM - Forum: General Coding Help - Replies (2)

Hi everyone,

I've already used the module re a couple of times. but this time I have one expression that I can't pass to Python without getting a..... More

Print this item

  Help Needed For Online Survey Portal
Posted by: nisarg_sutaria - Nov-06-2023, 08:16 AM - Forum: Web Scraping & Web Development - Replies (1)

We have created online Survey Portal : [LINK REMOVED]
It is based on PHP CodeIgniter and MySQL.
With the advancement of AI, we want to integrate Cha..... More

Print this item

  usage of ^ in f_string
Posted by: akbarza - Nov-06-2023, 06:56 AM - Forum: General Coding Help - Replies (7)

hi
in the below code:

# normal pyramid
print("\nNormal Pyramid")
for i in range(5):
    x="* "
    x=x*i
    print(f'{x:^10}')
..... More

Print this item

  Where is problem in decrypting ADFGVX cipher
Posted by: Paragoon2 - Nov-06-2023, 06:18 AM - Forum: General Coding Help - Replies (2)

Hello, when I want to encrypt a character that has 5 characters, but the key has only 4 characters (which is one character less), decryption doesn't w..... More

Print this item

  Python Coder/Tutor
Posted by: jpatierno - Nov-06-2023, 02:39 AM - Forum: Jobs - Replies (5)

Brand new to python and have a comma delimited csv datafile that I want to read in pull certain fields out to apply calculations and make a report tha..... More

Print this item

  Which things are actually fun to code?
Posted by: Radical - Nov-05-2023, 10:15 PM - Forum: News and Discussions - No Replies

I discovered coding through C++ game development and I immediately fell in love. Making the physics, the enemy AI, ability interactions, and just the ..... More

Print this item

  How to create a variable only for use inside the scope of a while loop?
Posted by: Radical - Nov-05-2023, 07:30 PM - Forum: General Coding Help - Replies (10)

This should be a very basic question.

The code I'm using right now is:
[python]
timeOut = 0
while not x == 5:
time.sleep(1)
timeOut +=..... More

Print this item

  Looking for Trends Across Dimensions
Posted by: DataCarniv0r - Nov-05-2023, 06:37 PM - Forum: Data Science - No Replies

Hello, I'm hoping to get help with a starting point to find trends across some data dimensions. I think this falls under the realm of ML, not sure, bu..... More


Attached Files

.xlsx   CarDataExcelFormat.xlsx (Size: 37.15 KB / Downloads: 0)
Print this item

Shocked FLASK confuse
Posted by: LennyKiz - Nov-05-2023, 03:56 PM - Forum: Web Scraping & Web Development - Replies (1)

I'm trying to learn how to use Flask in Python

Run into situation I can't resolve.
What is wrong with the following code?

[python]from flask im..... More

Print this item

  Create csv file with 4 columns for process mining
Posted by: thomaskissas33 - Nov-05-2023, 02:54 PM - Forum: General Coding Help - Replies (3)

Hello
I try little to work with python and process mining. so i try to create a file from a text with 4 columns case id , name, process and time but ..... More

Print this item

  Airport max lanes length task
Posted by: AxelWasTaken - Nov-05-2023, 09:35 AM - Forum: Homework - Replies (3)

Hello, i have a task that i am really struggling with for 5 days straight and i would preferably need it done by Monday (tomorrow)

The task reads:..... More

Print this item

  save a session in idle
Posted by: akbarza - Nov-05-2023, 08:23 AM - Forum: General Coding Help - Replies (5)

hi
suppose I am learning Python in idle. I want to save this session because I want to work on it for later(suppose I want to back to it tomorrow or ..... More

Print this item

  Opaque letters
Posted by: DPaul - Nov-05-2023, 07:21 AM - Forum: GUI - Replies (3)

Hi,
I have 4 (T)Entry widgets, they are enabled or disabled in various combinations, depending on
user actions. Works fine.
I would like to add one fe..... More

Print this item

  IPython errors for numpy array min/max methods
Posted by: muelaner - Nov-04-2023, 09:08 AM - Forum: General Coding Help - Replies (1)

I'm using the IPython console (v 8.12.0) in Anaconda and getting some error messages I don't understand when accessing basic methods of numpy arrays..... More

Print this item

  TelegramBot
Posted by: Serg - Nov-03-2023, 10:29 PM - Forum: General Coding Help - No Replies

https://api.telegram.org/bot6885542165:A...47761&text =What do you do?

{"ok":false,"error_c..... More

Print this item

  write to csv file problem
Posted by: jacksfrustration - Nov-03-2023, 03:55 PM - Forum: General Coding Help - Replies (11)

i have the following function:

[python]

my_list=save_ent()
new_list=[]

for ent in my_list:
new_list.append(output_found_fli..... More

Print this item

  Homework help
Posted by: KatherineEP - Nov-03-2023, 05:55 AM - Forum: Homework - Replies (3)

Prompt says: Using the print function, print the numbers 0 to 6 on a single row to the console.


Attached Files

Thumbnail(s)
   
Print this item

  error "cannot identify image file" part way through running
Posted by: hatflyer - Nov-02-2023, 07:35 PM - Forum: General Coding Help - No Replies

I'm getting a very long list of errors part way when running the code below. The images come from: dog-vs-cat-classification/train/dogs , and the cat ..... More

Print this item

  Calling functions by making part of their name with variable
Posted by: crouzilles - Nov-02-2023, 09:58 AM - Forum: General Coding Help - Replies (4)

Hi,

I am new to python and programming in general.

I have the following 4 functions:

  • __scroll_down
  • __scroll_up
  • __scroll_left
  • __sc..... More

Print this item

  How to use .predict() method
Posted by: Jack90_ - Nov-02-2023, 09:28 AM - Forum: Data Science - Replies (4)

I am trying to apply a forecasted model with OLS regression to a test dataset, but when I use the .predict() method, I have this error:

[python]Value..... More

Print this item

  Correcting a Tutorial
Posted by: sonus89 - Nov-01-2023, 11:50 PM - Forum: News and Discussions - Replies (1)

Hi everyone!

Tutorialspoint has a Python Tutorial but I think I found an error there.

This section:
https://www.tutorialspoint.com/python/pytho..... More

Print this item

  Updating sharepoint excel file odd results
Posted by: cubangt - Nov-01-2023, 06:53 PM - Forum: General Coding Help - Replies (1)

So we display a excel file on our tv's in the office that has a embedded image on the sheet. I have a python script that updates that image daily. Whe..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Hire Cyber Codex Revoluti... 49 minutes ago Murphy_Graham Murphy_Graham General Codin...
  HIRE A HACKER FOR CRYPTO ... 1 hour ago AndreasMuller22 AndreasMuller22 General Codin...
  HIRE A HACKER FOR CRYPTO ... 1 hour ago AndreasMuller22 AndreasMuller22 General Codin...
  403 Error 2 hours ago CaptainNewb snippsat Web Scraping ...
  real community 3 hours ago decuser decuser News and Disc...
  variable changing types f... 4 hours ago Azdaghost Gribouillis General Codin...
  looking for help 6 hours ago Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... 8 hours ago Bona2000 Bona2000 General Codin...
  Select Python comment (#)... Yesterday, 23:27 SpongeB0B Pedroski55 General Codin...
  data input while debuggin... Yesterday, 15:32 fred1232 deanhystad General Codin...
  New to Python and Pygame Yesterday, 11:25 JMcM JMcM Game Developm...
Most views
  The best Prog... 575714
  Tutorial Requ... 496902
  Web Scraping ... 439757
  Newbie with P... 383413
  New Users Int... 364889
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+ 12087
buran 8174
snippsat 7367
deanhystad 6893
metulburr 5151
Top referrers
Googlepro 23
NonEntity 6
python 6
metulburr 6
buran 3
Newest members
Murphy_Graham Today
AndreasMuller22 Today
luisshulez6883 Today
KennedyRichadGuerra Today
Williefaree Today

User Panel Messages

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