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,495
» Latest member: Thomashibra
» Forum threads: 38,580
» Forum posts: 174,819

Full Statistics

Online Users
There are currently 710 online users.
» 0 Member(s) | 704 Guest(s)
Apple, Yandex, Bing, Google, Internet Archive

Latest Threads
Languages
Forum: General Coding Help
Last Post: Azdaghost
56 minutes ago
» Replies: 0
» Views: 29
Error on import: SyntaxEr...
Forum: General Coding Help
Last Post: Kiongi
Yesterday, 07:49 AM
» Replies: 8
» Views: 21,237
Wish to write a code for ...
Forum: General Coding Help
Last Post: DeaD_EyE
Yesterday, 06:08 AM
» Replies: 3
» Views: 579
How can I write formatted...
Forum: General Coding Help
Last Post: hanmen9527
May-20-2025, 12:26 PM
» Replies: 13
» Views: 28,824
problems with netcdf if I...
Forum: General Coding Help
Last Post: vytlacfoto
May-20-2025, 05:31 AM
» Replies: 17
» Views: 1,526
How to attach images to a...
Forum: Board
Last Post: sethmike9
May-19-2025, 04:08 AM
» Replies: 6
» Views: 8,944
How To Attach data Files
Forum: Board
Last Post: sethmike9
May-19-2025, 04:05 AM
» Replies: 3
» Views: 4,194
Text frame
Forum: Homework
Last Post: Pedroski55
May-18-2025, 07:39 PM
» Replies: 2
» Views: 436
Python automation: Sendin...
Forum: General Coding Help
Last Post: olips784
May-18-2025, 06:28 PM
» Replies: 0
» Views: 230
class Blockage not projec...
Forum: General Coding Help
Last Post: deanhystad
May-15-2025, 04:32 PM
» Replies: 1
» Views: 341

 
  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

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Languages 56 minutes ago Azdaghost Azdaghost General Codin...
  Error on import: SyntaxEr... Yesterday, 07:49 kirkwilliams2049 Kiongi General Codin...
  Wish to write a code for ... Yesterday, 06:08 Hasan2025 DeaD_EyE General Codin...
  How can I write formatted... 05-20, 12:26 JohnJSal hanmen9527 General Codin...
  problems with netcdf if I... 05-20, 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...
Most views
  The best Prog... 566894
  Tutorial Requ... 462867
  Web Scraping ... 431798
  Newbie with P... 369365
  Thread remain... 341484
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+ 12052
buran 8170
snippsat 7326
deanhystad 6827
metulburr 5151
Top referrers
Googlepro 22
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
Thomashibra Today
sumu123 Today
BonnMacanzie Today
kjhlcd4p6g Today
Arush Yesterday

User Panel Messages

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