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,489
» Latest member: Luis_Rivera
» Forum threads: 38,579
» Forum posts: 174,815

Full Statistics

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

Latest Threads
How can I write formatted...
Forum: General Coding Help
Last Post: hanmen9527
5 hours ago
» Replies: 13
» Views: 28,729
Copy the Contacts (member...
Forum: Web Scraping & Web Development
Last Post: RachelGregory
10 hours ago
» Replies: 2
» Views: 2,996
problems with netcdf if I...
Forum: General Coding Help
Last Post: vytlacfoto
Today, 05:31 AM
» Replies: 17
» Views: 1,406
How to attach images to a...
Forum: Board
Last Post: sethmike9
Yesterday, 04:08 AM
» Replies: 6
» Views: 8,888
How To Attach data Files
Forum: Board
Last Post: sethmike9
Yesterday, 04:05 AM
» Replies: 3
» Views: 4,153
Text frame
Forum: Homework
Last Post: Pedroski55
May-18-2025, 07:39 PM
» Replies: 2
» Views: 398
Python automation: Sendin...
Forum: General Coding Help
Last Post: olips784
May-18-2025, 06:28 PM
» Replies: 0
» Views: 191
class Blockage not projec...
Forum: General Coding Help
Last Post: deanhystad
May-15-2025, 04:32 PM
» Replies: 1
» Views: 304
Import vs from x import
Forum: General Coding Help
Last Post: snippsat
May-15-2025, 04:09 PM
» Replies: 1
» Views: 238
Trouble with Average Calc...
Forum: General Coding Help
Last Post: Pate
May-15-2025, 07:38 AM
» Replies: 4
» Views: 1,417

 
  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: 228)
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: 255)
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: 210)
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
  How can I write formatted... 5 hours ago JohnJSal hanmen9527 General Codin...
  Copy the Contacts (member... 10 hours ago danilobtos RachelGregory Web Scraping ...
  problems with netcdf if I... Today, 05:31 Blaubart vytlacfoto General Codin...
  How to attach images to a... Yesterday, 04:08 CynthiaMoore sethmike9 Board
  How To Attach data Files Yesterday, 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...
  tracking version during r... 05-15, 00:25 Skaperen Skaperen News and Disc...
Most views
  The best Prog... 566076
  Tutorial Requ... 459466
  Web Scraping ... 431010
  Newbie with P... 367819
  Thread remain... 340027
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+ 12050
buran 8169
snippsat 7326
deanhystad 6827
metulburr 5151
Top referrers
Googlepro 22
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
Luis_Rivera Today
hanmen9527 Today
zacharystone Today
DaddyMAN Today
rouzbehrasai1984 Today

User Panel Messages

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