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,251
» Latest member: ftk456
» Forum threads: 38,780
» Forum posts: 175,822

Full Statistics

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

Latest Threads
why is the image not show...
Forum: General Coding Help
Last Post: deanhystad
11 hours ago
» Replies: 2
» Views: 73
New to python and coding
Forum: Homework
Last Post: jefsummers
Yesterday, 12:09 PM
» Replies: 4
» Views: 122
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Yesterday, 10:11 AM
» Replies: 6
» Views: 218
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Nov-11-2025, 09:52 AM
» Replies: 11
» Views: 345
Backward compatibility qu...
Forum: News and Discussions
Last Post: Gribouillis
Nov-11-2025, 05:07 AM
» Replies: 5
» Views: 305
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Nov-10-2025, 05:37 AM
» Replies: 1
» Views: 133
Data Science
Forum: Data Science
Last Post: mamta25
Nov-10-2025, 05:27 AM
» Replies: 3
» Views: 2,632
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 228
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 217
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 376,607

 
  moving label position
Posted by: rwahdan - Jun-28-2021, 04:35 AM - Forum: GUI - Replies (1)

I am trying to animate a label by moving it little by little. I have the following code but it is not doing anything.

[python]
global status_name..... More

Print this item

  gensim (TfidfModel): How much is the Tf-Idf computed?
Posted by: JaneTan - Jun-28-2021, 04:20 AM - Forum: Data Science - No Replies

Hi

For the below test text ,
test=['test test', 'test toy'],
the tf-idf score is
[['test', 1.0]]
[['test', 0.35], ['toy', 0.94]]

I am not sure h..... More

Print this item

  f string concatenation problem
Posted by: growSeb - Jun-28-2021, 04:19 AM - Forum: General Coding Help - Replies (3)

Hi Group, I'm new. So hopefully I'll figure out how to navigate this forum and get the help I need as I'm trying to learn python. Currently, I'm havin..... More

Print this item

  Complete beginnner making a text based adventure
Posted by: Mishmaccles - Jun-28-2021, 01:27 AM - Forum: Game Development - Replies (2)

Hello there

I’ve decided to start a new hobby and I’m following a tutorial on making a text based adventure.

I’d like to insert a question durin..... More

Print this item

  Imports in my first package
Posted by: cuppajoeman - Jun-27-2021, 11:36 PM - Forum: General Coding Help - Replies (1)

Hi there, I have just created my first package and I'm testing it out before I upload it to pypi. As ..... More

Print this item

  Read and write active Excel file
Posted by: euras - Jun-27-2021, 07:58 PM - Forum: General Coding Help - Replies (4)

Hi, is it possible to read and write an active Excel workbook? All I have found so far, is either create a new Excel and write inn, or provide a path ..... More

Print this item

  script with imports works but pytest gives "ModuleNotFoundError"?
Posted by: Hpao - Jun-27-2021, 05:33 PM - Forum: General Coding Help - No Replies

I'm trying to setup my first python project with pytest but I'm having trouble executing my tests. The module itself seems to be working as intended..... More

Print this item

  Subdividing a column
Posted by: mesh01 - Jun-27-2021, 04:16 PM - Forum: General Coding Help - Replies (8)

Hi,

I have an "input.txt" file which contains this column of numbers:

5 
77 
1
-4
9
17
13
2
1
5
63
8
I wo..... More

Print this item

  statusbars
Posted by: rwahdan - Jun-27-2021, 04:01 PM - Forum: GUI - Replies (4)

Hi,

I need to have only 1 status bar to display some info in the bottom right and some other info in the bottom left but all in the same line (same..... More

Print this item

  books on learning coding
Posted by: alok - Jun-27-2021, 02:28 PM - Forum: News and Discussions - Replies (3)

I purchased the PYTHON CRASH COURSE ,2nd edition. Is there another book that would be very basic on learning this code that someone can recommend. I f..... More

Print this item

  ssh tunnel connection dropped with Python
Posted by: achille - Jun-27-2021, 02:17 PM - Forum: Networking - No Replies

under linux bash, I build ssh tunnel this way:
ssh -ND 5545 -vvv -p 443 user@server

[output][...]
user@server's password:
[...]
de..... More

Print this item

  the first item in listbox
Posted by: rwahdan - Jun-27-2021, 01:40 PM - Forum: GUI - Replies (4)

Hi,

I need to know how to get the value of the first item in the listbox?

song_box.select_set(0)
I think this will only make..... More

Print this item

  How to test and import a model form computer to test accuracy using Sklearn library
Posted by: Anldra12 - Jun-27-2021, 08:42 AM - Forum: General Coding Help - Replies (6)

Which types of data model we can test
like which format don't know i have some model i want to check the accuracy using logistic regression fo..... More

Print this item

  Convert timedelta to specified format
Posted by: Planetary_Assault_Systems - Jun-27-2021, 08:08 AM - Forum: General Coding Help - Replies (3)

Hello

I am currently attempting to create a web dashboard for analytics in Formula1 using plotly and flask as per the article
..... More

Print this item

Brick How to make collisions in isometrick game?
Posted by: Grigory - Jun-26-2021, 04:36 PM - Forum: Game Development - Replies (1)

Win 10
Python 3.9.5

I need to make collisions for my isometric game and for player
Can someone help me?
Sorry for bad english, i from Ukraine.
..... More

Print this item

  Plotting Multiple files !
Posted by: Helen_145 - Jun-26-2021, 01:35 PM - Forum: General Coding Help - Replies (1)

[b]How can I read multiple data files and plot them in the same frame (not separately), like in a video form; first map appears for couple of seconds,..... More

Print this item

  Suitable Data Modelling Packages
Posted by: JoeDainton123 - Jun-26-2021, 12:32 PM - Forum: Data Science - Replies (3)

Hello all

I was wondering if anyone could help me regarding information / guidance on the best packages for data modelling.

I work on the highwa..... More

Print this item

  Very new to Python world
Posted by: daveseaman - Jun-25-2021, 07:17 PM - Forum: General Coding Help - No Replies

I am very new to Python and I would like to wright a script to allow openVpn to open a connection buy a customer number and pull the site key from a f..... More

Print this item

  Turtle onkey()
Posted by: simonc8 - Jun-25-2021, 06:16 PM - Forum: General Coding Help - Replies (12)

Is there a way to write a turtle onkey() statement so it will listen for any letter key, or can you only specify a single key in each onkey() statemen..... More

Print this item

  numpy.savetxt()
Posted by: mesh01 - Jun-25-2021, 04:37 PM - Forum: General Coding Help - Replies (2)

Hi,

this code works fine:

[python]
import numpy as np

data = np.array([3,2,55,4])

for i in range(4):
data[i] = data[i]+3

pr..... More

Print this item

  check if entry is null
Posted by: rwahdan - Jun-25-2021, 03:37 PM - Forum: GUI - Replies (2)

Hi,

I am trying to check if an entry is null but not succeeded to do so.

[python]
cap_entry = sec_entry.get()
if cap_entry in str(image_ra..... More

Print this item

  Question on True expressions
Posted by: mgreen2251660 - Jun-25-2021, 02:29 PM - Forum: General Coding Help - Replies (2)

I am new to Python and I am taking a course in Python. I have an expression that I do not understand what the answer should be. My instructor gave m..... More

Print this item

  Flattening attribute access
Posted by: ruy - Jun-25-2021, 12:09 PM - Forum: General Coding Help - Replies (5)

Hi there

I have a class PrintValue that contains as attribute an instances of another class PrintMetaData. In ord..... More

Print this item

  Cryptographic message syntax CMS and Qualified Seal
Posted by: arno23 - Jun-25-2021, 11:01 AM - Forum: Networking - No Replies

I would need help with generate CMS and then when is generated, I need to add Qualified seal to thist object/file.

I have ZIP file that is encrypt ..... More

Print this item

  image in label not showing?
Posted by: rwahdan - Jun-25-2021, 09:49 AM - Forum: GUI - Replies (2)

Hi,

I am trying to show image in label but it is not showing.

[python]
image3 = tkinter.PhotoImage(file="1.png")
Label(cvv_screen, text="", im..... More

Print this item

  Reading Multiple text Files in pyhton
Posted by: Fatim - Jun-25-2021, 09:30 AM - Forum: General Coding Help - Replies (1)

I have been working on .txt format files. Almost 13 k files and wanted to extract Age and gender from all the files in separate csv file . I ha..... More

Print this item

  Nested Python functions (Dan Bader's book)
Posted by: Drone4four - Jun-25-2021, 08:56 AM - Forum: General Coding Help - Replies (4)

Check out this script:

[python]
def get_speak_func(volume):
def whisper(text):
return text.lower() + '...'
def yell(text):
return..... More

Print this item

  Why did they put a while loop here?
Posted by: Pedroski55 - Jun-25-2021, 03:21 AM - Forum: Game Development - Replies (2)

I know nothing about pygame, just started learning about it. I got the code below from here[/url[url=https://python-forum.io/thread-34091.html]..... More

Print this item

  Cannot print if 'sys.stdout' is in snipped
Posted by: tester_V - Jun-25-2021, 01:52 AM - Forum: Networking - Replies (2)

Greetings!
Sorry if this is the wrong place for the post!
I'm converting IPs to Hosts, and it works fine but I cannot print anything in the script b..... More

Print this item

  Incorrect Type Error
Posted by: milkycow - Jun-24-2021, 11:53 PM - Forum: General Coding Help - Replies (4)

Hi guys,

I am a Pythong newbie and I am coding using the sasPy package. I am just running an initial script from SAS to test integration and I am ..... More

Print this item

  Statsmodels Multiple Regression Syntax Error
Posted by: Burger - Jun-24-2021, 11:17 PM - Forum: Data Science - Replies (2)

I've been able to use the statsmodels.api regression when assigning variables to x and y with no issues, however, now I am trying to use the statsmode..... More

Print this item

  Best Fit In Python
Posted by: JoeDainton123 - Jun-24-2021, 07:49 PM - Forum: General Coding Help - Replies (2)

Hi all

I was wondering is anyone could give me some guidance on how to solve the following problem.

I have list of numbers that represent temper..... More


Attached Files

Thumbnail(s)
   
Print this item

  making : optional
Posted by: Skaperen - Jun-24-2021, 07:47 PM - Forum: News and Discussions - Replies (3)

is there any case where a compound statement (if, while, for, try, with) can be made without ending with a : character? i cannot find any in the Pyth..... More

Print this item

Smile Help making number analysis program
Posted by: Dainer - Jun-24-2021, 06:54 PM - Forum: General Coding Help - Replies (2)

Hello everybody

I need a code for number analysis. I imagine this can be done in Python and I think it would be rather easy task for somebody famil..... More

Print this item

  Installing Miniforge for Apple m1 Processor
Posted by: Led_Zeppelin - Jun-24-2021, 05:50 PM - Forum: General Coding Help - Replies (2)

I need help in understanding something. I have access to an Apple MacBook Air with an M1 processor. I want to take full advantage
of the M1 process..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  why is the image not show... 11 hours ago sarbogast deanhystad General Codin...
  New to python and coding Yesterday, 12:09 lary_p jefsummers Homework
  Help with Serial.write in... Yesterday, 10:11 racingsubby Larz60+ General Codin...
  [Tkinter] I’m building a ... 11-11, 09:52 tsgiannis tsgiannis GUI
  Backward compatibility qu... 11-11, 05:07 yutaozhou Gribouillis News and Disc...
  [split] print two differe... 11-10, 05:37 Reema Gribouillis General Codin...
  Data Science 11-10, 05:27 Oshadha mamta25 Data Science
  Two arguments in input fu... 11-09, 00:56 Alfredd Pedroski55 General Codin...
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... 11-07, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... 11-07, 06:07 almahdi mamta25 News and Disc...
Most views
  The best Prog... 578898
  Tutorial Requ... 510061
  Web Scraping ... 441932
  Newbie with P... 385944
  New Users Int... 376607
Most reputation
buran 581
snippsat 510
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+ 12107
buran 8195
snippsat 7388
deanhystad 6908
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
ftk456 Yesterday
sarbogast Yesterday
bmurray Yesterday
kai_cow2710 Yesterday
Kacper 11-11

User Panel Messages

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