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,492
» Latest member: ishani007
» Forum threads: 38,579
» Forum posts: 174,817

Full Statistics

Online Users
There are currently 478 online users.
» 0 Member(s) | 475 Guest(s)
Bing, Yandex, Google

Latest Threads
Error on import: SyntaxEr...
Forum: General Coding Help
Last Post: Kiongi
5 hours ago
» Replies: 8
» Views: 21,109
Wish to write a code for ...
Forum: General Coding Help
Last Post: DeaD_EyE
7 hours ago
» Replies: 3
» Views: 561
How can I write formatted...
Forum: General Coding Help
Last Post: hanmen9527
Yesterday, 12:26 PM
» Replies: 13
» Views: 28,770
problems with netcdf if I...
Forum: General Coding Help
Last Post: vytlacfoto
Yesterday, 05:31 AM
» Replies: 17
» Views: 1,461
How to attach images to a...
Forum: Board
Last Post: sethmike9
May-19-2025, 04:08 AM
» Replies: 6
» Views: 8,910
How To Attach data Files
Forum: Board
Last Post: sethmike9
May-19-2025, 04:05 AM
» Replies: 3
» Views: 4,168
Text frame
Forum: Homework
Last Post: Pedroski55
May-18-2025, 07:39 PM
» Replies: 2
» Views: 419
Python automation: Sendin...
Forum: General Coding Help
Last Post: olips784
May-18-2025, 06:28 PM
» Replies: 0
» Views: 214
class Blockage not projec...
Forum: General Coding Help
Last Post: deanhystad
May-15-2025, 04:32 PM
» Replies: 1
» Views: 323
Import vs from x import
Forum: General Coding Help
Last Post: snippsat
May-15-2025, 04:09 PM
» Replies: 1
» Views: 259

 
  returning a List of Lists
Posted by: nafshar - Oct-28-2022, 05:36 PM - Forum: General Coding Help - Replies (3)

I am trying to return an empty list of lists from a function so that, when printed, will look like : [[""]]

But a return like the following result ..... More

Print this item

  Hover over highlighted text and open popup window
Posted by: DrakeSoft - Oct-28-2022, 11:19 AM - Forum: GUI - Replies (2)

Hi,

I am looking for an approach that might allow me to hover over a highlighted work in a QTextEdit widget and on hovering open a pop-up window to..... More

Print this item

  python gzip all files from a folder
Posted by: mg24 - Oct-28-2022, 04:16 AM - Forum: General Coding Help - Replies (3)

Hi Team,

I want to gzip all files of a folder \or complete folder. save with different name.
before deleting all files from a folder. how to achi..... More

Print this item

  python r string for variable
Posted by: mg24 - Oct-28-2022, 01:56 AM - Forum: General Coding Help - Replies (3)

Hi Team,

how to apply r(raw string) for a variable path
r"\\IND200300400.XXX.XXXX.XXX\Recon Project\output1" ---------here directly attached r it..... More

Print this item

  TkInter Realtime calculation
Posted by: marlonsmachado - Oct-28-2022, 12:35 AM - Forum: GUI - Replies (3)

Hello all,

I have a program where I receive a real-time data via TCP-IP using sockets, where I want to use one specific data to make a calculation ..... More

Print this item

  How to get cell(x,y).value = "\'=name(p)" to show correctly ??
Posted by: ozlevia - Oct-27-2022, 09:54 PM - Forum: General Coding Help - Replies (9)

Creating an excel file that is designed to be processed by another package (OpenL).
I am trying to enter into a call the string:
=name(parameter..... More

Print this item

  Creating csv files from Excel file
Posted by: azizrasul - Oct-27-2022, 09:37 PM - Forum: General Coding Help - Replies (40)

I want to transfer worksheets in a workbook into individual csv files per worksheet (I am experimenting with 1 worksheet at the moment). I found the f..... More

Print this item

  Determine whether text in QTableView cell is fully visible or not
Posted by: random_nick - Oct-27-2022, 09:29 PM - Forum: GUI - No Replies

Hi!

I need to implement a feature for QTableView which many spreadsheet programs have. For example, LibreOffice Calc shows an arrow for a cell if t..... More

Print this item

  Version Control with GIT
Posted by: Larz60+ - Oct-27-2022, 08:15 PM - Forum: News and Discussions - Replies (1)

This site is new to me, but started in 2018 and appears to be updated on a regular basis.
I have used git for a long time, but am only familiar with ..... More

Print this item

  Modifying a date format
Posted by: jehoshua - Oct-27-2022, 08:14 PM - Forum: General Coding Help - Replies (17)

I have some QIF data in a file, and the 'Date" record needs modifying. The Dates are of the format

D4/7'2004

and they need to be changed to

D..... More

Print this item

  run a command, capture output, what form do you want?
Posted by: Skaperen - Oct-27-2022, 07:04 PM - Forum: News and Discussions - Replies (7)

when you run a command with the intent to get the output of that command, in what form would be most convenient for you?

1. what if the command is..... More

Print this item

  Wsgiref with asyncio ?
Posted by: JohnnyCoffee - Oct-27-2022, 06:59 PM - Forum: Networking - Replies (8)

I'm wanting to relate the asyncio module with wsgiref to work with asynchronous requests could anyone give me an idea of a functional implementation ?..... More

Print this item

  ibm_db install problem
Posted by: mesi1000 - Oct-27-2022, 05:52 PM - Forum: General Coding Help - Replies (1)

I have problem to install ibm_db on Windows Home 10
I managed to install it in Visual Studio with the info successfull instalation but when trying to..... More

Print this item

  delete all files and subdirectory from a main folder
Posted by: mg24 - Oct-27-2022, 12:54 PM - Forum: General Coding Help - Replies (7)

Hi Team,

I want to delete all files and subfolder from a main directory.
D:\\Data\abc.txt,abc.csv,xyz.pdf etc.
Delete all content from Data folde..... More

Print this item

  reading in a doc
Posted by: IOHANNES - Oct-27-2022, 10:53 AM - Forum: General Coding Help - Replies (4)

Hi i come back with a problem. Again. I code the second module of my program, this one have to match two docs, one containing a novel's list and the s..... More

Print this item

  Etiquette
Posted by: rob101 - Oct-27-2022, 08:41 AM - Forum: Bar - Replies (2)

As I'm relatively new to this Forum site, I'm unsure about the etiquette with regards to a reputation boost.

First of all: my sincere thanks to eve..... More

Print this item

  can I setup another IP for my computer while running app?
Posted by: korenron - Oct-27-2022, 08:32 AM - Forum: General Coding Help - Replies (3)

Hello,
can I run a code that will add another IP to my network card?

for example
my computer is now 10.0.0.2/24
can I make it add 192.168.1.2/..... More

Print this item

Video Need help creating game menu with clickable buttons
Posted by: BliepMonster - Oct-27-2022, 08:12 AM - Forum: News and Discussions - Replies (2)

Hello

I've been developing a game for the last 7 weeks or so, but it's just a text game. I want to have like a menu for the game with clickable but..... More

Print this item

  Automate MML Commands
Posted by: saisankalpj - Oct-27-2022, 07:46 AM - Forum: General Coding Help - Replies (10)

I need to extract files from U2020 server. For this purpose i need to run MML Commands.I have the commands with me.But each time instead of manually e..... More

Print this item

  Explain the python code in this definition
Posted by: Led_Zeppelin - Oct-26-2022, 08:32 PM - Forum: General Coding Help - Replies (1)

I found the following python o online and it looks very useful to me.

[code]
def get_mean_features(sensor_list, df):
"""
Function to ge..... More

Print this item

  Plotly send pandas.errors.UndefinedVariableError.
Posted by: Frankduc - Oct-26-2022, 07:18 PM - Forum: General Coding Help - Replies (3)

Hello,

I am trying to create a chart from data in xlsx.

[python]
import pandas as pd
import plotly.express as px


dataframe1 = pd.read_exc..... More

Print this item

  how to make sure an input is from the wanted type
Posted by: astral_travel - Oct-26-2022, 05:56 PM - Forum: General Coding Help - Replies (16)

hey guys,
so as a continuation of the previous thread - and taking my own code (as it is easier for me to comprehend) , how do you make sure an input..... More

Print this item

  newbie here
Posted by: blacknero004 - Oct-26-2022, 05:18 PM - Forum: Homework - Replies (2)

hi.i am struggling with my code because i dont get it why.
my code is:
[python]
def isPrime(x):
"""Returns whether or not the given number x i..... More

Print this item

  Command line argument issue space issue
Posted by: mg24 - Oct-26-2022, 03:48 PM - Forum: General Coding Help - Replies (5)

Hi Team,

I am running this script via command line it is working.
python test.py sql_Table1 "\\IND200300400.XXX.XXXX.XXX\Recon Project\output1"
..... More

Print this item

Bug Writing in a document problem
Posted by: IOHANNES - Oct-26-2022, 11:45 AM - Forum: General Coding Help - Replies (4)

Hi everyone, i'm French and i try to code in python language. In university we have to code in html/xml and i try to developp an app that put automati..... More

Print this item

  Code won't break While loop or go back to the input?
Posted by: MrKnd94 - Oct-26-2022, 09:36 AM - Forum: General Coding Help - Replies (2)

Hello,

I'm trying to input a list with a While loop, and then print the list when it is over 100 (the number), but it keeps going even though I put..... More

Print this item

  a wish
Posted by: Skaperen - Oct-26-2022, 12:35 AM - Forum: Bar - No Replies

i wish i really could get my real life weight down to that of a duck. oh wait. that would be too far underweight.

Print this item

  1 in (True,)
Posted by: Skaperen - Oct-26-2022, 12:31 AM - Forum: News and Discussions - Replies (1)

Output:
>>> 1 in (True,) True
i finally got a round tuit and tested this. and it was so simple to test. what i need to do is m..... More

Print this item

  Asyncio | Websockets - general problem starting the server
Posted by: dreamer - Oct-25-2022, 09:40 PM - Forum: Networking - Replies (5)

Hi,

Unfortunately, my experience in websocket programming is not yet great.

I am trying to migrate my current simplewebsocket server to the sock..... More

Print this item

  BeautifulSoup - I can't translate html tags that contain <a href=..</a> OR <em></em>
Posted by: Melcu54 - Oct-25-2022, 05:22 PM - Forum: General Coding Help - Replies (10)

I can't translate html tags that contain other tags (such as <a href=..</a> OR <em></em>)

In example below, the paragraph [b]<p class JAGAAA>..</p>..... More

Print this item

  Сheck if an element from a list is in another list that contains a namedtuple
Posted by: elnk - Oct-25-2022, 04:26 PM - Forum: General Coding Help - Replies (8)

Hello, i have this code:

[python]def some_generator(some_args):
Import = namedtuple("Import", ["module", "name", "alias"]) # "module", "name" and..... More

Print this item

  repeating a user_input
Posted by: astral_travel - Oct-25-2022, 03:49 PM - Forum: General Coding Help - Replies (17)

okay, so i have this code:

[python]
import random

RNumber = random.randint(0,10)

user_input = int(input("please guess a number between 0 and..... More

Print this item

Question Is the book "automate the boring stuff" still relevant?
Posted by: Pyrathon - Oct-25-2022, 02:59 PM - Forum: News and Discussions - Replies (1)

Hey guys, is this book still good for learning the newest version of Python?
I'm a starter and have no..... More

Print this item

  python logger help ... save logger into different folder
Posted by: mg24 - Oct-25-2022, 01:49 PM - Forum: General Coding Help - Replies (1)

Hi Team,

I am using below code for logger.
Created logger function. and calling that function its working.


I want to save logger file into d..... More

Print this item

  Move column to the right if it starts with a letter
Posted by: mfernandes - Oct-25-2022, 11:22 AM - Forum: General Coding Help - No Replies

I want to move all columns to the right if my row starts with a letter, not a number.
Dataframe that I have:
[python]
var1 var2 var3 ...
9 ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Error on import: SyntaxEr... 5 hours ago kirkwilliams2049 Kiongi General Codin...
  Wish to write a code for ... 7 hours ago Hasan2025 DeaD_EyE General Codin...
  How can I write formatted... Yesterday, 12:26 JohnJSal hanmen9527 General Codin...
  problems with netcdf if I... Yesterday, 05:31 Blaubart vytlacfoto General Codin...
  How to attach images to a... 05-19, 04:08 CynthiaMoore sethmike9 Board
  How To Attach data Files 05-19, 04:05 Talch sethmike9 Board
  Text frame 05-18, 19:39 dnabtuh Pedroski55 Homework
  Python automation: Sendin... 05-18, 18:28 olips784 olips784 General Codin...
  class Blockage not projec... 05-15, 16:32 Azdaghost deanhystad General Codin...
  Import vs from x import 05-15, 16:09 Calab snippsat General Codin...
  Trouble with Average Calc... 05-15, 07:38 autodecay Pate General Codin...
Most views
  The best Prog... 566453
  Tutorial Requ... 461206
  Web Scraping ... 431399
  Newbie with P... 368588
  Thread remain... 340720
Most reputation
buran 580
snippsat 506
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 449
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12051
buran 8170
snippsat 7326
deanhystad 6827
metulburr 5151
Top referrers
Googlepro 22
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
ishani007 Today
blueglasses Today
Kiongi Today
daddatyagi Today
Luis_Rivera Yesterday

User Panel Messages

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