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,236
» Latest member: Cristiano
» Forum threads: 38,776
» Forum posts: 175,790

Full Statistics

Online Users
There are currently 53 online users.
» 0 Member(s) | 45 Guest(s)
Bing, Google, Facebook, Applebot

Latest Threads
Two arguments in input fu...
Forum: General Coding Help
Last Post: noisefloor
8 hours ago
» Replies: 3
» Views: 79
Backward compatibility qu...
Forum: News and Discussions
Last Post: buran
11 hours ago
» Replies: 3
» Views: 92
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Yesterday, 07:29 PM
» Replies: 0
» Views: 67
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 11:59 AM
» Replies: 3
» Views: 98
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Yesterday, 09:09 AM
» Replies: 452
» Views: 375,041
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Yesterday, 06:07 AM
» Replies: 2
» Views: 3,362
Recommend me a Python boo...
Forum: Data Science
Last Post: mamta25
Nov-06-2025, 08:33 AM
» Replies: 7
» Views: 5,554
Code runs perfectly and j...
Forum: General Coding Help
Last Post: noisefloor
Nov-05-2025, 05:56 PM
» Replies: 2
» Views: 182
Natural language processi...
Forum: Homework
Last Post: offsoar
Nov-05-2025, 02:03 PM
» Replies: 2
» Views: 3,194
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-05-2025, 08:31 AM
» Replies: 5
» Views: 7,439

 
  Write sql data or CSV Data into parquet file
Posted by: mg24 - Sep-25-2022, 10:58 PM - Forum: General Coding Help - Replies (2)

Hi Team,

How to write SQL Table data to parquet file. and compress to gzip.
SQL Table data size is 60gb.

or from writing sql data to csv first ..... More

Print this item

  seeking names for my functions
Posted by: Skaperen - Sep-25-2022, 10:56 PM - Forum: News and Discussions - No Replies

i am completely refactoring a function i wrote a year or two ago that runs a POSIX command pipeline (commands chained with STDOUT from a command feedi..... More

Print this item

  Create a function for writing to SQL data to csv
Posted by: mg24 - Sep-25-2022, 10:49 PM - Forum: General Coding Help - Replies (4)

Hi Team,

I am using below piece of code for writing SQL Data into csv file. size of data is big. 60gb
I want to create a generic function d..... More

Print this item

  UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 34: character
Posted by: Melcu54 - Sep-25-2022, 08:01 PM - Forum: General Coding Help - Replies (7)

hello. I donit know what to to with this error:

[python]UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 34: character maps to ..... More

Print this item

  Appending Dataframes along columns
Posted by: MBhuvaneshwari - Sep-25-2022, 05:47 PM - Forum: General Coding Help - Replies (1)

i wanted to append only non empty dataframes from a set of dataframes.. using python!!
I tried so using following code:
dfs = [df2_test,df3_test,df4..... More

Print this item

  If - Then With Dates
Posted by: Hockey_Rob - Sep-25-2022, 03:53 PM - Forum: General Coding Help - No Replies

All,

I am very new to python and I am struggling to create conditional formulas with dates. I have two excel spreadsheets that I have read in usin..... More

Print this item

  0 == 0 is 0
Posted by: yalajules - Sep-25-2022, 03:49 PM - Forum: General Coding Help - Replies (4)

Hi,
I don't understand why 0 == 0 is 0 returns True ? What is the order of priority ?
Although (0==0) is 0 returns False and 0 == (0 is 0..... More

Print this item

  Presenting random test questions
Posted by: oradba4u - Sep-25-2022, 02:47 PM - Forum: General Coding Help - Replies (2)

I have Python 3.10, and want to read a series of multiple choice or Yes-No/True-False test questions into a list (or array or whatever) from an Excel ..... More

Print this item

  Right to left alignment in python report using Reportlab
Posted by: jalal0034 - Sep-25-2022, 06:51 AM - Forum: General Coding Help - Replies (1)

Hi Everyone, How can I write Right to left passage in Report lab in persian language using Reportlab ?

my code returns this file :

[img]https://..... More

Print this item

  [Solved]Help Displaying Emails properly via Python
Posted by: Extra - Sep-24-2022, 10:35 PM - Forum: General Coding Help - Replies (5)

Hello,

I have a sendEmail Function for my voice assistant which allows it to send emails. The emails send successfully, but they don't display prop..... More


Attached Files

Thumbnail(s)
       
Print this item

  [Solved]Help getting out of loop
Posted by: Extra - Sep-24-2022, 09:24 PM - Forum: GUI - Replies (5)

Hello,

I have a GUI where I click a button and I want it to launch tmy "A.I" Assistant (BAXTER_V5.py) but when I click the button on my GUI I get s..... More

Print this item

  Help combining 2 of my codes to 1
Posted by: Extra - Sep-24-2022, 06:40 PM - Forum: General Coding Help - No Replies

Hello,

I have this chunk of code here (pairs.py):
[python]
import nltk
from nltk.chat.util import Chat, reflections

pairs = [
[
r"my nam..... More

Print this item

  Saving the print result in a text file
Posted by: Calli - Sep-24-2022, 04:22 PM - Forum: General Coding Help - Replies (8)

Hi guys another day another issue.. So I have this code

[python]
from contextlib import suppress
from ipaddress import IPv6Address, ip_address
..... More

Print this item

  Using scipy.optimize: curve_fit
Posted by: ju21878436312 - Sep-24-2022, 01:15 PM - Forum: Data Science - No Replies

Hey there,

I would like to model exponential data by a curve_fit with scipy. The fit fits well for small x-values, but less so for bigger x-values..... More

Print this item

  When is stdin not connected to a tty, but can still be used interactively?
Posted by: stevendaprano - Sep-24-2022, 12:25 PM - Forum: General Coding Help - Replies (1)

I'm looking at some code which is intended to be used interactively, and I don't quite understand it.

Simplified, the code looks like this:

[pyt..... More

Print this item

  debugging help on Visual Studio Code
Posted by: mg24 - Sep-24-2022, 11:17 AM - Forum: General Coding Help - Replies (12)

Hi Team,

I want to take cursor to previous line on visual studio code editor.
tried on pycharm also it didn't worked.

Can we jump back to previ..... More

Print this item

Sad triangle numbers
Posted by: Woody_MC_2022 - Sep-24-2022, 09:08 AM - Forum: General Coding Help - Replies (5)

Hi all, I want to print the output as below:-

Output:
1 X2 XX3 XXX4 XXXX5 XXX4 XX3 X2 1

I tried to solve the problem above..... More

Print this item

  How to use pandas to compare two DataFrames having different structure
Posted by: traja47 - Sep-24-2022, 06:09 AM - Forum: General Coding Help - No Replies

hi all
Please accept my apologies if this is not the correct forum for pandas.,
I am a new python pandas user and have a question.

I have two Dat..... More


Attached Files

Thumbnail(s)
               
Print this item

  Key features of Python Frameworks
Posted by: JahnviK - Sep-24-2022, 06:09 AM - Forum: News and Discussions - No Replies

We were asked to teach Python Frameworks to a class of fellow students (4th year college undergrads). We talked about the basic building blocks like H..... More

Print this item

  Replace Meson with PIP
Posted by: ChrisOfBristol - Sep-23-2022, 06:28 PM - Forum: General Coding Help - Replies (4)

I have a Flatpak which uses Meson to install the main Python program. There is a meson.build file which finds appropriate directory names and does thi..... More

Print this item

  How to calculated how many fail in each site(s) in csv files
Posted by: SamLiu - Sep-23-2022, 03:25 PM - Forum: General Coding Help - Replies (4)

Hi all,

I just get how many test quantity for each site(s),and then want to calculated each site pass quantity. I have no idea to do that,someone c..... More

Print this item

  pip install pystyle doesnt work
Posted by: person_probably - Sep-23-2022, 02:30 PM - Forum: General Coding Help - Replies (2)

i cant use pip install because it does... Invalid Syntax specified on install
i dont know how it works can i get help please <button>help me</button..... More

Print this item

  How to set new opened form activate and minimize main from after new for opened?
Posted by: jalal0034 - Sep-23-2022, 03:08 AM - Forum: GUI - Replies (5)

Hi everyone, my new from is in front of my main form but its not activate! I have to click on in to become activate.
How can I handle it ?
Is it pos..... More

Print this item

  Python-Can I get some help with this ModuleError
Posted by: AlexPython - Sep-23-2022, 12:02 AM - Forum: General Coding Help - Replies (12)

The program works fine if I run it on Pycham but if I try to run it on IDLE 3.9 it displays an error. I already try the (pip install k) but It don't w..... More

Print this item

  writing data from Amazon Workspaces to CSV
Posted by: isaac_python - Sep-22-2022, 10:36 PM - Forum: News and Discussions - Replies (5)

Hello,

I'm trying to get my output from Amazon Workspaces to print to a file. I can get the data from workspaces, but I have not been able to write..... More

Print this item

  Installing Pillow from remote archive in Linux Flatpak
Posted by: ChrisOfBristol - Sep-22-2022, 07:57 PM - Forum: General Coding Help - Replies (6)

I've got a Flatpak which uses Python and Pillow (among other things). The installation of Pillow (was written for me, had contradictions and probably ..... More

Print this item

  Stock Return calculation problem
Posted by: LFin - Sep-22-2022, 01:14 PM - Forum: General Coding Help - Replies (10)

Hello,

I am trying to solve a portfolio management kind of exercise and I don't know what is wrong in my code. I am a beginner in Python but I know ..... More

Print this item

  How to make use of this button with selenium?
Posted by: Nohah - Sep-22-2022, 10:22 AM - Forum: Web Scraping & Web Development - No Replies

Any one know how to get a usful ID from this:

//*[@id="main-content"]/div/div[2]/div/div[1]/div/div/div[12]/div/div[2]/div/header/div/span/button/d..... More

Print this item

  List Sorting Problem
Posted by: ZZTurn - Sep-22-2022, 02:55 AM - Forum: General Coding Help - Replies (5)

Sorry I am a novice.

I am trying to sort a custom dictionary consisting of a list of 2-element lists, (lexical entry and definition), using sort()..... More

Print this item

  managing new windows
Posted by: JonWayn - Sep-22-2022, 01:29 AM - Forum: General Coding Help - Replies (1)

I need to control a website at which the links i interact with open in a new popup/tab. The href attribute of the links do me no good because using it..... More

Print this item

  War with deck of cards
Posted by: menator01 - Sep-21-2022, 07:44 PM - Forum: Code sharing - No Replies

My attempt at war with a deck of cards. Not all of the Player attributes are used right now.


..... More

Print this item

  Populating list items to html code and create individualized html code files
Posted by: ChainyDaisy - Sep-21-2022, 07:18 PM - Forum: Web Scraping & Web Development - No Replies

I need to create a bunch of individualized e-mail signatures in html from data collected in an Excel file. I need a separate html/txt file as output f..... More

Print this item

  Why both loops don't work in python?
Posted by: nau - Sep-21-2022, 01:45 PM - Forum: General Coding Help - Replies (3)

Hi,

I have 2 if loops to be executed based on input from user, but only 1 loop works at a time even if the condition satisfices, I had to comment o..... More

Print this item

  I need a mentor
Posted by: classik16 - Sep-21-2022, 01:34 PM - Forum: Bar - Replies (5)

Hello, My name is Frank from Ghana in the west africa, Please I just started learning python today.
Can i get a dedicated mentor i can ask question ..... More

Print this item

  In SQL Server, mix data types.
Posted by: shiv11 - Sep-21-2022, 12:50 PM - Forum: General Coding Help - No Replies

While reading an article of SQL server on wiki thought that, In SQL Server, is it possible to merg..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Two arguments in input fu... 8 hours ago Alfredd noisefloor General Codin...
  Backward compatibility qu... 11 hours ago yutaozhou buran News and Disc...
  [Tkinter] I’m building a ... Yesterday, 19:29 tsgiannis tsgiannis GUI
  [openpyxl] Set the lockin... Yesterday, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... Yesterday, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... Yesterday, 06:07 almahdi mamta25 News and Disc...
  Recommend me a Python boo... 11-06, 08:33 woodward mamta25 Data Science
  Code runs perfectly and j... 11-05, 17:56 compuman145 noisefloor General Codin...
  Natural language processi... 11-05, 14:03 maaaa2401 offsoar Homework
  Can I develop a live vide... 11-05, 08:31 mtrkhan ankitsharma32 Web Scraping ...
  [SOLVED] Linefeed when wr... 11-04, 11:51 Winfried buran General Codin...
Most views
  The best Prog... 578681
  Tutorial Requ... 509088
  Web Scraping ... 441836
  Newbie with P... 385787
  New Users Int... 375041
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+ 12102
buran 8194
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 24
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Cristiano Today
Alfredd Today
clayote Today
yutaozhou Yesterday
EchoFlowar3Dip Yesterday

User Panel Messages

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