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,536
» Latest member: lilianaortegga
» Forum threads: 38,664
» Forum posts: 175,196

Full Statistics

Online Users
There are currently 21 online users.
» 1 Member(s) | 15 Guest(s)
Baidu, Bing, Yandex, Google, Mojeek, kshahzad1985

Latest Threads
"iBolt Cyber Hacker Recov...
Forum: Bar
Last Post: lilianaortegga
2 hours ago
» Replies: 0
» Views: 12
HIRE DIGITAL FORENSIC EXP...
Forum: Bar
Last Post: Saragonzales
4 hours ago
» Replies: 0
» Views: 20
Custom Sorting List of Di...
Forum: Homework
Last Post: deanhystad
4 hours ago
» Replies: 2
» Views: 174
Unable to define function...
Forum: Homework
Last Post: deanhystad
4 hours ago
» Replies: 1
» Views: 40
RemoTe server operation w...
Forum: General Coding Help
Last Post: snippsat
Yesterday, 10:14 AM
» Replies: 6
» Views: 662
Qt Event Filtering
Forum: GUI
Last Post: deanhystad
Yesterday, 09:36 AM
» Replies: 3
» Views: 158
processing nested json da...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Yesterday, 01:32 AM
» Replies: 1
» Views: 112
Convert .pdf to .txt
Forum: General Coding Help
Last Post: Pedroski55
Jul-13-2025, 11:23 AM
» Replies: 7
» Views: 478
Trouble Importing cell2lo...
Forum: General Coding Help
Last Post: snippsat
Jul-12-2025, 04:00 PM
» Replies: 3
» Views: 269
Why is bool() an instance...
Forum: General Coding Help
Last Post: deanhystad
Jul-12-2025, 02:41 AM
» Replies: 5
» Views: 253

 
  python call stored procedure with two parameter
Posted by: mg24 - Sep-26-2022, 07:22 PM - Forum: General Coding Help - Replies (4)

Hi Team,

How to call below working stored procedure via python.

below stored procedure works in microsoft sql. when run manually.
EXEC dbo.uniq..... More

Print this item

  Problem with my Black Jack game...
Posted by: JengaBenga - Sep-26-2022, 07:06 PM - Forum: Homework - Replies (2)

Hey guys,

I'm new here so I'm not sure, what informations you need, but here you go:

As a school project I want to program Black Jack as a game...... More


Attached Files

.py   BlackJack_2.py (Size: 4.78 KB / Downloads: 285)
Print this item

  Python Tutorial 4.4 Loop Explained
Posted by: rts - Sep-26-2022, 06:38 PM - Forum: General Coding Help - Replies (2)

New to Python and working thru the tutorials.

In the example of "for" loops that determines prime numbers. It uses the "%" to determine if there is..... More

Print this item

  a proxy function for a generator
Posted by: Skaperen - Sep-26-2022, 05:19 PM - Forum: News and Discussions - No Replies

suppose i have a generator named g(). i create a function named f() that when called with keyword argument gen=True will call g(*args,**kwargs) and ..... More

Print this item

  Importing openpyxl
Posted by: azizrasul - Sep-26-2022, 04:24 PM - Forum: General Coding Help - Replies (13)

I have imported openpyxl. However, if I use the following line

import openpyxl
I get the

[python]ModuleNotFoundError: No mo..... More

Print this item

  Trading Bot written in Python for Windows
Posted by: Pizzlew - Sep-26-2022, 03:41 PM - Forum: News and Discussions - Replies (3)

Hello.

Absolutely no knowledge of Python human here:

Background:

Trading robot written in python for windows keep crashing when trying to exe..... More

Print this item

  Issue in Starting Django project with Docker
Posted by: Prabakaran141 - Sep-26-2022, 12:15 PM - Forum: General Coding Help - No Replies

Hello Python Geeks,

Looking for geeks' insight for django-docker related issues. I'm not able to run the command "docker-compose run --rm app sh -c..... More

Print this item

  How to resolve my problem in Pycharm?
Posted by: bshoushtarian - Sep-26-2022, 11:45 AM - Forum: General Coding Help - No Replies

Hi,

I'm using Pycharm to classify images of Clothing based on the following link:

https://colab.research.google.com/github...examples/b..... More

Print this item

  accept command line argument
Posted by: mg24 - Sep-26-2022, 11:34 AM - Forum: General Coding Help - Replies (5)

Hi Team,

how to accept multiple values or a list of values from command prompt. and store into single variable.

folderpath, next list of file ..... More

Print this item

  pickle problem
Posted by: DPaul - Sep-26-2022, 09:22 AM - Forum: General Coding Help - Replies (13)

Hi,
I can write and read pickle files, no problem.
But if I lookup how to merge a pickle file to an existing pickle file, I get somewhat confused,
I f..... More

Print this item

  asyncio not being faster than synchronous calls
Posted by: mikisDW - Sep-26-2022, 07:46 AM - Forum: General Coding Help - No Replies

Hello,

I'm trying to download data from the scopus api via python (https://dev.elsevier.com/documentation/A...alAPI.wadl).
Since we're ta..... More

Print this item

  openpyxl rename sheet acting strange
Posted by: Pedroski55 - Sep-25-2022, 11:30 PM - Forum: General Coding Help - Replies (1)

I have a big sales Excel file. I want to extract data according to a criteria and save it to another Excel

When I make the new Excel, it has 1 shee..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  "iBolt Cyber Hacker Recov... 2 hours ago lilianaortegga lilianaortegga Bar
  HIRE DIGITAL FORENSIC EXP... 4 hours ago Saragonzales Saragonzales Bar
  Custom Sorting List of Di... 4 hours ago aryasinner deanhystad Homework
  Unable to define function... 4 hours ago gmonroe deanhystad Homework
  RemoTe server operation w... Yesterday, 10:14 mario17 snippsat General Codin...
  Qt Event Filtering Yesterday, 09:36 deanhystad deanhystad GUI
  processing nested json da... Yesterday, 01:32 Kumo_Koloo Pedroski55 Web Scraping ...
  Convert .pdf to .txt 07-13, 11:23 vmars316 Pedroski55 General Codin...
  Trouble Importing cell2lo... 07-12, 16:00 haileyp snippsat General Codin...
  Why is bool() an instance... 07-12, 02:41 voidtrance deanhystad General Codin...
  [SOLVED] Why does regex f... 07-11, 23:52 Winfried Pedroski55 General Codin...
Most views
  The best Prog... 572688
  Tutorial Requ... 485720
  Web Scraping ... 437145
  Newbie with P... 380080
  Thread remain... 351375
Most reputation
buran 581
snippsat 507
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+ 12073
buran 8174
snippsat 7352
deanhystad 6857
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
lilianaortegga Yesterday
Saragonzales Yesterday
homerpalmer Yesterday
aihancaiji31 Yesterday
gmonroe Yesterday

User Panel Messages

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