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,524
» Latest member: lessonanthony
» Forum threads: 38,659
» Forum posts: 175,183

Full Statistics

Online Users
There are currently 358 online users.
» 0 Member(s) | 352 Guest(s)
Baidu, Google, Bing, Yandex, AOL, AOL

Latest Threads
Convert .pdf to .txt
Forum: General Coding Help
Last Post: vmars316
3 hours ago
» Replies: 5
» Views: 299
Trouble Importing cell2lo...
Forum: General Coding Help
Last Post: snippsat
Yesterday, 04:00 PM
» Replies: 3
» Views: 214
Why is bool() an instance...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 02:41 AM
» Replies: 5
» Views: 218
[SOLVED] Why does regex f...
Forum: General Coding Help
Last Post: Pedroski55
Jul-11-2025, 11:52 PM
» Replies: 7
» Views: 3,975
Custom Sorting List of Di...
Forum: Homework
Last Post: Larz60+
Jul-11-2025, 03:34 PM
» Replies: 1
» Views: 136
Coding Standards
Forum: General Coding Help
Last Post: snippsat
Jul-11-2025, 01:12 PM
» Replies: 2
» Views: 214
Make code run faster: poi...
Forum: General Coding Help
Last Post: FrankBuckland
Jul-11-2025, 07:24 AM
» Replies: 3
» Views: 759
Cleaning my code to make ...
Forum: General Coding Help
Last Post: FrankBuckland
Jul-11-2025, 07:20 AM
» Replies: 14
» Views: 4,336
Data cleaning help
Forum: General Coding Help
Last Post: FrankBuckland
Jul-11-2025, 07:18 AM
» Replies: 2
» Views: 2,909
Data cleaning and analysy...
Forum: General Coding Help
Last Post: Pedroski55
Jul-11-2025, 12:13 AM
» Replies: 2
» Views: 240

 
  Plotting Spectogram of a Time domain signal
Posted by: shuchi - Nov-29-2022, 01:50 PM - Forum: Homework - Replies (2)

I have acquired amplitude time series and I am trying to plot the spectogram and do annotation of the signal for different activity in python. Can som..... More


Attached Files

.csv   csi_sitnwalk.csv (Size: 6.02 KB / Downloads: 236)
Print this item

  extract only text strip byte array
Posted by: Pir8Radio - Nov-29-2022, 01:39 PM - Forum: General Coding Help - Replies (7)

first of, awesome forum. you guys have been super helpful to a noob.. without guilting me into "reading the manual" this is how i learn, and glad y..... More

Print this item

Question Python request (post/get)
Posted by: Drunknmonkie - Nov-29-2022, 12:02 PM - Forum: Web Scraping & Web Development - Replies (1)

Is using requests post method the correct way to fill in a search box on a website?

I have been reading the docs and they all seem to suggest using..... More

Print this item

  Extract value from a list
Posted by: thesquid - Nov-29-2022, 12:01 PM - Forum: General Coding Help - Replies (2)

I am using an api from a site called dataforseo and I get this result in python (the code is: print(response) ) :

[python]{'version': '0.1.2..... More

Print this item

  How do I scrape profile information from Twitter People search results?
Posted by: asdad - Nov-29-2022, 10:25 AM - Forum: General Coding Help - No Replies

I am looking to scrape the text in the Location field (if any) from these search results on Twitter: https://twitter.com/search?q=%F0%9F%87%BA%F0%9F%8..... More

Print this item

  help to increment a third list
Posted by: hermine - Nov-29-2022, 10:13 AM - Forum: General Coding Help - Replies (7)

Hi every one!

I'm really a beginner, so I hope this can be easy for you! I have a list named 'array' :
['B', '494', 'C', '495', '504', 'R', '505..... More

Print this item

  Suggestions for coding of multiple commands
Posted by: astroashton - Nov-29-2022, 04:43 AM - Forum: General Coding Help - Replies (3)

Hi, I use a program as a downloader, however I have to enter each URL every time. Can anyone suggest a way to use either a text/bat/SQL code so that w..... More

Print this item

  I dont know why my function won't work?
Posted by: MehHz2526 - Nov-28-2022, 08:52 PM - Forum: General Coding Help - Replies (3)

[python]
purchase = 1
def write():
shop =input("What shop did you shop at?")
sipCard =int(input("What is your sip card?"))
sipCardexi..... More

Print this item

  Learning
Posted by: astral_travel - Nov-28-2022, 08:40 PM - Forum: News and Discussions - Replies (2)

say do you ever feel overwhelmed by the immensity of all that has to be learned in order to achieve your goal ?

Print this item

  Printing a raw string with a folder separator at the end, duplicates the separator
Posted by: krulah - Nov-28-2022, 09:12 AM - Forum: General Coding Help - Replies (5)

There are two acceptable ways to define a path to a directory/folder, with and without the end separator
[python]path_wo_sep = r"c:\temp"
path_w_sep =..... More

Print this item

  Graphs from Jupyter notebook to word
Posted by: Scott - Nov-28-2022, 06:16 AM - Forum: General Coding Help - No Replies

Hi Everyone,

Is there an easier way to get graphs from Jupyter notebook to work? I have several graphs to transfer but when I copy paste the size i..... More

Print this item

  Issue in writing sql data into csv for decimal value to scientific notation
Posted by: mg24 - Nov-28-2022, 05:44 AM - Forum: General Coding Help - Replies (8)

Hi Team,

I am trying to write sql table data into csv.
but facing one issue.

if column has below decimal values, I am not getting same value into cs..... More

Print this item

  convert a list to links
Posted by: Pir8Radio - Nov-27-2022, 11:47 PM - Forum: General Coding Help - Replies (3)

hi I am currently using this javascript and would love to do it natively in python... can someone lend me a hand getting the same result as I do wit..... More

Print this item

  Pyside6
Posted by: Larz60+ - Nov-27-2022, 10:42 PM - Forum: GUI - Replies (7)

I wrote some early Qt code using the designer, and have used tkinter and wxpython almost exclusively since.
I am now in early learning of QT using Py..... More

Print this item

  Hello again, all :)
Posted by: nilamo - Nov-27-2022, 07:07 PM - Forum: News and Discussions - Replies (3)

I've been spending a lot of time with c# over the past couple years, and I'm looking to get back into python for a personal project. But since it's b..... More

Print this item

  platformer enemy animation
Posted by: Yegor123 - Nov-27-2022, 07:05 PM - Forum: Game Development - Replies (2)

Im making a platformer and I wanted to make animated enemies ive been lookin up tutorials on how to do that and It doesnt work here is my code. the co..... More

Print this item

  could somebody tell me how I fix an index error?
Posted by: MehHz2526 - Nov-27-2022, 06:41 PM - Forum: Homework - Replies (3)

[python]
def reciept():
name =input("what is your name?")
sipCard =int(input("What is your sip card"))
twoforone =int(input("How many ..... More

Print this item

Lightbulb shutdown host from docker container
Posted by: cosmin1805 - Nov-27-2022, 06:34 PM - Forum: General Coding Help - No Replies

Hello, I am trying to shutdown and reboot my LINUX devices from a python script that runs in a docker container, this code I was using pre-dockerizin..... More

Print this item

  PANDAS
Posted by: astral_travel - Nov-27-2022, 04:55 PM - Forum: Data Science - Replies (11)

i have used this certain method in my script, dtypes,
for some reason it gives one more column info, even though this column is not visible...(nor exi..... More

Print this item

  Script File Failure-Path Error?
Posted by: jerryf - Nov-27-2022, 04:02 PM - Forum: General Coding Help - Replies (13)

I am new to Python and this forum (but not general programming) and looking for help in understanding how Python Interpreter interacts with PATH and P..... More


Attached Files

.docx   Script File Failure & Python Path Error.docx (Size: 13.45 KB / Downloads: 265)
Print this item

  Inheritance from complex
Posted by: konverner - Nov-27-2022, 03:32 PM - Forum: General Coding Help - Replies (1)

Hello

I want to create a class "Point" that is a child from Python's complex class.

Here is my code

[python]
class Point(complex):
def __init__(s..... More

Print this item

  Can't get a new program to work
Posted by: jpotter0 - Nov-27-2022, 11:26 AM - Forum: General Coding Help - Replies (2)

I am trying to create a small program to test the assign_symmetry function.

I copied the initialization from a working script, but I get a message ..... More

Print this item

  Returning a message when SQL server is unavailable
Posted by: Krissstian - Nov-27-2022, 11:22 AM - Forum: GUI - Replies (2)

I'm using pymysql and I have a login script like the one bellow:
How can I raise a message to user when the sql server is unavailable?

[python]imp..... More

Print this item

  How can set different Jinja2 version for different app?
Posted by: luofeiyu - Nov-27-2022, 06:08 AM - Forum: General Coding Help - Replies (1)

Jinja2 is a templating engine,sphinx need it to work. My sphinx use jinja2 in /usr/lib/python3/dist-packages/jinja2 whose version is 2.11.3.I inst..... More

Print this item

  difficult string conversion need help
Posted by: Pir8Radio - Nov-27-2022, 05:57 AM - Forum: General Coding Help - Replies (3)

difficult for me anyway... I have a long hex little endian string... within this string are 9 sets of 16 characters. this string can vary fro..... More

Print this item

  optimizing calls to isinstance()
Posted by: Skaperen - Nov-27-2022, 01:32 AM - Forum: News and Discussions - No Replies

does CPython optimize calls to isinstance() when argument 2 is a well know class (e.g. a type like int) "literal" or a list or tuple of them?

i am ..... More

Print this item

  my first file won't create itself
Posted by: MehHz2526 - Nov-27-2022, 12:11 AM - Forum: General Coding Help - Replies (2)

[python]
name =input("what is your name?")
sipCard =int(input("What is your sip card"))
twoforone =int(input("How many of the two for one deals wou..... More


Attached Files

.py   file.py (Size: 410 bytes / Downloads: 219)
Print this item

  Help with Logical error processing List of strings
Posted by: dmc8300 - Nov-26-2022, 03:44 PM - Forum: General Coding Help - Replies (3)

This code is to remove one item from a List of "names" until the List is empty using for loop. The program does not complete the List stopping befor..... More

Print this item

  error handler appears to be turned off. How do I turn it back on?
Posted by: jpotter0 - Nov-26-2022, 11:44 AM - Forum: General Coding Help - No Replies

I am using pyaedt to write scripts for ANSYS HFSS. I think my issue is Python related.

I have a code segment that was working but is now not workin..... More

Print this item

  Openpyxl overwrite Linechart
Posted by: SamLiu - Nov-26-2022, 05:44 AM - Forum: General Coding Help - No Replies

Hi All,
Is there any way to overwrite linechart in excel?It get more chart in excel during running *.Py code. Please refer to attachment file.
If h..... More

Print this item

  Listen TCP and send data to websockets
Posted by: neoboby - Nov-25-2022, 11:24 PM - Forum: Networking - Replies (3)

Hello,

I have a trouble to do what i want.

I'm not a Python developper...

I have a software who can provide me somme data, but, this software can ..... More

Print this item

  deleting columns in CSV file
Posted by: astral_travel - Nov-25-2022, 09:53 PM - Forum: General Coding Help - Replies (8)

is there a way, with pandas or otherwise - to specify a range of columns to be deleted without writing the name/header of the columns ? as in pop() an..... More

Print this item

  Zfill Method Parameter Confusion
Posted by: new_coder_231013 - Nov-25-2022, 06:19 PM - Forum: General Coding Help - Replies (3)

Hello,

I was going through a tutorial on Unicode and character encodings in Python and I came across a function that the author presents as a way t..... More

Print this item

  "unexpected keyword arg" when initializing my subclasses
Posted by: Phaze90 - Nov-25-2022, 11:42 AM - Forum: General Coding Help - Replies (3)

Hi,

i get confused when i build my class stuctures. I got 2 questions.

1.
Since all of my classes will use the some base attributes i collecte..... More

Print this item

  Clarity on global variables
Posted by: JonWayn - Nov-25-2022, 10:44 AM - Forum: General Coding Help - Replies (2)

I have some code in which I have global variables which are accessed within functions but only in some cases they are recognized. I read online that t..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Convert .pdf to .txt 3 hours ago vmars316 vmars316 General Codin...
  Trouble Importing cell2lo... Yesterday, 16:00 haileyp snippsat General Codin...
  Why is bool() an instance... Yesterday, 02:41 voidtrance deanhystad General Codin...
  [SOLVED] Why does regex f... 07-11, 23:52 Winfried Pedroski55 General Codin...
  Custom Sorting List of Di... 07-11, 15:34 aryasinner Larz60+ Homework
  Coding Standards 07-11, 13:12 kency snippsat General Codin...
  Make code run faster: poi... 07-11, 07:24 Bennygib FrankBuckland General Codin...
  Cleaning my code to make ... 07-11, 07:20 BSDevo FrankBuckland General Codin...
  Data cleaning help 07-11, 07:18 ClimbAddict FrankBuckland General Codin...
  Data cleaning and analysy... 07-11, 00:13 siriuslight Pedroski55 General Codin...
  Losing mouse acces, Tkint... 07-10, 10:53 MvGulik MvGulik GUI
Most views
  The best Prog... 572629
  Tutorial Requ... 485658
  Web Scraping ... 437096
  Newbie with P... 380020
  Thread remain... 351366
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 7351
deanhystad 6853
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
lessonanthony Today
sitedata Today
natalishtolze9977 Yesterday
zaisaacussd7410 Yesterday
bryanlitleoz8416 Yesterday

User Panel Messages

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