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,963
» Latest member: chaoh1911
» Forum threads: 38,729
» Forum posts: 175,540

Full Statistics

Online Users
There are currently 57 online users.
» 0 Member(s) | 46 Guest(s)
Applebot, Bing, Google, AOL, Twitter, Mojeek, AOL

Latest Threads
My First App
Forum: Code Review
Last Post: carlbidwell
3 hours ago
» Replies: 8
» Views: 8,386
what does % stand for in ...
Forum: General Coding Help
Last Post: carlbidwell
4 hours ago
» Replies: 3
» Views: 1,770
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: Pedroski55
10 hours ago
» Replies: 3
» Views: 285
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Yesterday, 05:13 PM
» Replies: 4
» Views: 715
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:17 PM
» Replies: 1
» Views: 792
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:14 PM
» Replies: 6
» Views: 5,039
Regarding pdf for PCEP an...
Forum: News and Discussions
Last Post: Biks
Yesterday, 09:50 AM
» Replies: 1
» Views: 1,681
Using Python to SSH and R...
Forum: Networking
Last Post: SprunkiRetake
Yesterday, 03:53 AM
» Replies: 1
» Views: 2,723
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Yesterday, 12:32 AM
» Replies: 0
» Views: 336
extracting data from a us...
Forum: General Coding Help
Last Post: DeaD_EyE
Sep-25-2025, 01:49 PM
» Replies: 2
» Views: 576

 
  Anaconda programme
Posted by: Sbottaro - Jul-21-2020, 07:40 PM - Forum: Homework - Replies (4)

Hi everyone I have two exercises to do but it's my first time using Python so I found lot of problems...
Does anyone can help me?
The exercises are ..... More

Print this item

  How to calculate the lexical diversity average (with 1000 window word length)
Posted by: AOCL1234 - Jul-21-2020, 05:16 PM - Forum: Homework - Replies (6)

I want to calculate the lexical diversity average over the course of a text. The window word length is 1000, whereas the overlap between constrained t..... More

Print this item

  String Count
Posted by: Kristenl2784 - Jul-21-2020, 04:11 PM - Forum: General Coding Help - Replies (1)

Hello,

Down where my code says Stop2 (close to the bottom) I'm trying to count how many times a string occurs inside a file. It's almost working co..... More

Print this item

  Is there a way i print odd and even numbers separately?
Posted by: spalisetty06 - Jul-21-2020, 03:15 PM - Forum: General Coding Help - Replies (5)

I don't want the following output, I want the odd numbers, even numbers separately. Can you please help.
[python]
'''odd and even numbers under 10''..... More

Print this item

  How to shift data frame rows of specified column
Posted by: Mekala - Jul-21-2020, 02:42 PM - Forum: Data Science - No Replies

Hi,
I have dataframe, I wan to define new column same as Column1, and re-arrange the new columns rows as:
new_col rows 0-end should be replaced with..... More

Print this item

  help Create GUI
Posted by: yan_mhb - Jul-21-2020, 01:47 PM - Forum: GUI - Replies (9)

Hello,

I have a project in Python and I want to create an application.

the content of the Graphical interface is to create several windows for e..... More

Print this item

  Script for accepting GTC automatically
Posted by: maxtik2 - Jul-21-2020, 01:01 PM - Forum: Networking - Replies (2)

Hello together,

I want to write a script which automatically accepts the GTC when connecting to an open WIFI Network.
After my MikroTik (kind of a..... More

Print this item

  IMAPLIB
Posted by: PR3636 - Jul-21-2020, 11:19 AM - Forum: Networking - No Replies

Hello everyone,
I'm new to python, so any help would be much appreciated.
My project is to create a script that logs in to a Gmail account and provi..... More

Print this item

  need help with binning data
Posted by: figure8 - Jul-21-2020, 11:17 AM - Forum: Homework - Replies (3)

Hi there, I need help with binning some data for a homework question.
Say I have a list, [2, 3, 4, 5, 6, 8, 10, 12, 14, 16, 19, 21], I need to sort t..... More

Print this item

  Problems with windows paths
Posted by: delphinis - Jul-21-2020, 11:03 AM - Forum: General Coding Help - Replies (6)

Hello,
i try to create a button with an image. Problem: The correct Path is not interpreted correctly.
When i try this code
[python]
image_pat..... More

Print this item

  Need help with checkio problem
Posted by: saratha - Jul-21-2020, 10:57 AM - Forum: Homework - Replies (6)

Ok, so the problem is to solve this question...Can anyone help ?

In a given text you need to sum the numbers. Only separated numbers should be coun..... More

Print this item

  Setting up data base
Posted by: vgywer - Jul-21-2020, 10:14 AM - Forum: Homework - Replies (5)

good day, i got an assignment but i don't understand parts of it, because I never makes a DB like this in java.
I created the DB and gave the columns..... More

Print this item

  Create exe file including referenced image (*.png) files
Posted by: mart79 - Jul-21-2020, 09:49 AM - Forum: GUI - No Replies

Hi all,

I have a small program (see below example) that opens an image if you click on the button. This image (test.png) is stored in a folder (//I..... More


Attached Files

Thumbnail(s)
   
Print this item

  METADATA Errors
Posted by: millpond - Jul-21-2020, 08:22 AM - Forum: General Coding Help - No Replies

A while back when I upgraded pip to 20.1 I got the occasional error:
"ValueError: Entry points must be listed in groups"

I didnt think much of it,..... More

Print this item

  PyQT5 Thread crashes after a while
Posted by: Suresh - Jul-21-2020, 07:53 AM - Forum: GUI - Replies (2)

Hi.
This is my first thread. So please forgive if any mistake on my part. I have developed an application using opencv, pyqt5 and python. I am tryin..... More

Print this item

  How to display results from terminal window onto tkinter.
Posted by: buttercup - Jul-21-2020, 04:41 AM - Forum: GUI - No Replies

Hey all.
Ive made a Tkinter frontend using the following code:
[python]#!/usr/bin/env python3
import tkinter as tk
import subprocess
import tkint..... More

Print this item

  How to extract a single word from a text file
Posted by: buttercup - Jul-21-2020, 04:32 AM - Forum: General Coding Help - Replies (7)

Hey all. I have a test file called beta.txt which has the following data:
[inline]ARFCN: 990, Freq: 928.2M, CID: 667, LAC: 1007, MCC: 410, MNC: ..... More

Print this item

  Type Error or Value Error?
Posted by: spalisetty06 - Jul-21-2020, 04:01 AM - Forum: General Coding Help - Replies (3)

print(int("100.0"))
it is type error, how is it value error?

Print this item

  Any ideas on making this python web crawler code more secure and optimal?
Posted by: samlee916 - Jul-21-2020, 03:47 AM - Forum: Code Review - No Replies

Code prints out internal and external links and stores it into four different file formats.
How to execute program: python filename url
[python]
im..... More

Print this item

  GUI
Posted by: talkativemom - Jul-21-2020, 02:55 AM - Forum: GUI - Replies (3)

Getting a class FileDialogDemo not found in this code. What am I doing wrong?

[python]"""Write a GUI-based program that
allows the user to open, e..... More

Print this item

  Need help with for loop and variable value substitution in a function
Posted by: rsurathu - Jul-21-2020, 02:11 AM - Forum: General Coding Help - Replies (2)

Dear Sirs,

Good Day

Need help with the below code. Thanks in advance

Need a for loop here to run the below code on each of the IP Address pro..... More

Print this item

  Optimize a random walk "animation" in matplotlib
Posted by: tetrisbot - Jul-21-2020, 01:02 AM - Forum: Code Review - Replies (2)

Newbie here, learning python.
I am trying to make a very simple code to "animate" a random walk. I use the quotation marks because I don't really kno..... More

Print this item

  trying to pip install stasm module getting error
Posted by: djf123 - Jul-21-2020, 12:14 AM - Forum: General Coding Help - Replies (3)

I am trying to install the stasm module, and I have been getting an error message during the installation. The installation failed. I am using ..... More

Print this item

  how to add elements in the other window? (pysimplegui)
Posted by: syafiq14 - Jul-20-2020, 10:32 PM - Forum: GUI - No Replies

I want to add text elements every time I press the "Add" button

[python]
import PySimpleGUI as sg

layout1 = [
[
sg...... More

Print this item

  Append list into list within a for loop
Posted by: rama27 - Jul-20-2020, 09:56 PM - Forum: General Coding Help - Replies (2)

Hi, I would like to append lists into one list in a for loop. See my code bellow:

[python]def triangle(n: int):
pole = []
seznam = []
..... More

Print this item

  List all installed TeX packages in Linux
Posted by: Gribouillis - Jul-20-2020, 08:39 PM - Forum: Code sharing - Replies (2)

Been doing some Latex lately, so I wrote this little script to list all the tex packages on my system
[python]
#!/usr/bin/env python3
# name: list-tex..... More

Print this item

  Increment formula
Posted by: Kristenl2784 - Jul-20-2020, 08:03 PM - Forum: General Coding Help - Replies (4)

Hello,

How would I make it so that this formula keeps incrementing for example

'F2','=C2-E2')
'F3','=C3-E3')
'F4','=C4-E4')

This is what I ..... More

Print this item

  I don't get the order of how things are executed with main()
Posted by: pythonrookie - Jul-20-2020, 06:57 PM - Forum: General Coding Help - Replies (5)

Could someone please explain the order of the execution below? I thought main() is the very first function that get executed but somehow the print sta..... More

Print this item

  Creating Email Message Class in Python
Posted by: QuavoJ - Jul-20-2020, 06:38 PM - Forum: Homework - Replies (1)

My homework is creating an e-mail Message class (we create an e-mail Message class that models a basic email application). The first step in the homew..... More

Print this item

  If statment Saying text is not defined
Posted by: KieranPage - Jul-20-2020, 05:42 PM - Forum: General Coding Help - Replies (3)

Hi I am working on a text based game but I've ran into a slight problem. In the bit where you choose the weapon i use and input but for some reason it..... More

Print this item

  Match string return different cell string
Posted by: Kristenl2784 - Jul-20-2020, 05:31 PM - Forum: Data Science - No Replies

Hello,

Is there a way to search for a string, and once it's found return the value thats 9 cells below it?

This code reads in TFile only column ..... More

Print this item

  Can't access the net using Python's Selenium module
Posted by: ShishirModi - Jul-20-2020, 04:37 PM - Forum: General Coding Help - Replies (2)

Hey there!
I am creating a program that concerns with accessing the net. But my script isn't able to do it. I have used selenium module. Please look ..... More

Print this item

  run a health check script on cloud server through paramiko
Posted by: amritjsr - Jul-20-2020, 02:47 PM - Forum: General Coding Help - Replies (4)

I have a requirement of log into client server ( it's a cloud-server behind Bastion Hosts, we lg in through ssh tunnel )
Now i have to run health che..... More

Print this item

  String search in different excel
Posted by: Kristenl2784 - Jul-20-2020, 02:37 PM - Forum: General Coding Help - No Replies

Hello,

I'm working on code in between the ###### symbols near the bottom. I read in 'TN' column B only, and then I read in TDetail and made TDetail..... More

Print this item

  API with parameters exported to sql database
Posted by: PYTHONDUDE - Jul-20-2020, 01:18 PM - Forum: General Coding Help - No Replies

i have a URL and and also the api key to get data from an external website
howvever i need to provide 2 parameters to extract the data (Date, EMPLOYE..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  My First App 3 hours ago BCopeland64 carlbidwell Code Review
  what does % stand for in ... 4 hours ago arbiel carlbidwell General Codin...
  Unable to resolve FileNot... 10 hours ago llarkin6 Pedroski55 General Codin...
  [Tkinter] how to export a... Yesterday, 17:13 RonR noisefloor GUI
  Is the interpreter that c... Yesterday, 13:17 helendamdam noisefloor General Codin...
  pdf file processing: how ... Yesterday, 13:14 Pavel_47 noisefloor General Codin...
  Regarding pdf for PCEP an... Yesterday, 09:50 P212 Biks News and Disc...
  Using Python to SSH and R... Yesterday, 03:53 justaguy SprunkiRetake Networking
  My goal to be hired worki... Yesterday, 00:32 GnomeSweetGnome GnomeSweetGnome News and Disc...
  extracting data from a us... 09-25, 13:49 Perry DeaD_EyE General Codin...
  pip install requests does... 09-24, 14:48 misodca DeaD_EyE General Codin...
Most views
  The best Prog... 577104
  Tutorial Requ... 499973
  Web Scraping ... 440830
  Newbie with P... 384824
  New Users Int... 369023
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+ 12088
buran 8176
snippsat 7367
deanhystad 6896
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
chaoh1911 Today
KaydenJonah098 Today
carlbidwell Today
llarkin6 Yesterday
Xuitar Yesterday

User Panel Messages

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