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,990
» Latest member: Safariscampoea
» Forum threads: 38,736
» Forum posts: 175,580

Full Statistics

Online Users
There are currently 44 online users.
» 1 Member(s) | 40 Guest(s)
Bing, Google, AOL, snippsat

Latest Threads
Weird failure in Selenium
Forum: General Coding Help
Last Post: Larz60+
48 minutes ago
» Replies: 1
» Views: 54
print does not open conso...
Forum: General Coding Help
Last Post: Pedroski55
5 hours ago
» Replies: 2
» Views: 90
Fred Economic Data API
Forum: Web Scraping & Web Development
Last Post: Trickety
Yesterday, 03:05 PM
» Replies: 3
» Views: 2,532
create ocr to detect lice...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:58 PM
» Replies: 2
» Views: 98
Parse Markdown / get the ...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:56 PM
» Replies: 6
» Views: 212
Error: cannot mix str wit...
Forum: General Coding Help
Last Post: Joliekeva
Oct-01-2025, 03:05 AM
» Replies: 4
» Views: 2,047
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
Sep-30-2025, 07:43 AM
» Replies: 2
» Views: 462
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Sep-30-2025, 12:21 AM
» Replies: 2
» Views: 1,093
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Sep-29-2025, 05:45 PM
» Replies: 6
» Views: 1,166
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Sep-29-2025, 12:59 PM
» Replies: 8
» Views: 849

 
  Output SQL to csv or xls file?
Posted by: JP_ROMANO - Aug-01-2019, 11:13 PM - Forum: General Coding Help - Replies (4)

Hi,
Have a bit of code that runs a sql query - can't seem to get it to output to a .csv or an .xlsx file. Any help is appreciated

The window has ..... More

Print this item

  How do I create a actor if I subscribe to a specific topic?
Posted by: sdf1444 - Aug-01-2019, 09:29 PM - Forum: General Coding Help - No Replies

Hi

I have some code which includes publish/subscribe and actors. The generic_device class allows me to create other actors. I was wondering how do..... More

Print this item

  Count elements in a list only if they are following each other and are similar
Posted by: law - Aug-01-2019, 09:13 PM - Forum: General Coding Help - Replies (10)

Hello friends, i have this code which counts number of apple in the fruit list, it returns 6 which is correct.
How can i tell python to count a fruit..... More

Print this item

  Scrap text out of td table from URLS
Posted by: Gochix2020 - Aug-01-2019, 08:41 PM - Forum: Web Scraping & Web Development - Replies (4)

Hi guys. Can anyone can help with this simple thing?
I would like to scrape out some text from Urls in python script.
There is tables in urls which ..... More

Print this item

  Need Help With Filtering Data For Excel Files Using Pandas
Posted by: eddywinch82 - Aug-01-2019, 07:48 PM - Forum: Data Science - Replies (9)

Hi There,

I am trying to filter Data, for Excel Files in Pandas. Based on the Column Value i.e. String Value.

I managed to get, some data displa..... More

Print this item

  Not quite getting the correct Output from a function
Posted by: twinpiques - Aug-01-2019, 05:56 PM - Forum: General Coding Help - Replies (3)

Hello.

I have a function that I'm trying to create.
When receiving a non-empty string input, I want to return a string containing every other chara..... More

Print this item

  OS module and file/directory recovery
Posted by: hikerguy62 - Aug-01-2019, 05:49 PM - Forum: General Coding Help - Replies (1)

I just came across the Python os module and have been tinkering with it. From what I've seen, it's pretty unforgiving when it comes to deleting folder..... More

Print this item

  WHich is a good site/tutorial to learn Python for beginners?
Posted by: deepakdeshp - Aug-01-2019, 05:46 PM - Forum: News and Discussions - Replies (7)

Hello,
Can you please suggest good site for learning Python ? Which should one opt to learn? Python V 2.7 or 3.7?
Thanks for any replies.

Print this item

  how to specify options or tickle python to output points swept by the optimization?
Posted by: bsmile - Aug-01-2019, 05:10 PM - Forum: General Coding Help - Replies (3)

I need the list of points (x,y) python uses to reach the minimum. But the best I can find at the moment is to output the x coordinates of the list of ..... More

Print this item

  How publish CSV to HTML
Posted by: SriMekala - Aug-01-2019, 03:15 PM - Forum: Data Science - Replies (5)

Hi,
I use below code to come out a csv file with hyperlinks in each cell. I want to publish this as it is into HTML. Can someone please suggest if th..... More

Print this item

  Get system info from PI (cpu load and temp)
Posted by: korenron - Aug-01-2019, 02:12 PM - Forum: General Coding Help - Replies (2)

Hello ,
wanted to know
how can I read the cpu temperture and load of the pi once every 5 seconds ?

Thanks ,

Print this item

  Dictionaries help
Posted by: Rayaan - Aug-01-2019, 01:37 PM - Forum: General Coding Help - Replies (5)

My code gives me back all the names in the dictionary when I want it to only give back the name that corresponds with the pin. Any reason why and how ..... More

Print this item

  Multithreading alternative
Posted by: MartinV279 - Aug-01-2019, 12:38 PM - Forum: General Coding Help - Replies (1)

Inside my project I have a loop of 13 iterations which includes some feature matching. The code needs to run real time, and the only way to achieve th..... More

Print this item

  Using pygame with pycharm.
Posted by: kevindadmun - Aug-01-2019, 12:19 PM - Forum: Game Development - Replies (4)

So i got using pygame with python. So i tried using pycharm. When i tried to import pygame i get this. Unused import statement. The funny thing is i t..... More

Print this item

  Flash an old tablet with a new android?
Posted by: metulburr - Aug-01-2019, 12:10 PM - Forum: Bar - Replies (4)

Is it possible to flash such as older tablet with a newer android?
ASUS Model: ME302C
Android 4.3
Kernel: 3.4.43
..... More

Print this item

  Group files according to first few characters in filename
Posted by: python_newbie09 - Aug-01-2019, 10:36 AM - Forum: General Coding Help - Replies (7)

I used the script below that worked for one set of files that had the same name in different folders but for this second set of files, it only shares ..... More

Print this item

  AttributeError: 'area' object has no attribute 'areaofcircle'
Posted by: shane1236 - Aug-01-2019, 09:49 AM - Forum: General Coding Help - Replies (5)

Hello everyone,

I'm facing trouble in the following code, can somebody help me.I am new here even I don't know how to post my code sorry about that. ..... More

Print this item

  Not understand the difference and there uses
Posted by: Eugene_G - Aug-01-2019, 09:46 AM - Forum: General Coding Help - Replies (4)

Hi All

Just need help understand the difference between using the below 2 syntax.

Input: not 1 == 1
Output: False

Input: [b]..... More

Print this item

  Template for new Python projects - start your project the right way
Posted by: SourceryNick - Aug-01-2019, 08:39 AM - Forum: Tutorial Requests and Submissions - Replies (2)

The tutorial goes through how to set up a new Python project with everything you need to keep the code consistent and high quality:

https://sourcer..... More

Print this item

  Add column to numpy matrix
Posted by: Gigux - Aug-01-2019, 07:45 AM - Forum: Data Science - Replies (1)

Dear all,
I am trying to add a column to a numpy matrix. I can make a running example as follows:

[python]import numpy as np
X = np.random.unifor..... More

Print this item

  Os.startfile in Windows.
Posted by: Gribouillis - Aug-01-2019, 07:35 AM - Forum: General Coding Help - Replies (12)

I'd like to test this but I don't have a windows computer at home (the first thing I do when I purchase a new computer is erase the Windows OS), so ca..... More

Print this item

  understanding output of bytes/raw data
Posted by: rootVIII - Aug-01-2019, 03:51 AM - Forum: General Coding Help - Replies (3)

I can see that the output of this has some interesting info... such as Created With Gimp Big Grin How can I extract useful information out of s[6]..... More

Print this item

  multiple schedules?
Posted by: Stan2292 - Aug-01-2019, 02:15 AM - Forum: General Coding Help - Replies (1)

# OP is a python noob trying to streamline some performance monitoring work so he doesn't have to hire more people to do that
# Python 3.7

i'm hav..... More

Print this item

  Ctrl-b 09
Posted by: sunabe_97 - Aug-01-2019, 01:19 AM - Forum: General Coding Help - No Replies

I'm trying to send a command ^B09 to a device with python's telnetlib.

Logging directly into the device with putty and issuing the commands work f..... More

Print this item

  PyYAML
Posted by: millpond - Aug-01-2019, 12:52 AM - Forum: General Coding Help - Replies (2)

I am having a devil of a time with PyYAML. Any package with a dependency to it tries to compile it, and always fails from cython. There have apparentl..... More

Print this item

  multi-line messages in raised exceptions?
Posted by: Skaperen - Aug-01-2019, 12:16 AM - Forum: General Coding Help - Replies (3)

many of my functions accept many keyword arguments like:

def callme(*args,**opts):
    ...
they then have code to pop off the known k..... More

Print this item

  want better option name for a conversion function
Posted by: Skaperen - Jul-31-2019, 09:59 PM - Forum: News and Discussions - Replies (2)

i have a function that converts ints to strings, given the int value, the sequence of digits to convert with, the minimum width of the result, the pre..... More

Print this item

  Formatting Output After Web Scraping
Posted by: yoitspython - Jul-31-2019, 08:53 PM - Forum: Web Scraping & Web Development - Replies (3)

Hi (again, I'm redoing my previous post with more detail),

I am currently web scraping a site using START DATE 07/01/2019 and [b]END DATE[/b..... More

Print this item

  Speech Recognition
Posted by: samyalayse - Jul-31-2019, 07:54 PM - Forum: News and Discussions - No Replies

Is there some way to enter my own recognizer at SpeechRecognition 3.8.1? I don't wanna Sphinx, neither Google's.

Print this item

  Finding Scripts for Python
Posted by: Johnny1998 - Jul-31-2019, 07:43 PM - Forum: News and Discussions - Replies (1)

I've been taking a beginner-friendly Python Course via the Web, and In one of the steps the Instructor finds the Python Scripts?
Anyway, Here's a pic..... More

Print this item

  ValueError: The truth value of a Series is ambiguous ?
Posted by: firebird - Jul-31-2019, 05:54 PM - Forum: Data Science - Replies (1)

Hello Everyone!
I have a UDF that outputs a list of stocks and their open and current prices in a dictionary format. That output is then sent to anot..... More

Print this item

  explanation of code
Posted by: hikerguy62 - Jul-31-2019, 05:50 PM - Forum: General Coding Help - Replies (2)

The below snippets were taken from the website for xlswriter. I don't understand what the
first snippet is doing (the part that starts with [color=#3..... More

Print this item

  Soft Access Point & Socket Data Streaming
Posted by: groger57 - Jul-31-2019, 05:05 PM - Forum: Networking - Replies (1)

Hello:
I am new to this forum. I am having an issue trying to figure out how to do something seemingly simple, but spinning the wheels. I have search..... More

Print this item

  how to add user input to a dictionary to a graph
Posted by: KINGLEBRON - Jul-31-2019, 03:38 PM - Forum: Homework - Replies (3)

[align=left]i trying to build a a graph from an api of weather website. i want the user will input 3 cities that i would like to know and then make a ..... More

Print this item

  Jupyter throw error
Posted by: aritra19 - Jul-31-2019, 02:50 PM - Forum: General Coding Help - No Replies

I am working on 2 projects.

1. https://github.com/rddy/deepassist

Dependencies:

Tensorflow 1.3.0
Baselines 0.1.4
Gym 0.9.1
Box2D 2.3.2
bo..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Weird failure in Selenium 48 minutes ago glestwid Larz60+ General Codin...
  print does not open conso... 5 hours ago Tycho_2025 Pedroski55 General Codin...
  Fred Economic Data API Yesterday, 15:05 warrior42 Trickety Web Scraping ...
  create ocr to detect lice... Yesterday, 13:58 bimosora noisefloor General Codin...
  Parse Markdown / get the ... Yesterday, 13:56 SpongeB0B noisefloor General Codin...
  Error: cannot mix str wit... 10-01, 03:05 ngregistrations Joliekeva General Codin...
  Integer Factorization Too... 09-30, 07:43 fosuwxb buran Code sharing
  My goal to be hired worki... 09-30, 00:21 GnomeSweetGnome GnomeSweetGnome News and Disc...
  Unable to resolve FileNot... 09-29, 17:45 llarkin6 noisefloor General Codin...
  Comparing 2 100GB Drives/... 09-29, 12:59 tester_V snippsat General Codin...
  Select Python comment (#)... 09-28, 18:39 SpongeB0B tester_V General Codin...
Most views
  The best Prog... 577475
  Tutorial Requ... 501313
  Web Scraping ... 441103
  Newbie with P... 385163
  New Users Int... 369891
Most reputation
buran 581
snippsat 508
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+ 12093
buran 8178
snippsat 7371
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Safariscampoea Today
DataAnalytics021 Today
markwood955 Yesterday
DerekGeel Yesterday
Tycho_2025 Yesterday

User Panel Messages

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